Author Topic: Restart script  (Read 1057 times)

0 Members and 1 Guest are viewing this topic.

Offline McIntosh4

  • Major(1)
  • Posts: 13
Restart script
« on: March 12, 2012, 01:29:51 pm »
Hey all,

I wanted to ask you for a special script that allows the players on a server decide
if a restart is needed.
This will happen only if 65% or more of the players have voted for a restart by typing "!restart".
If yes, server will (obviously) restart itself with the same map.

No administrationship required.


Thank you and have a great week.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Re: Restart script
« Reply #1 on: March 12, 2012, 03:21:21 pm »
I believe there was script like this. You should just use search engine built into forums. I'll give you few top hits.


EDIT: Actually it wasn't so easy to find it - here's the closest match I could get: CLICK!
I think it should work with latest scriptcore but I'm not 100% sure.
« Last Edit: March 12, 2012, 03:31:11 pm by Furai »
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Restart script
« Reply #2 on: March 13, 2012, 10:29:04 am »
Why would you need to reboot your server at all in the first place?
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline McIntosh4

  • Major(1)
  • Posts: 13
Re: Restart script
« Reply #3 on: March 15, 2012, 12:48:14 pm »
I believe there was script like this. You should just use search engine built into forums. I'll give you few top hits.


EDIT: Actually it wasn't so easy to find it - here's the closest match I could get: CLICK!
I think it should work with latest scriptcore but I'm not 100% sure.

Thank you very much! :)
It is useful, though not exactly what I wanted. But I will keep looking for the one, thanks!

Why would you need to reboot your server at all in the first place?

Because, in case people notice that something is wrong (Soldat is full of bugs...), they can make a vote which, if enough people support, can make a restart for the server.

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Restart script
« Reply #4 on: March 15, 2012, 03:38:43 pm »
Any sample bugs that occurs after longer server uptime? On bugtracker, preferably.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.