mxserver-2009-05-08
-
DJ99X
- Posts: 15524
- Joined: Tue Jan 15, 2008 11:36 am
- Location: Land Down Under
Re: mxserver-2009-05-08
Not that you need to do it. As long as the bat file is in the same folder as everything else, it automatically sets the directory to that folder
-
yzmxer608
- Posts: 15352
- Joined: Mon Dec 29, 2008 4:30 am
- Team: SYS
- Location: Wisconsin, U.S.A
Re: mxserver-2009-05-08
I have to change the directory, otherwise the cmd just closes. Here is what I have so far:
Here is what the batch file contains for what I normally use (start cmd manually as admin, change directory to mxserver folder, then run this batch file)
Not sure what I'm doing wrong.
Code: Select all
C:\Users\Nate\Desktop\MXS\mxserver\mxserver.exe --args-file serverargs.txtCode: Select all
mxserver.exe --args-file serverargs.txtTeamHavocRacing 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: 15328
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: mxserver-2009-05-08
Have you tried something like this?
cd C:\Users\Nate\Desktop\MXS\mxserver
mxserver.exe --args-file serverargs.txt
cd C:\Users\Nate\Desktop\MXS\mxserver
mxserver.exe --args-file serverargs.txt
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.
-
yzmxer608
- Posts: 15352
- Joined: Mon Dec 29, 2008 4:30 am
- Team: SYS
- Location: Wisconsin, U.S.A
Re: mxserver-2009-05-08
That worked
. Thank you again Josh!
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
-
tyskorn
- Posts: 6491
- Joined: Sun Jan 11, 2009 5:52 pm
- Team: Adept MX Graphics
- Location: Utah, USA
Re: mxserver-2009-05-08
how do i get the .trackinfo into the serverargs.txt
-
yzmxer608
- Posts: 15352
- Joined: Mon Dec 29, 2008 4:30 am
- Team: SYS
- Location: Wisconsin, U.S.A
Re: mxserver-2009-05-08
You get the .trackinfo files by going and riding a track, in the chat menu type /savetrackinfo. The .trackinfo file for that track will be saved in your personal folder. You have to create the args file (just a plain txt file) then add all of the parameters stated in the Read Me.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
-
tyskorn
- Posts: 6491
- Joined: Sun Jan 11, 2009 5:52 pm
- Team: Adept MX Graphics
- Location: Utah, USA
Re: mxserver-2009-05-08
i know i did that, but how do i get the .trackinfo in the .txt. this is what i have in the serverargs.txt
--port 19800
--max-clients 5
--greeting "HTD server"
--ban-file bans.txt
--results-file results.txt
--track-interval 15
--minutes 3
--password xxxxxx
--port 19800
--antiearth.trackinfo
i dont know if thats whats supposed to be in there, bu here's what i have in the traget of the mxsim shortcut
"C:\Documents and Settings\tony a\Desktop\MX Simulator\mx-2009-09-14.exe" --hidden-pause --password xxxxxxxx
--port 19800
--max-clients 5
--greeting "HTD server"
--ban-file bans.txt
--results-file results.txt
--track-interval 15
--minutes 3
--password xxxxxx
--port 19800
--antiearth.trackinfo
i dont know if thats whats supposed to be in there, bu here's what i have in the traget of the mxsim shortcut
"C:\Documents and Settings\tony a\Desktop\MX Simulator\mx-2009-09-14.exe" --hidden-pause --password xxxxxxxx
-
yzmxer608
- Posts: 15352
- Joined: Mon Dec 29, 2008 4:30 am
- Team: SYS
- Location: Wisconsin, U.S.A
Re: mxserver-2009-05-08
add "--laps x" in the args file, then under that add --trackname.trackinfo, a new line for each trackinfo file. If you have all of the trackinfo files in a folder inside the server folder do "--foldername\trackname.trackinfo".
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
-
tyskorn
- Posts: 6491
- Joined: Sun Jan 11, 2009 5:52 pm
- Team: Adept MX Graphics
- Location: Utah, USA
Re: mxserver-2009-05-08
then how do i open the server, because i got my IP address, but the server wont open.thnx for your help yz, and hopefully you can continue to help me 
-
yzmxer608
- Posts: 15352
- Joined: Mon Dec 29, 2008 4:30 am
- Team: SYS
- Location: Wisconsin, U.S.A
Re: mxserver-2009-05-08
Make a batch file (can do it in notepad++) and put this in it "mxserver.exe --args-file serverargs.txt" (without quotes).
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
-
tyskorn
- Posts: 6491
- Joined: Sun Jan 11, 2009 5:52 pm
- Team: Adept MX Graphics
- Location: Utah, USA
Re: mxserver-2009-05-08
what kind of file do i save it as?
-
yzmxer608
- Posts: 15352
- Joined: Mon Dec 29, 2008 4:30 am
- Team: SYS
- Location: Wisconsin, U.S.A
Re: mxserver-2009-05-08
.bat, it should be in the list when you go to Save as.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
-
tyskorn
- Posts: 6491
- Joined: Sun Jan 11, 2009 5:52 pm
- Team: Adept MX Graphics
- Location: Utah, USA
Re: mxserver-2009-05-08
i didnt see .bat just .txt 
-
yzmxer608
- Posts: 15352
- Joined: Mon Dec 29, 2008 4:30 am
- Team: SYS
- Location: Wisconsin, U.S.A
Re: mxserver-2009-05-08
Are you using notepad++? It shows up for me after I went to File>New, then went to File>Save as.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
-
tyskorn
- Posts: 6491
- Joined: Sun Jan 11, 2009 5:52 pm
- Team: Adept MX Graphics
- Location: Utah, USA
Re: mxserver-2009-05-08
i downloaded notepad ++ and it worked. now i gotta do the rest u told me 