View unanswered posts | View active topics It is currently Thu Aug 17, 2017 3:11 am



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

Joined: Fri Jan 04, 2002 3:00 am
Posts: 218
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
Profile
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1094
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: 218
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
Profile
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 1840
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.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002
TeamSpeak3: ts.microblaster.net:9987

"The goal is to turn data into information, and information into insight.”


Wed Nov 13, 2013 9:22 pm
Profile ICQ YIM WWW
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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.