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
Result File Help
-
shorty97
- Crushed Dissenter
- Posts: 90
- Joined: Wed Mar 09, 2011 8:30 am
- Team: Privateer
-
Servatis
- Posts: 1103
- Joined: Tue Aug 18, 2009 5:10 pm
- Location: The Netherlands
Re: Result File Help
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.
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.
MXS Garage 0.9 download here
---
Everytime you post something, a stupid baby gets punched in the face. Please post, for the smart children.
MXS Cares
---
Everytime you post something, a stupid baby gets punched in the face. Please post, for the smart children.
MXS Cares
-
jlv
- Site Admin
- Posts: 15334
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: Result File Help
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.
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.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
shorty97
- Crushed Dissenter
- Posts: 90
- Joined: Wed Mar 09, 2011 8:30 am
- Team: Privateer
Re: Result File Help
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
like: Shorty97
1: 0.57 seconds
or best lap

-
jlv
- Site Admin
- Posts: 15334
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: Result File Help
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.
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.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
jlv
- Site Admin
- Posts: 15334
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: Result File Help
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.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.