Re: New & raw web based Dominion II game server
The abysia.2h file is my fault. It was there until I accidentially deleted it when creating the zip file. Looking through the log file I see 2 strange things, speaking like any Monty fan:
1. The game reports a CD violation?! (Jotunheim, I believe it was)
2. My server scripts had apparantly crashed a number of times. I have since changed the code a bit, so it should be more defensive now. Still, it had been restarted a lot since crashing.
3. There is a known bug which I don't know how to solve. The socket lingers (in TIMEWAIT2, I presume) when the server is killed, which means that the program cannot be restartet before an interval has passed. And the perl script cannot access information on this level. I'm planning on reading up on sudo to solve this problem, though. In practice this means that you HAVE TO CHECK whether the server really restartet. It may state that it was a success, but a reload of the page will reveal that the server instantly crashed. Just restart the server again, and all will be fine.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|