Quote:
|
Originally Posted by Dr. Moron
a random map after serverstart will be possible if unsichtbar write us two perl scripts. 1st script should be executed by a cronjob every minute to check if the server is online or not. the 2nd script executed by the 1st one if server down will start the server with a random map form a list.
|
Usually server is down for less than a minute and this will not work. If those scripts can be writeen in bash instead of perl (i know it can be) I can do it. I need a code that You use to auto restart the server if it crashes. Probably it is like:
Code:
while true
do
./server start command with parameters
done
If it is like that, we can very easily make the starting map name a random parameter using the mapcycle file.