[Freeciv-Dev] Re: automaticly restarting script
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 15 Apr 2001, Bernhard Kuemel wrote:
> Tuomas Airaksinen wrote:
> >
> > I just use following civloop script at tuma.stc.cx:5555:
> >
> > #!/bin/bash
> > while true; do
> > echo "Civserver launched $(date)" >> my_civlog.txt
> > civserver -q 500 -r my_civscript.txt >> my_civlog.txt
> > done
>
> Hmm, my civserver doesn't have this -q option. But I found that
> public civservers aren't such a great idea since it's better to
> run ones own server which allows one to save and restore games.
It's in CVS. I added it so people wouldn't have to write longwinded
scripts (which sometimes don't work very well because you can never have
quite the same info the server's guts have). I guess civserver itself will
use this option in the future. At least that was what i had in mind...
About save & restore. That has been on people's minds for a while but
the server code isn't reentrant. It would probably take considerable
effort to make it so.
Meanwhile we can always resort to kludges like exit and restart.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
|
|