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

XML game stats suggestion
http://classictw.com/viewtopic.php?f=58&t=33212
Page 1 of 1

Author:  Mongoose [ Sun May 13, 2012 12:30 am ]
Post subject:  XML game stats suggestion

The XML game stats contains a lot of elements like this:

Quote:
<EtherProbe>3,000 cr</EtherProbe>


That still requires some parsing to get an integer value. Would it be possible to get rid of cruft like the thousands separator and the "cr"? Then the XML could be associated with a schema that would specify the type of each element. There could be another secret menu item that would output the latest schema.

Since the XML game stats is a relatively new feature, I'm hoping no helpers or scripts are using it yet and it can be freely improved upon...

Author:  Micro [ Tue May 22, 2012 9:52 am ]
Post subject:  Re: XML game stats suggestion

Microbot parses this XML, but such a change would not break anything.

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