May 22nd, 2004, 09:22 PM
|
Major General
|
|
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Quote:
Originally posted by Esben Mose Hansen:
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)
|
That can't be terribly recent, because Jotunheim has been AI for a very long time now, since he staled turn 1 and hasn't returned since. Could by why he staled, though, if he had a pirate copy...
Quote:
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.
|
That's not likely to be the problem, since the game always nagots right when it hosts.
Quote:
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.
|
That's not the problem. All TCP/IP implementations are like that, it's there for a reason. I've come to sort of expect this behavior if the game tries to reuse the same port after live connections were up when the game dropped.
You don't really need sudo to do it, though. Just parsing the contents of netstat -n will tell you if the port is in use or not. Just do a netstat -n | grep :, and if you see anything there, it's not dead yet.
However, none of this addresses the current problem. So it looks like since the cause of this cannot be determined, Pascentiful on Mosehansen is dead.
The game has thus been moved using the files I received to: kludgemush.com 10345
|