www.ClassicTW.com
http://classictw.com/

XML Dump
http://classictw.com/viewtopic.php?f=43&t=34166
Page 1 of 1

Author:  Tweety [ Tue Nov 12, 2013 2:25 am ]
Post subject:  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.

Author:  Mongoose [ Tue Nov 12, 2013 12:44 pm ]
Post subject:  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.

Author:  Tweety [ Tue Nov 12, 2013 8:51 pm ]
Post subject:  Re: XML Dump

thats true. good point. i was surprised when it happened though lol

* is faster anyway.

Author:  Micro [ Wed Nov 13, 2013 9:22 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/