Page 1 of 1

Result File Help

Posted: Mon Mar 14, 2011 12:52 am
by shorty97
can somebody help me the the result file i find the times but how do i change these into proper times and which time is which
Help Please

Re: Result File Help

Posted: Mon Mar 14, 2011 8:43 am
by Servatis
i'm assuming you mean the part that looks like this "13 4 3261"?
that is "spot timingGate time(ms)"
Spot:"i'm not sure if it's called spot. but every rider is assigned a number when they enter the server.
these numbers should be listed at the top of the text file.
timingGate: this is the number of the gates the rider went through, contineus through laps (doesn't reset).
time: this is the time, after the start, in miliseconds that the rider went through the gate.

there are also numbers for number of gates on the first lap and number of gates on a normal lap.
with that information you can get just about anything.
every rider that goes through a gate is put on the results.

Re: Result File Help

Posted: Tue Mar 15, 2011 12:07 am
by jlv
Try downloading this: http://mxsimulator.com/racestats.js

And then run it in the console like this:

racestats.js <serverresults.txt

I run it under Spidermonkey on Linux and haven't tested it on Windows Script host so YMMV.

Re: Result File Help

Posted: Wed Mar 16, 2011 6:21 am
by shorty97
i run it and it just opens and closes i need something that sorts the times for me
like: Shorty97
1: 0.57 seconds
or best lap

Re: Result File Help

Posted: Wed Mar 16, 2011 10:45 pm
by jlv
You can't just double click it. You have to start a command prompt and run it from there so you can see the output. More info on the command prompt here -

http://windows.microsoft.com/en-US/wind ... -questions

I'm not sure if the script is compatible with Windows Script Host. I'll try to remember to test it the next time I boot Windows.

Re: Result File Help

Posted: Fri Mar 18, 2011 12:35 am
by jlv
I tried to run the results parser under WIndows Script Host last night and ran into some problems. If you want to run it you'll need to use js.exe from SpiderMonkey for now.