View unanswered posts | View active topics It is currently Fri Mar 29, 2024 12:44 am

Forum rules


This is not an area to debate the pros and cons of proposed features. It is an area for people to suggest new features for either TW or TWGS. I will either add the proposed feature to my planned features list, or explain my reasons for passing on the feature at this time. Features added to the list can be voted on so I can gauge people's interest.



Reply to topic  [ 2 posts ] 
 XML game stats suggestion 
Author Message
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post 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...

_________________
Suddenly you're Busted!


Sun May 13, 2012 12:30 am
Profile WWW
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: XML game stats suggestion
Microbot parses this XML, but such a change would not break anything.

_________________
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


Tue May 22, 2012 9:52 am
Profile ICQ YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 9 guests


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.