[SERVER] How to set laps and min, server already started ?

Post your questions here
Post Reply
MX4EVER
Posts: 262
Joined: Thu Sep 13, 2012 5:49 pm
Team: MXS-Concept.com
Location: Switzerland
Contact:

[SERVER] How to set laps and min, server already started ?

Post by MX4EVER »

Hi guys,
I would like to know if it's possible to set the race time and laps not in the args file of the server, but when connected to the server as administrator.
Does exist a command like "server,laps <LAPS>" or something like that ?

Nothing founded in the readme file.

Thank you :o
Niko | Mouk Lab | Admin of MXS-Concept // MyMXB // MXBikes-Shop // among others. | YouTube
Image
MX4EVER
Posts: 262
Joined: Thu Sep 13, 2012 5:49 pm
Team: MXS-Concept.com
Location: Switzerland
Contact:

Re: [SERVER] How to set laps and min, server already started

Post by MX4EVER »

Sorry for double post, but I've a bonus question :

When I try to restart a server using a script (i.e. "at +60 restart") it's written "Unknow has requested a restart (0/1)" so the server doesn't restart.
Could you clarify, is there another way to do an automatic restart thru a script or is it just not possible ?
Niko | Mouk Lab | Admin of MXS-Concept // MyMXB // MXBikes-Shop // among others. | YouTube
Image
jlv
Site Admin
Posts: 15387
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: [SERVER] How to set laps and min, server already started

Post by jlv »

For the laps, you have to use the addtrack command to add the same track with a different time/laps setting.

The next server will have that restart bug fixed.
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.
MX4EVER
Posts: 262
Joined: Thu Sep 13, 2012 5:49 pm
Team: MXS-Concept.com
Location: Switzerland
Contact:

Re: [SERVER] How to set laps and min, server already started

Post by MX4EVER »

ok, can you specify the syntax please ?

I tried :
server,addtrack (trackinfo path) --minutes 10 --laps 2
or
server,addtrack (trackinfo path) 10 2

It always says "bad time"
Niko | Mouk Lab | Admin of MXS-Concept // MyMXB // MXBikes-Shop // among others. | YouTube
Image
MX4EVER
Posts: 262
Joined: Thu Sep 13, 2012 5:49 pm
Team: MXS-Concept.com
Location: Switzerland
Contact:

Re: [SERVER] How to set laps and min, server already started

Post by MX4EVER »

I finally found trying some commands.
It may help some guys in the future :

server,addtrack <minutes> <laps> <interval> <trackinfo>

8)
Niko | Mouk Lab | Admin of MXS-Concept // MyMXB // MXBikes-Shop // among others. | YouTube
Image
Post Reply