Qualifying Servers

Post your suggestions here
kawy949
Posts: 977
Joined: Sat Feb 11, 2012 11:33 pm
Location: UK
Contact:

Re: Qualifying Servers

Post by kawy949 »

jlv wrote:It could be done. Not sure I want to bother with it though. The easy thing to do would be to reserve everyone who signed up for the last round and let the new riders qualify on an open server.
Could this not be done with the run at command? Post a file to the relevant server, after each signup and then setup intervals where the mxs script gets run?
jlv
Site Admin
Posts: 15289
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Qualifying Servers

Post by jlv »

Sure, make a script like this:

10minuterepeater.mxs:
#mxserverscript
at +1 exec reserve.mxs
at +600 exec 10minuterepeater.mxs

reserve.mxs:
#mxserverscript
unreserve all
reserve 123 456 789

Then make another script using perl/python/whatever which updates the reserve.mxs script. The only thing you need to be careful about is the update to reserve.mxs. You want to use an atomic operation to update it so the server never reads it in a partially updated state. So don't write directly to reserve.mxs, write to a temporary file and then rename that file to "reserve.mxs".
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.
wheels1758
Posts: 4132
Joined: Tue Oct 21, 2008 5:20 pm
Location: Washington, USA
Contact:

Re: Qualifying Servers

Post by wheels1758 »

I didn't think recursive scripts were allowed. I remember trying to run a script that executed another script and it wouldn't let me.
jlv
Site Admin
Posts: 15289
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Qualifying Servers

Post by jlv »

You can't directly use "exec" but you can use "at" to schedule an exec command.
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.
bdownen323
Posts: 2949
Joined: Mon Nov 28, 2011 11:00 pm

Re: Qualifying Servers

Post by bdownen323 »

Bump. I'm down to make my server a seeded server if rf would like, maybe top 20 in each class in points or something
Sweendoggy
Posts: 3649
Joined: Sat Feb 21, 2009 5:10 am
Team: Lone Wolf
Location: California, US

Re: Qualifying Servers

Post by Sweendoggy »

jlv wrote:Any interest in setting part of the field with a qualifying race? That would be way more fun than trying to set a lap time.
oh I like it! At some point I DO want to stray from the way the AMA does everything, and create some of our OWN rules.

Also I think if we did anything it would either just be giant reserve lists based on licenses, OR I would take say the top 20 in points from each class and have a seeded pro, seeded AM, then open pro open am servers.
JTmoto
Crushed Dissenter
Posts: 485
Joined: Sun Feb 12, 2012 2:06 am
Team: Eleven10 Mods Suzuki

Re: Qualifying Servers

Post by JTmoto »

Sweendoggy wrote:
jlv wrote:Any interest in setting part of the field with a qualifying race? That would be way more fun than trying to set a lap time.
oh I like it! At some point I DO want to stray from the way the AMA does everything, and create some of our OWN rules.

Also I think if we did anything it would either just be giant reserve lists based on licenses, OR I would take say the top 20 in points from each class and have a seeded pro, seeded AM, then open pro open am servers.
Strictly arcade physics only heat races :lol:
Image
bdownen323
Posts: 2949
Joined: Mon Nov 28, 2011 11:00 pm

Re: Qualifying Servers

Post by bdownen323 »

Sweendoggy wrote:
jlv wrote:Any interest in setting part of the field with a qualifying race? That would be way more fun than trying to set a lap time.
oh I like it! At some point I DO want to stray from the way the AMA does everything, and create some of our OWN rules.

Also I think if we did anything it would either just be giant reserve lists based on licenses, OR I would take say the top 20 in points from each class and have a seeded pro, seeded AM, then open pro open am servers.
I'll make mine seeded pro if you wanna I can get it set up
brendenNWmx31
Posts: 8
Joined: Fri Nov 09, 2012 4:36 pm
Team: Privateer

Re: Qualifying Servers

Post by brendenNWmx31 »

I think RF should add a D-Class, so that more people get a chance to race. To qualify this week in C class you had to get less than a 59.1. I think the addition of a d-class will make it more fun for everyone and keep the beginners out of the faster servers.
Post Reply