2008-12-03 snapshot

Post anything about MX Simulator here. Please. I'm begging you.
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

2008-12-03 snapshot

Post by jlv »

Changes:
- New command line option: --hidden-hud
- Race timing info now saved in results.txt after race.

Windows users: http://mxsimulator.com/snapshots/mx-2008-12-03.exe
Linux users: http://mxsimulator.com/snapshots/mxbin-2008-12-03

Replace mx.exe or mxbin with one of the above files. I'd keep a backup of the originals since these aren't well tested.

You will also need to put this file in your install folder:
http://mxsimulator.com/zzzx.saf
(This hasn't changed since the 2008-11-26 version.)

I've also written a python script to parse results.txt and output a lap chart. You can get that here:
http://mxsimulator.com/scripts/lapchart.py
yomo
Posts: 1930
Joined: Tue Apr 22, 2008 10:00 am

Re: 2008-12-03 snapshot

Post by yomo »

wow another update... awesome job JLV.
1 thing... today is the 4th of december not the 3rd. Anyway it is here in aus
Image
gordy
Posts: 1099
Joined: Sat Jan 19, 2008 6:43 am
Team: Privateer
Location: Bathurst, Australia

Re: 2008-12-03 snapshot

Post by gordy »

yeah but we are only just east of the international date line, and they are only just to the west, so we are like 14 hours ahead of their east coast

damn you are pumping out these updates lately jlv, you are a coding machine.
keep up the awesome work, its well appreciated
Image
instupitious.
yomo
Posts: 1930
Joined: Tue Apr 22, 2008 10:00 am

Re: 2008-12-03 snapshot

Post by yomo »

I thought USA was 12 hours behind... so like 1:30 in the morning... obviously not. Anyway doesn't matter just an awesome job by JLV
Image
Phathry25
Posts: 7481
Joined: Sat Dec 01, 2007 1:09 am
Team: No Frills Racing
Location: WI
Contact:

Re: 2008-12-03 snapshot

Post by Phathry25 »

THANK YOU!!!! We can call this the Phathry25 update, lol.

Whats the format of the date in the results.txt? date=1228360550 Seems like jibberish to me. Local time was 9:16ish on 12/3/2008.
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2008-12-03 snapshot

Post by jlv »

It's the number of seconds since 00:00:00 UTC, January 1, 1970.
yomo
Posts: 1930
Joined: Tue Apr 22, 2008 10:00 am

Re: 2008-12-03 snapshot

Post by yomo »

jlv wrote:It's the number of seconds since 00:00:00 UTC, January 1, 1970.
The worlds new dating system ahaha
Image
frederick
Posts: 2424
Joined: Fri Mar 21, 2008 5:05 pm
Team: Adept
Location: Sweden

Re: 2008-12-03 snapshot

Post by frederick »

I just did a muck around with a bot @ rostarn
JLV can you explain what the numbers below "6" means?

Time=0.00|Laps=1|Track=Rostarn MX|Date=1228401491
No. | Bike | Laps | Total Time | BLap | Best Time
11 | cr125 | 1 | 0:36.476 | 0 | 0:00.000
68 | kx250f | 1 | 2:20.804 | 0 | 0:00.000

6
-1.570 10.695 16.602 28.297 32.641 36.477

6
19.961 55.211 95.172 119.266 136.445 140.805
Image
Jack 984
Posts: 936
Joined: Mon Oct 27, 2008 5:29 pm
Team: Privateer
Location: St.Louis, MO

Re: 2008-12-03 snapshot

Post by Jack 984 »

Sorry if this is a noob question, but where is the option to disable the HUD?
Image
Kawasakis
Posts: 6583
Joined: Sun Mar 16, 2008 5:32 pm
Contact:

Re: 2008-12-03 snapshot

Post by Kawasakis »

Press right mouse button on mx sim shortcut and fill this --hidden-hud after mx.exe or something.. then save and try go to game
MXS Cup Winner
AX MX2 Champion

Image
Image
ddmx
Posts: 5374
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: 2008-12-03 snapshot

Post by ddmx »

How would we execute that code for the python script? Here is what I have. I'm not sure if it's supposed to output it to a txt file or like an excel file or what.

Code: Select all

cd C:\Users\Davey\Documents\Mx Simulator\results.py
python results.py results.txt results.txt
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2008-12-03 snapshot

Post by DJ99X »

frederick wrote:I just did a muck around with a bot @ rostarn
JLV can you explain what the numbers below "6" means?

Time=0.00|Laps=1|Track=Rostarn MX|Date=1228401491
No. | Bike | Laps | Total Time | BLap | Best Time
11 | cr125 | 1 | 0:36.476 | 0 | 0:00.000
68 | kx250f | 1 | 2:20.804 | 0 | 0:00.000

6
-1.570 10.695 16.602 28.297 32.641 36.477

6
19.961 55.211 95.172 119.266 136.445 140.805
6 is the number of timing gates the rider went through
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2008-12-03 snapshot

Post by jlv »

ddmx488 wrote:How would we execute that code for the python script? Here is what I have. I'm not sure if it's supposed to output it to a txt file or like an excel file or what.

Code: Select all

cd C:\Users\Davey\Documents\Mx Simulator\results.py
python results.py results.txt results.txt
The output is printed to the standard output which defaults to the console . To save it to a file redirect the console output like this (note the > symbol):

python lapchart.py results.txt >lapchart.txt
frederick wrote:I just did a muck around with a bot @ rostarn
JLV can you explain what the numbers below "6" means?
6 is the number of gates passed and it's followed by the times when the gates were hit. A time of -1 means the gate was bypassed.
ddmx
Posts: 5374
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: 2008-12-03 snapshot

Post by ddmx »

Thank you so much jlv, that is simply amazing how that works. I'm easily amused also. This is gonna be so cool to look at after a race is done.
Rallemx
Posts: 1136
Joined: Fri Nov 21, 2008 2:00 pm

Re: 2008-12-03 snapshot

Post by Rallemx »

Probably the most retarded question ever.. :(
but, whats HUD? :D
Image
Post Reply