oldtimes
Member
- Joined
- Jan 21, 2013
- Messages
- 311
- Reaction score
- 23
I have a auto restarter for my Avesta engine.
It is supposed to restart the server if it crash.
This is how the code looks:
Problem is that it doesn't restart when a crash happens.
I get a message saying that Avesta has crashed and i can choose to "Search for the problem" or "Close".
After i pressed "Close" it does restart Avesta.
What is the problem? I want it to restart automaticly even if im not at the server?
It is supposed to restart the server if it crash.
This is how the code looks:
Code:
echo off
title Tibia Server
color 80
cls
:controllerini
Avesta.exe
echo ~~
echo BOOM! Server crashed!
goto :controllerini
Problem is that it doesn't restart when a crash happens.
I get a message saying that Avesta has crashed and i can choose to "Search for the problem" or "Close".
After i pressed "Close" it does restart Avesta.
What is the problem? I want it to restart automaticly even if im not at the server?