Login to ZARP
Username: Password: Remember me

TOPIC: Auto-restart script

Auto-restart script 11 years 1 month ago #13918

Account name, steam-id and in-game name?: dom837, STEAM_0:1:14524028, DoM

Which server is this suggestion for?: |1|DarkRP *Or all servers*

What would you like to add?: An auto-restart script so that every (lets say) 4 hours the server restarts. This adds a safeguard to the server being down all night because of a glitch that causes it to lag out constantly. I ran a script like this along time ago on my own server. Even did it on my WoW server's too. It would be wise to add a user command that will notify the user how long until scheduled restart. Also you could notify the user when they log in.
EDIT: You could even go as far as making it monitor your system resources. Meaning if the system is running at 35% or more, and put a if statement in there asking how many players are on. If 0 players and system @35% = run auto restart script. This could effectively cancel out my idea above and make the server fix itself when it is bugging out. Extreme caution would have to go into this, to make sure the server doesn't auto restart when it doesn't need to.

How would it benefit the server/why do you want to add this? "This adds a safeguard to the server being down all night because of a glitch that causes it to lag out constantly."

Would it be exploitable, and if, how could we make it non-exploitable? No

Additional notes: DarkRP 1 is down almost every night. I think this could increase its up-time by a lot.
  • DoM
  • DoM's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 65
  • Thanks received: 2
  • Karma: 0
Login or register to post a reply.

Auto-restart script 11 years 1 month ago #13919

I just noticed the notice saying server 1 is being ddos attacked lol. I still think this is a valid suggesting in the future though.
  • DoM
  • DoM's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 65
  • Thanks received: 2
  • Karma: 0
Login or register to post a reply.

Auto-restart script 11 years 1 month ago #13929

If this does happen, I think a warning should be in place; for example..

[SERVER] Auto-restart in 1 hour...
[SERVER] Auto-restart in 45 minutes...
[SERVER] Auto-restart in 30 minutes...
[SERVER] Auto-restart in 15 minutes...
[SERVER] Auto-restart in 10 minutes...
[SERVER] Auto-restart in 5 minutes...

etc etc.
Licking windows since 1337.
Login or register to post a reply.

Auto-restart script 11 years 1 month ago #13954

4 hoursm is way to short. GMOD can't be compared with WoW. For the simple reason you spend the first hour finding a gang/house and building a base. Leaves you 3 hours to moneyprint. This is withput being raided etc. Then the server restarts and ypu have tp startall over.
  • Scottie
  • Scottie's Avatar
Login or register to post a reply.

Auto-restart script 11 years 1 month ago #14168

Scottie wrote:
4 hoursm is way to short. GMOD can't be compared with WoW. For the simple reason you spend the first hour finding a gang/house and building a base. Leaves you 3 hours to moneyprint. This is withput being raided etc. Then the server restarts and ypu have tp startall over.
An auto-restart script so that every (lets say) 4 hours the server restarts.

Please note that 4 hours was an example.
  • DoM
  • DoM's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 65
  • Thanks received: 2
  • Karma: 0
Login or register to post a reply.

Auto-restart script 11 years 1 month ago #14172

DoM wrote:
Scottie wrote:
4 hoursm is way to short. GMOD can't be compared with WoW. For the simple reason you spend the first hour finding a gang/house and building a base. Leaves you 3 hours to moneyprint. This is withput being raided etc. Then the server restarts and ypu have tp startall over.
An auto-restart script so that every (lets say) 4 hours the server restarts.

Please note that 4 hours was an example.

Still. The problems with the GMOD server are very different on each occasion. I don't like this suggestion.
  • Scottie
  • Scottie's Avatar
Login or register to post a reply.
Moderators: MadMagic, Kanna.
Time to create page: 0.089 seconds

227 PLAYERS ONLINE

Connect to server View Gametracker DarkRP 1
11/127
online
Connect to server View Gametracker Deathrun
0/40
online
Connect to server View Gametracker TTT
0/47
online
Connect to server View Gametracker Bhop
1/32
online
Connect to server View Gametracker Surf
1/32
online
Connect to server View Gametracker Prop Hunt
0/42
online
Connect to server View Gametracker Sandbox
0/42
online
Connect to server Discord
214/790
online
Top