View unanswered posts | View active topics It is currently Wed Sep 27, 2023 12:22 am

Reply to topic  [ 4 posts ] 
 XML Dump 
Author Message
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post XML Dump
Huh, i never knew that existed. when you press $ at the TWGS menu. you get a XML dump of all games and game data on the server. its kind of slow spitting it all out. but convenient for a bot to look for games and settings on servers like micro blasters site.

version 2 of course.

Tue Nov 12, 2013 2:25 am
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: XML Dump
Unfortunately, the values in the tags are just copied verbatim from the '*' game settings list. They still contain units and stuff, so you still have to do some parsing if you want a numeric value. You don't actually gain much over just parsing the '*' list. I doubt any helpers are actually using the '$' data, so there's still opportunity for improvement.

Suddenly you're Busted!

Tue Nov 12, 2013 12:44 pm
Profile WWW
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post Re: XML Dump
thats true. good point. i was surprised when it happened though lol

* is faster anyway.

Tue Nov 12, 2013 8:51 pm
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2557
Location: Oklahoma City, OK 73170 US
Unread post Re: XML Dump
Microbot uses this data, but from the main menu. Pressing $ at the main menu will dump XML data for all games on a server.

There is a longer delay if the server hasn't updated this data within the last hour and has to regenerate it.


TWGS2.20b/TW3.34: telnet://

ICQ is Dead Jim! Join us on Discord:

Wed Nov 13, 2013 9:22 pm
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.