.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Closed Thread
 
Thread Tools Display Modes
  #261  
Old May 21st, 2004, 05:27 PM
jimbo's Avatar

jimbo jimbo is offline
Private
 
Join Date: May 2004
Location: Vermont, USA
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
jimbo is on a distinguished road
Default Re: New & raw web based Dominion II game server

I have some work to do but will redo my turn assuming no attack and see if that clears it up...will not got get to it for a few hours will post here when I get it done...damn that turn took me forever to do too!
  #262  
Old May 21st, 2004, 06:22 PM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: New & raw web based Dominion II game server

I don't think it's you. The easiest test would be to simply backup your 2h file, then upload one where you do nothing but hit "end turn"....

But I don't think you're the culprit, since it doesn't seem to change anything whether I attack you or not, plus there's nothing unusual on our front.

It'll most probably be due to somebody casting a rare or unusual spell that likely causes "molesting the dead". Mose could probably get us the exact error which occurs, which would narrow it down a lot.
  #263  
Old May 21st, 2004, 07:19 PM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default Re: New & raw web based Dominion II game server

Can help somehow? I'm not currently in my developing mood, but I could e.g. send the entire game directory to someone.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
  #264  
Old May 21st, 2004, 08:15 PM
jimbo's Avatar

jimbo jimbo is offline
Private
 
Join Date: May 2004
Location: Vermont, USA
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
jimbo is on a distinguished road
Default Re: New & raw web based Dominion II game server

Quote:
Originally posted by Norfleet:
I don't think it's you. The easiest test would be to simply backup your 2h file, then upload one where you do nothing but hit "end turn"....
I would really like to see the game continue somehow...is it possible to do what you suggest on the server side? Meaning archive all the submitted 2h files, one by one drop out submitted 2h files (force host them) until you get the turn to run, the Last one dropped that makes it work is the culprit, we get them to fix the problem by doing any suspicous thing differenty (somehow), and then we reload all the archived 2h files with the new 2h file from the problem player. If you get through all the submitted turns and we still crash (with everyone force hosted) then it ain't us and there is nothing we can do.

If someone has access to the server maybe they could so this on the side (i.e. copy the 2h files to a different machine, reproduce the crash, then do the procedure I outlined to discover who the problem turn is).

Knowing who exactly it is will help us fix it -right now it's still a needle in a haystack.

Just some ideas that might help...or might not...
  #265  
Old May 21st, 2004, 08:48 PM
Reverend Zombie's Avatar

Reverend Zombie Reverend Zombie is offline
Lieutenant Colonel
 
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
Reverend Zombie is on a distinguished road
Default Re: New & raw web based Dominion II game server

Quote:
Originally posted by jimbo:
quote:
Originally posted by Norfleet:
I don't think it's you. The easiest test would be to simply backup your 2h file, then upload one where you do nothing but hit "end turn"....
*SNIP*

If someone has access to the server maybe they could so this on the side (i.e. copy the 2h files to a different machine, reproduce the crash, then do the procedure I outlined to discover who the problem turn is).

Mose, who runs the server, offered to ship all the game files off to one of us.

I nominate Norfleet, but since he has stated he does not use e-mail, that could be a problem.
__________________
In strait places gar keep all store,
And burn the plain land them before:
Then shall they pass away in haste,
When that they find nothing but waste...

  #266  
Old May 21st, 2004, 09:02 PM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: New & raw web based Dominion II game server

I've sent Mose the details of how to send the files to me, which would be a hell of a lot simpler than emailing it to me anyway.

Of course, after I find the problem, there's the troublesome matter of getting a solution going, and how to get the game either back to Mose, find and notify the person whose turn is causing the problem, or notifying everyone that the game has been moved...
  #267  
Old May 22nd, 2004, 10:41 AM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: New & raw web based Dominion II game server

I received the file from Mose. The first, most striking thing is that Abysia's 2h is missing, while the server page, and the game prompt, said Abysia was current.

I found this discrepancy odd, so I attempted to connect to the server again...and now Abysia is reported as not having taken its turn. Attempting to host with the files without Abysia proceeds normally, but attempting to crowbar the hosting on the server itself nagots.

It is even more weird that there is *NO* Abysia.2h included in the zip Mose sent: Either he somehow omitted it in whatever process that he used to zip it, which would be very strange, given that it's a Linux box, and it makes no sense that "zip Pascentiful.zip *" would miss anything. Why is Abysia's 2h missing? Did something prevent the zip program from reading it? Are the file permissions on Abysia.2h FUBAR'ed, this preventing both Dom2 from reading it, and preventing Mose from zipping it?

I am baffled.

As all attempts to reproduce the error locally yield no result, and Abysia has once again not taken its turn, I am forced to conclude that there may be file corruption which prevented the file from being included in the uploaded zip, and is yielding this odd behavior. I shall tell Cohen to reconnect and upload his turn again, after which the server will attempt to host. If it proceeds without incident, then I'll consider it a bizarre unsolved mystery. If it still fails, I'll have to either try hosting the game on kludgemush.com, or have Mose clean out the directory and replace all of the files with a fresh zip from after the hosting, whichever is less complicated. We'll see what happens when I get Cohen to redo his turn.

[ May 22, 2004, 09:44: Message edited by: Norfleet ]
  #268  
Old May 22nd, 2004, 06:53 PM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: New & raw web based Dominion II game server

Okay, I tried receiving the missing 2h from Cohen manually, and dropping it in. The game hosts without complaint when I do that. Nothing I do seems to be able to reproduce the error.

Given that Mose did not send abysia.2h in the zip file I received, and Dom2 still refuses to host on Mose's server, I'm inclined to suspect that there's something bizarre going on with the file permissions - but I can't reproduce the error on Linux, either.

I remain baffled.

In the meantime, however, if this is agreeable to everyone, and people can be found and notified, I can host the game on kludgemush.com, where it seems to run without incident.
  #269  
Old May 22nd, 2004, 08:50 PM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default 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)
  #270  
Old May 22nd, 2004, 08:59 PM
jimbo's Avatar

jimbo jimbo is offline
Private
 
Join Date: May 2004
Location: Vermont, USA
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
jimbo is on a distinguished road
Default Re: New & raw web based Dominion II game server

I am happy to continue on a new server...just post where...

The Jotunheim CD violation was my friend...I infected him with the game, he ordered it, he took my CD home so he could play it immediately, and when he got his game in the mail he never reinstalled. We found this out when I infected him with this server (hehehe), he signed up in this game as Jotenheim, but when he went to take his turn (on turn one) he CD violated.

Unfortunately he set the position to computer controlled before we back tracked and figured out he never reinstalled his own CD key...which is fixed now of course...live and learn.
Closed Thread

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:17 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.