PDA

View Full Version : Vote to Restart


Keith B
16th November 2007, 22:28
Is it possible for someone to write some code that would stop the use of the 'vote to restart' and only let it be used by admin on the server. I think its very unfair that half way through a race which does not have many cars in it, it only takes a few to force a restart, usually done when they are being beaten by someone better. I think it would be fairer if you could 'request a restart' and then let who is running the server decide. It would be nice if this could be an option so the original format could be keeped. Regards, Keith, (Wild Rose Racing).

keiran
16th November 2007, 22:36
Does LFS not have a feature built into the dedi to stop this? I'm 99% sure I remember the introduction of such a thing to stop restarts during the race... Could be wrong though :)

mcgas001
16th November 2007, 23:40
Would you want it to spec that person, what about send them a message letting them know, and spec, or maybe just cancel the Vote quietly ? also Demo or S2 out of intrest ?

the_angry_angel
17th November 2007, 01:54
There are 2 commands built into recent LFS servers:
// no restart within X seconds of race start
/rstmin=60

// no restart within X seconds of race finish
/rstend=30Whilst these don't do exactly what you want, they will prevent people restarting the race inappropriately, if you get it setup right.

Lotesdelere
17th November 2007, 07:15
There are 2 commands built into recent LFS servers:
// no restart within X seconds of race start
/rstmin=60

// no restart within X seconds of race finish
/rstend=30Whilst these don't do exactly what you want, they will prevent people restarting the race inappropriately, if you get it setup right.
For both the limit is 300 seconds.

I agree it's quite annoying when a race is restarted in lap 9 of 10 and admins can't be about 24/7, hence my suggestion:
http://www.lfsforum.net/showthread.php?p=588311#post588311

mcgas001
17th November 2007, 10:28
Much easier :thumb:



// You can instruct LFS host to cancel a vote using an IS_TINY
// ReqI : 0
// SubT : TINY_VTC (VoTe Cancel)

F.Rizzo
17th November 2007, 13:55
Indeed the vote cancel command does work although it isn't perfect. I've been meaning to write a little utility for this for a while so I quickly whipped one up hope it works.

Details here: http://www.lfsforum.net/showthread.php?t=33790

mcgas001
17th November 2007, 14:01
Indeed the vote cancel command does work although it isn't perfect. I've been meaning to write a little utility for this for a while so I quickly whipped one up hope it works.

Details here: http://www.lfsforum.net/showthread.php?t=33790

Nice tool :thumb:, you saved me a job :D :D

F.Rizzo
17th November 2007, 14:07
Hehe Thanks :)

Only run a very quick local test so hope it works ok (don't see why it wouldn't):thumb: