Jump to content

Timed Restarter?


Guest Veretos

Recommended Posts

I was wondering if anyone has a script for time restarter for windows.

What I mean is an ability to set the restart time, and than MaNGOS would restart once the time expires. I am not sure if this possible but hey if anyone knows anything about this please post below :)

Link to comment
Share on other sites

Can't you do it so that you give long time to server shutdown, then have autorestarter and it'll bounce just back online after shutdown. If you mean you want to restart server like every night, you perhaps need to have some script taking RA connection and giving shutdown command. Or then use idle-restart from config, though that'll bite in own leg... or at least causes unneeded restarts if server is often empty.

Link to comment
Share on other sites

Hmm it doesn't seem to restart it. Opens mangos fine and realmd fine but than doesn't do anything after the restart time passes. I tried both shutting down and restart function and saving it through GUI.

My configs:

[main]
hours=00
minutes=01
seconds=00
; PATH TO YOU MANGOSD.EXE and REALMD.EXE
mangosd = mangosd.exe
mangosd = realmd.exe

Link to comment
Share on other sites

Hmm it doesn't seem to restart it. Opens mangos fine and realmd fine but than doesn't do anything after the restart time passes. I tried both shutting down and restart function and saving it through GUI.

My configs:

[main]
hours=00
minutes=01
seconds=00
; PATH TO YOU MANGOSD.EXE and REALMD.EXE
mangosd = mangosd.exe
mangosd = realmd.exe

second mangosd option should be "realmd"

Run(IniRead($ini, "main", "realmd", @ScriptDir & "\\realmd.exe"))

otherwise you overwrite your mangosd setting

and dont forget that you must set the full path to the files

Link to comment
Share on other sites

Hmm it doesn't seem to restart it. Opens mangos fine and realmd fine but than doesn't do anything after the restart time passes.

I think that you hide server windows before server restart, right? I forgot to set windows shown before shutdown server and i think that you problem in it.

Tested by myself - works fine. Download.

You don't need to provide the path if it's in the same folder from what I know.
Yes, you right.
second mangosd option should be "realmd"
Correct, it's my typo =/
Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use