mxserver-2009-05-08

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

Re: mxserver-2009-05-08

Post by jlv »

cd changes the current working directory. Microsoft's documentation is here

Your gateway IP will only work for computers outside your lan. If you're playing on the server, you can use "localhost" or "127.0.0.1" to connect. If you're on another computer on the same lan, you'll have to use your lan address to connect.
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.
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: mxserver-2009-05-08

Post by yzmxer608 »

That worked, thanks!!! I'll post the server details when I get the final details finished. Thanks again jlv!!!
Edit: Ok I found another problem :( . When I go start a normal race in single player and type "savetrackinfo" it says I'm not connected to the server, even though the server is running. Am I doing this wrong?
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: mxserver-2009-05-08

Post by jlv »

It's "/savetrackinfo".
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.
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: mxserver-2009-05-08

Post by yzmxer608 »

Oh, it works now. I can't believe I screwed even that up haha. Thanks again!

Edit: I have the server up and running, and I can get in using 127.0.0.1 but no one else can get in using my Default Gateway ip (192.168.1.254) with and without the :19800. I'm not sure why this is happening, nothing can be wrong with the args file since the server is actually running and I can get in. Both the mx.exe and mxserver.exe are allowed past my firewall. Is it just because I'm using DSL (650 kb/s) internet on a normal computer?

Edit2: I figured it out, in my portforward settings I looked at the details for all of the ports I have forwarded and all of them have a public ip of 99.137.222.211, I tried that as an ip and it connected :shock: . That ip is not stated in ipconfig at all! Weird stuff, but at least it works now.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
matias
Posts: 169
Joined: Mon Dec 24, 2007 6:16 pm
Team: Privateer
Location: argentina
Contact:

Re: mxserver-2009-05-08

Post by matias »

question, if i havent got internet connection , i can still playing on my LAN server?
Image
Phathry25 wrote: everyone has to start somewhere and if theres no available templates they have three options, ripping, kissing your ass, or making their own template.
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: mxserver-2009-05-08

Post by jlv »

No, the server has to be able to contact the key server.
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.
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: mxserver-2009-05-08

Post by DJ99X »

Any chance for an online server page? Editing the thread everytime you open or close a server is just annoying.

Also, when can we get our hands on that results uploading script? :P

Cheers
jlv
Site Admin
Posts: 14931
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: mxserver-2009-05-08

Post by jlv »

You can upload them to my page (http://mxsimulator.com/serverstatus.html) using this for --results-cmd:

curl -s -F name=elsinore.mxsimulator.com -F password=xxxxxx -F results=<results.txt http://mxsimulator.com/uploadresults.php

Use your IP instead of elsinore.mxsimulator.com and make up a password for yourself. The first time you upload it will set the password, after that you have to keep using the same one. You'll need to get curl too.

I'll have some nicer scripts soon.
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.
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: mxserver-2009-05-08

Post by DJ99X »

Rightio, I have the line

Code: Select all

--results-cmd curl -s -F name=60.240.2.139 -F password=formetoknow -F results=<results.txt http://mxsimulator.com/uploadresults.php
in my args file, and have curl.exe in the same folder as everything else. The server doesn't stay open. Can you see my fault?

EDIT: OK, I put everything from 'curl' onwards from that above line, into a bat file, and it seemed to work. But your page displays this:
"undefined, TypeError: raceinfo.laps is undefined "

and my server console has this
curl -s -F password=formetoknow -F results= http://mxsimulator.com/uploadresults.php 0<results.txt

then your php script. How very odd.

Looked at some info at the curl website, and I'm pretty sure everything is written correctly

EDIT 2: using " fixed it. ie

Code: Select all

curl -s -F "name=60.240.2.139" -F "password=formetoknow" -F "results=<results.txt" http://mxsimulator.com/uploadresults.php
Cheers
MXF_Popopski
Posts: 104
Joined: Sat Dec 15, 2007 12:34 am
Team: Privateer
Location: FRANCE
Contact:

Re: mxserver-2009-05-08

Post by MXF_Popopski »

hi DJ ,
I put everything from 'curl' onwards from that above line, into a bat file, and it seemed to work.
Can you tell me what you wrote in a bat file pleas ?
MXF Online Championship here =>http://www.mxforum.be/index.php?showforum=80
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: mxserver-2009-05-08

Post by DJ99X »

OK, here is what you do.

1. Download Curl from here. Place curl.exe in the same folder as mxserver.exe
2. Add --results-cmd resultsupload.bat to your server args list. Bat file can be called anything you like
3. Make a bat file with the following line

Code: Select all

curl -s -F "name=your.ip.address:and_port" -F "password=xxxxx" -F "results=<results.txt" http://mxsimulator.com/uploadresults.php
Save the bat file into the same folder as mxserver.exe

Thats about it :P
MXF_Popopski
Posts: 104
Joined: Sat Dec 15, 2007 12:34 am
Team: Privateer
Location: FRANCE
Contact:

Re: mxserver-2009-05-08

Post by MXF_Popopski »

thx my server run but after the race a probleme is here :

In my game :
Image

In my folder :
Image
MXF Online Championship here =>http://www.mxforum.be/index.php?showforum=80
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: mxserver-2009-05-08

Post by DJ99X »

Are you running 64 bit windows?

Also, could you please get that error converted to english?
MXF_Popopski
Posts: 104
Joined: Sat Dec 15, 2007 12:34 am
Team: Privateer
Location: FRANCE
Contact:

Re: mxserver-2009-05-08

Post by MXF_Popopski »

My windows running 32 bit.

My error is : "the procedure entry point HMAC_cleanup is not found in the dynamic link library libeay32.dll" (with transletor google)

EDIT : My error is fixed ! (my libeay32.dll was disabled) I download [http://curl.haxx.se/download/openssl-0. ... 32-bin.zip] and the "libeay32.dll" and "libssl32.dll" are available !

Thx DJ
MXF Online Championship here =>http://www.mxforum.be/index.php?showforum=80
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: mxserver-2009-05-08

Post by yzmxer608 »

Does that results page hook in with knarf's site?
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
Post Reply