I've got a virtual server, identical to Mx Sim Pits but Idk how to get track info files on it to play non-stock tracks. Im pretty dumb when it cones to this too, so a walk-through would be great if someone knows how to do this.
Also, how do I put scripts on said server?
Thanks!
VPS questions
-
Stormz
- Posts: 2015
- Joined: Wed May 12, 2010 7:52 pm
- Location: US of A
- Contact:
-
rewrew421
- Posts: 1421
- Joined: Thu Dec 13, 2007 12:41 am
- Team: Privateer
- Location: West Kentucky, USA
-
Phathry25
- Posts: 7481
- Joined: Sat Dec 01, 2007 1:09 am
- Team: No Frills Racing
- Location: WI
- Contact:
Re: VPS questions
The scripts go in the same folder as the server's executable file.
Search the forums for wheels' server args builder program. That's the easiest way to set one up. Else just read YZed's server tutorial...
Search the forums for wheels' server args builder program. That's the easiest way to set one up. Else just read YZed's server tutorial...
jlv wrote:Here's a picture of my nuts.
-
Stormz
- Posts: 2015
- Joined: Wed May 12, 2010 7:52 pm
- Location: US of A
- Contact:
Re: VPS questions
I already have it set up, but i have to send my trackinfo to the server. It's not on my pc, like yz'ed, checkerz, etc. all that is on there currently is stock tracks and i want to add trackinfo's so i can put on the sx/outdoors tracks.Phathry25 wrote:The scripts go in the same folder as the server's executable file.
Search the forums for wheels' server args builder program. That's the easiest way to set one up. Else just read YZed's server tutorial...
-
Phathry25
- Posts: 7481
- Joined: Sat Dec 01, 2007 1:09 am
- Team: No Frills Racing
- Location: WI
- Contact:
-
Stormz
- Posts: 2015
- Joined: Wed May 12, 2010 7:52 pm
- Location: US of A
- Contact:
Re: VPS questions
Ok, so I've been scratching my head as to why my results wont work, when I remember that batch files are for windows...not linux. So, what does the results upload command need to be?
-
jlv
- Site Admin
- Posts: 15358
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: VPS questions
You can use this shell script:
http://mxsimulator.com/scripts/uploadresults.sh
You run it like this: ./uploadresults.sh myserver.com results.txt mysuperhardtoguesspassword
You also need to make sure it has execute permission:
chmod +x uploadresults.sh
http://mxsimulator.com/scripts/uploadresults.sh
You run it like this: ./uploadresults.sh myserver.com results.txt mysuperhardtoguesspassword
You also need to make sure it has execute permission:
chmod +x uploadresults.sh
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.
-
Stormz
- Posts: 2015
- Joined: Wed May 12, 2010 7:52 pm
- Location: US of A
- Contact:
Re: VPS questions
Awesome! Thanks for the info! I'll plug it in when I get home.jlv wrote:You can use this shell script:
http://mxsimulator.com/scripts/uploadresults.sh
You run it like this: ./uploadresults.sh myserver.com results.txt mysuperhardtoguesspassword
You also need to make sure it has execute permission:
chmod +x uploadresults.sh
-
Stormz
- Posts: 2015
- Joined: Wed May 12, 2010 7:52 pm
- Location: US of A
- Contact:
Re: VPS questions
I plugged the './uploadresults.sh myserver.com results.txt mysuperhardtoguesspassword' in with my info which looks like ./uploadresults.sh 64.85.166.151 results.txt PWHEREStormz wrote:Awesome! Thanks for the info! I'll plug it in when I get home.jlv wrote:You can use this shell script:
http://mxsimulator.com/scripts/uploadresults.sh
You run it like this: ./uploadresults.sh myserver.com results.txt mysuperhardtoguesspassword
You also need to make sure it has execute permission:
chmod +x uploadresults.sh
With no luck. It says 'No such file or directory"...what did i do wrong? the "chmod...." works fine
I edited the server args to say "--results-cmd uploadresults.sh"
The shell script has been edited to "curl -s -F "name=$64.85.166.151" -F "password=$LDLDLD" -F 'results=<'$tmpresults http://mxsimulator.com/uploadresults.php" I didn't change anything else in the .sh
-
jlv
- Site Admin
- Posts: 15358
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: VPS questions
Don't edit the script. Use this results command, but change "myserver.com" and "mysuperhardtoguesspassword".
--results-cmd "./uploadresults.sh myserver.com results.txt mysuperhardtoguesspassword"
--results-cmd "./uploadresults.sh myserver.com results.txt mysuperhardtoguesspassword"
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.
-
Stormz
- Posts: 2015
- Joined: Wed May 12, 2010 7:52 pm
- Location: US of A
- Contact:
Re: VPS questions
It works! Thank you very much!.