Mxserver Tutorial
Re: Mxserver Tutorial
Add "pause" to the end of your bat file.
cd C:\Users\YourName\Desktop\mxserver
mxserver.exe --args-file serverargs.txt
pause
cd C:\Users\YourName\Desktop\mxserver
mxserver.exe --args-file serverargs.txt
pause
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.
Re: Mxserver Tutorial
yay! thx bro
Re: Mxserver Tutorial
That will only keep the box open, its not going to make the server run
Re: Mxserver Tutorial
Another problem I found: You need to add a folder path to the info names within the serverargs file. That, or just take the info files out of the trackinfo folder, and put them in the same folder as the serverargs file
Re: Mxserver Tutorial
Hey,
I have a little problem, with the mxserver.exe .
The console opens a very short time but then it clothes.
I cant open it. Whats wrong?
My system is windows7.
I have a little problem, with the mxserver.exe .
The console opens a very short time but then it clothes.
I cant open it. Whats wrong?
My system is windows7.
Re: Mxserver Tutorial
Read from this post: http://mxsimulator.com/benchracing3/vie ... 90#p128590 on, see if that can fix your problem .
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
Re: Mxserver Tutorial
Okay, thank you for your help. But i dont't know whats wrong
Maybe you can have a look to my folder?
http://www.mediafire.com/?gjaoyly4n2m
Maybe you can have a look to my folder?
http://www.mediafire.com/?gjaoyly4n2m
Re: Mxserver Tutorial
I think it is because you have left your trackinfo file in its trackinfo folder. Either put the file in the main directory (ie. with the rest of your files) or change the line in your args file from "alcrest.trackinfo" to "trackinfo/alcrest.trackinfo"
Good luck
Good luck
Re: Mxserver Tutorial
the mx server folder is all, what i have, what did you mean with ,,the rest of your files'' ?
I have only on my arg file do now: I changed ''alcrest.trackinfo'' in ''trackinfo/alcrest.trackinfo''.
But everytime I cant open the mxserver.exe file.
I have only on my arg file do now: I changed ''alcrest.trackinfo'' in ''trackinfo/alcrest.trackinfo''.
But everytime I cant open the mxserver.exe file.
Re: Mxserver Tutorial
What I meant was, in that folder you uploaded you have your main mxserver folder. This contains your "mxserver.exe" "serverargs" etc. This is what I meant by "the rest of your files".
In this mxserver folder you have another folder called "trackinfo". Your "alcrest.trackinfo" file is in there. Try taking it out of that folder and placing it in the main mxserver folder. Now change your "serverargs" file back to how it was. (Saying alcrest.trackinfo instead of trackinfo/alcrest.trackinfo).
I tried that and got it working fine.
Just to check, you are running mxserver.exe from a bat file? Not just double clicking the exe?
In this mxserver folder you have another folder called "trackinfo". Your "alcrest.trackinfo" file is in there. Try taking it out of that folder and placing it in the main mxserver folder. Now change your "serverargs" file back to how it was. (Saying alcrest.trackinfo instead of trackinfo/alcrest.trackinfo).
I tried that and got it working fine.
Just to check, you are running mxserver.exe from a bat file? Not just double clicking the exe?
Re: Mxserver Tutorial
Thanks,
Now I put the alcrest.trackinfo into my Main mxserver folder.
I run the mxserver.exe not from a bat file. how can i do that?
Now I put the alcrest.trackinfo into my Main mxserver folder.
I run the mxserver.exe not from a bat file. how can i do that?
Re: Mxserver Tutorial
yzmxer608 wrote:
Running the Server:
- Now everything you need for the server to run is there. To get the server running I create a batch file, it's easy to use (once made).
- Right click somewhere (desktop is fine) and go to New, then choose text file from the list. You can name it anything you want, startserver is descriptive enough. Open the txt file and use this as a guideline:
Code: Select all
cd Directory Of mxserver mxserver.exe --args-file serverargs.txt
- So for example, if you had your mxserver folder on your desktop, you would have (for Win7/Vista):
Code: Select all
cd C:\Users\YourName\Desktop\mxserver mxserver.exe --args-file serverargs.txt
- The 'cd' just changes the working directory of the command prompt, so it "operates" out of where you tell it to (in our case the mxserver folder). The next line starts the mxserver.exe and passes --args-file serverargs.txt as a parameter, telling the server to use the args file you created. When you are done save the txt file, but, after you saved it right click the file and go to Rename, you can keep the actual name the same but delete the .txt and replace it with .bat. (you can skip this if you use Notepad++ and just save it as a .bat file right away). You will get a warning about changing the file type, just click Ok.
Now, all you should have to do is double click your new batch file and your server should start up. If the command prompt doesn't stay open something has gone wrong. First thing to check is if there are any typos in your args file, if that doesn't work try right clicking the batch file and go to Run as administrator.
Re: Mxserver Tutorial
Thank you, but there I must start the MXserver.exe and i cant do this?
Re: Mxserver Tutorial
You start it by opening your batch file. I'm afraid I can't really explain it any better than yzmxer already has. Sorry.
Re: Mxserver Tutorial
what the args file