|
Register •
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Author |
Message |
Tweety
Boo! inc.
Joined: Fri Jan 04, 2002 3:00 am Posts: 221 Location: Canada
|
 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 |
|
 |
Mongoose
Commander
Joined: Mon Oct 29, 2001 3:00 am Posts: 1096 Location: Tucson, AZ
|
 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 |
|
 |
Tweety
Boo! inc.
Joined: Fri Jan 04, 2002 3:00 am Posts: 221 Location: Canada
|
 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 |
|
 |
Micro
Ambassador
Joined: Wed Apr 20, 2011 1:19 pm Posts: 2557 Location: Oklahoma City, OK 73170 US
|
 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
ICQ is Dead Jim! Join us on Discord: https://discord.gg/zvEbArscMN
|
Wed Nov 13, 2013 9:22 pm |
|
 |
|
|
Page 1 of 1
|
[ 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
|
|