View unanswered posts | View active topics It is currently Sat Sep 23, 2023 11:30 pm

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
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:

<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
User avatar

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


TWGS2.20b/TW3.34: telnet://

ICQ is Dead Jim! Join us on Discord:

Tue May 22, 2012 9:52 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.