mxserver-2012-10-02 (updated 2012-10-12)

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

mxserver-2012-10-02 (updated 2012-10-12)

Post by jlv »

New features:
  • Improved bit rate control.
  • "listplayers" now has optional search term.
  • New commands for ignoring specs or everyone while racing.
  • New commands for adding/removing tracks.
  • New commands for adding/removing marshals
  • Supports "/sendfile" from newer clients.
  • Second kick now ends connection immediately.
2012-10-12 update: fixed addtrack bug

mxserver-2012-10-12.zip

Tutorial on how to run a server, compiled by yzmxer608 located here.
Last edited by jlv on Mon Oct 15, 2012 11:14 pm, edited 1 time in total.
Reason: 2012-10-12 update
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-2012-10-02

Post by yzmxer608 »

Thanks JLV! What do you mean by second kick now ends connection immediately, does the first kick (or what it did before) have a timer or something on it before the person was disconnected?
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
760Liam
Posts: 1404
Joined: Sun Jul 03, 2011 5:33 pm
Location: California

Re: mxserver-2012-10-02

Post by 760Liam »

Sweet! I like the sound of this new track add command! :D
Image
ShackAttack12
Posts: 3131
Joined: Fri May 09, 2008 1:51 am
Location: San Diego, CA

Re: mxserver-2012-10-02

Post by ShackAttack12 »

jlv wrote:New features:
  • [*]Supports "/sendfile" from newer clients.
What is this used for?
ShackAttack12
| 2010 Supercross Champ | 2011 Supercross Champ | 2019 Supercross Champ |
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: mxserver-2012-10-02

Post by yzmxer608 »

Scripts I think.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
Phathry25
Posts: 7481
Joined: Sat Dec 01, 2007 1:09 am
Team: No Frills Racing
Location: WI
Contact:

Re: mxserver-2012-10-02

Post by Phathry25 »

Scripts and trackinfo files.
Stormz
Posts: 2015
Joined: Wed May 12, 2010 7:52 pm
Location: US of A
Contact:

Re: mxserver-2012-10-02

Post by Stormz »

THANK YOU JLV!

I've wanted the '/sendfile' command for my server for a while now :D
jlv
Site Admin
Posts: 14954
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: mxserver-2012-10-02

Post by jlv »

yzmxer608 wrote:Thanks JLV! What do you mean by second kick now ends connection immediately, does the first kick (or what it did before) have a timer or something on it before the person was disconnected?
The first kick tells the client to disconnect and waits for an acknowledgement. The second one just drops the client. So if there's a lagged out player holding things up the second kick will remove him no matter what.
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.
checkerz
Posts: 8787
Joined: Tue Apr 22, 2008 4:23 am
Team: RaGe Factory

Re: mxserver-2012-10-02

Post by checkerz »

So /sendfile is for trackinfo, and adding track functionality is there, so how exactly are these functions used from in game? I'm fine with reading it wherever it is if it is somewhere, and if it's in the readme and I just need to download you may call me names.
Phathry25
Posts: 7481
Joined: Sat Dec 01, 2007 1:09 am
Team: No Frills Racing
Location: WI
Contact:

Re: mxserver-2012-10-02

Post by Phathry25 »

jlv wrote:server,addtrack <time> <laps> <change interval> <trackinfo>
Adds a new track with the given time, laps and track change interval.
The times are in minutes.

server,removetrack <track number>
Removes the specified track.

server,addmarshal <uid>
Adds a track marshal.

server,removemarshal <uid>
Removes a track marshal.

server,clearmarshals
Removes all track marshals

server,listmarshals
Lists the current track marshals.

To send a file, use the new snapshot, make a folder named "outgoing" in your personal folder, put your file there and type "/sendfile myscipt.mxs" to send it.
jlv
Site Admin
Posts: 14954
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: mxserver-2012-10-02

Post by jlv »

It's in the README.TXT, but not in step by step form.

On the server, make a folder to hold the uploaded files. I'll assume you named it "files".
Start your server with "--sendfile-prefix files/". The trailing / is required.
On your PC, make a folder in the install or personal folder named "outgoing". Put the files you want to send there.
In the game connect to the server and type "/sendfile mytrack.trackinfo". On the server, the "mytrack.trackinfo" should now be in "files".
Add the track with "server, addtrack 30 2 100000 files/mytrack.trackinfo".

The filenames are restricted to alphanumeric characters, underscores and periods.
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.
kawy949
Posts: 977
Joined: Sat Feb 11, 2012 11:33 pm
Location: UK
Contact:

Re: mxserver-2012-10-02

Post by kawy949 »

JLV, would you need to restart the game to acknowledge that the files are within the files folder in your personal folder or can you tab out, place file and then use the sendfile command?

Thanks.
Stormz
Posts: 2015
Joined: Wed May 12, 2010 7:52 pm
Location: US of A
Contact:

Re: mxserver-2012-10-02

Post by Stormz »

kawy949 wrote:JLV, would you need to restart the game to acknowledge that the files are within the files folder in your personal folder or can you tab out, place file and then use the sendfile command?

Thanks.
You can tab out, put the file on the outgoing folder, and upload it. Just make sure it isn't named the same as another script! That was the problem we had for the lites am races last week at LRS! I was just trying to overwrite old scripts and it wasn't working.
YzJarne_196
Posts: 616
Joined: Sat Feb 11, 2012 4:00 pm
Location: Belgium

Re: mxserver-2012-10-02

Post by YzJarne_196 »

The readme says: Then run the server like this: mxserver --args-file serverargs.txt.
dafuq is this do we have to type it somewhere?
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: mxserver-2012-10-02

Post by yzmxer608 »

TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
Post Reply