Page 5 of 16

Re: mxserver-2009-05-08

Posted: Sat May 23, 2009 8:50 pm
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.

Re: mxserver-2009-05-08

Posted: Sat May 23, 2009 9:33 pm
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?

Re: mxserver-2009-05-08

Posted: Sat May 23, 2009 10:28 pm
by jlv
It's "/savetrackinfo".

Re: mxserver-2009-05-08

Posted: Sat May 23, 2009 10:35 pm
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.

Re: mxserver-2009-05-08

Posted: Sun May 24, 2009 9:34 pm
by matias
question, if i havent got internet connection , i can still playing on my LAN server?

Re: mxserver-2009-05-08

Posted: Sun May 24, 2009 9:36 pm
by jlv
No, the server has to be able to contact the key server.

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 12:33 am
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

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 3:43 am
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.

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 6:41 am
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

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 12:55 pm
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 ?

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 1:01 pm
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

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 1:54 pm
by MXF_Popopski
thx my server run but after the race a probleme is here :

In my game :
Image

In my folder :
Image

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 2:00 pm
by DJ99X
Are you running 64 bit windows?

Also, could you please get that error converted to english?

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 5:32 pm
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

Re: mxserver-2009-05-08

Posted: Mon Jun 01, 2009 10:28 pm
by yzmxer608
Does that results page hook in with knarf's site?