Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Renegade Client » Results files format issues
Results files format issues [message #100495] Thu, 08 July 2004 16:11 Go to next message
Hellweed is currently offline  Hellweed
Messages: 67
Registered: February 2003
Karma: 0
Recruit
After installing BRenBot and WOLSpy, RenStat kept getting errors, so I was going to build my own stats program, but then I noticed a change in the results##.txt files format.

Beofre/normal:
http://www.ozclan.com/results11.txt

After:
http://www.ozclan.com/results12.txt

Is this the results file bug? Or this something different?


http://www.ozclan.com/forums/images/smiles/cig.gif
http://www.ozclan.com/images/ozbutton.jpg
Results files format issues [message #101496] Wed, 14 July 2004 19:08 Go to previous message
Hellweed is currently offline  Hellweed
Messages: 67
Registered: February 2003
Karma: 0
Recruit
Well, this fix turns out to be very easy, if youre designing your own Renegade Stats system. In the file with the bug, the only field that is not a static size is Player. Find the length of the string, minus the length of the static fields and you get the length of the Player.
varLenght = Len(strSring) - 59
strPlayer = Trim((Mid(strSring, 6, varLenght)))

Edit: WOL and GSA modes output different file formats, but this method will work for formated files or the "bug" file formats.


http://www.ozclan.com/forums/images/smiles/cig.gif
http://www.ozclan.com/images/ozbutton.jpg
Previous Topic: Renegade crash + weird sounds
Next Topic: i can't join some listed server
Goto Forum:
  


Current Time: Fri Nov 22 21:51:23 MST 2024

Total time taken to generate the page: 0.00583 seconds