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.
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.
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.
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.
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.
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?
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.