![]() |
Re: New & raw web based Dominion II game server
Okay, further diagnostics reveal that the game is broken. It doesn't appear to be related to Mose's server directly: It's one of those nagot-on-hosting errors, like "molesting the dead", or something.
Without the ability to try to host in debug mode to find out what it is, however, it's impossible to diagnose further. Is anyone casting any unusual globals, in particular, Haunted Forest, which has caused problems in other games? I've left the game up, but all hosting options have been disabled, so people can try changing their orders around a bit, before we try this again: If anyone is attacking any unusual provinces, you should try cancelling that attack. I've already verified that it seems to have nothing to do with anything I'm doing on my turn. [ May 21, 2004, 03:22: Message edited by: Norfleet ] |
Re: New & raw web based Dominion II game server
Yes he *****ed me so much that I disowned so he can check and notice game doesn't restart even if I tried many times to do it ...
He's St. Thomas ...(the apostole who wanted to put a finger in the nail holes of Christ after resurrection to believe he was really resurrected) |
Re: New & raw web based Dominion II game server
Quote:
|
Re: New & raw web based Dominion II game server
Yes, but I was able to narrow down the more technical cause: A nagot on hosting. If I could get a debug dump, I could figure out which nation was causing it, and which buggy spell inflicted it.
Quote:
|
Re: New & raw web based Dominion II game server
Norfleet - I am playing Caelum in Pascentiful and assuming you moved that Horde into the Iron Hills (I think that's the name - the province you assaulted the Last two turns) we were going to have a pretty huge battle with a *LOT LOT LOT* of battle magic being thrown around...any chance that is the cause?
Other than that I was not throwing any unusual spells - just doing a whole lot of troop movements... Boy this really sucks - I was really looking forward to seeing that battle go down - win or lose it was going to be cool to watch...bummer. Assuming, of course, that you went there http://forum.shrapnelgames.com/images/icons/icon12.gif |
Re: New & raw web based Dominion II game server
Further detail on this - if you did move anybody into the Iron Hills I brought along a Staff of Storms and had a lot of mages summoning storm power which is something I don't usually do - is there any history of that spell or that item causing issues in battles?
Other than that the spells were pretty standard - Banish, Thuderstrike (x a bunch http://forum.shrapnelgames.com/images/icons/icon7.gif ), Orb Lightings, Lightings, More Orb Lightnings... Unfortunately if we experiment here I'd like us both to avoid combat this turn since if I fight that horde I want to do it at full power - if I start experimenting and we have a big battle I am concerned that I will get...well let's just say an unpleasant result (for me). |
Re: New & raw web based Dominion II game server
That shouldn't have been the cause, since I tried cancelling that order, with no effect: It's apparently caused by some other nation. If I could get a debug dump somewhere, I could probably isolate this. Otherwise, the game is still up, and if anyone would like to try changing any potentially questionable orders, you can do that: I'll periodically attempt to get it to host and see if it crashes.
[ May 21, 2004, 14:27: Message edited by: Norfleet ] |
Re: New & raw web based Dominion II game server
I am only making one attack this turn... though it is a potential candidate for a hang since it is a large underwater fight. Though a larger one I had two turns ago showed no problems.
how do I pull my .2h so as to be able to mod my completed orders? (i.e. avoid instahost on restart) Rabe the Ambiguously Amphibious |
Re: New & raw web based Dominion II game server
modded my orders ... give it a go.
|
Re: New & raw web based Dominion II game server
Nope. Ain't you either. Good news is that you can continue your attack, anyway.
Is anyone casting a wonky, rarely cast global, like Haunted Forest? Haunted Forest has caused molestations of the dead in other games before, which results in the nagot-on-host. |
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! http://forum.shrapnelgames.com/images/icons/icon7.gif
|
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. |
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.
|
Re: New & raw web based Dominion II game server
Quote:
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... |
Re: New & raw web based Dominion II game server
Quote:
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). </font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">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. |
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... |
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 ] |
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. |
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. |
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. |
Re: New & raw web based Dominion II game server
Quote:
Quote:
Quote:
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 <your interface ip>:<port number>, 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 |
Re: New & raw web based Dominion II game server
Re Jotunheim: That illustrates why I really should get some timestamps in that log file http://forum.shrapnelgames.com/images/icons/icon7.gif
Re the netstat: I can see why you would think that would be the solution. I actually wrote the entire script to do it, and it was first when I attempted to use it I was shown the error of my ways. The problem is that the apache server runs under restricted priviledges, for obvious reasons. One of the things it cannot do is access /proc/net, which is the source of the netstat info. Thinking about the info that resides in /proc/net, I think that this is a good thing<tm>. In conclusion, I need sudo http://forum.shrapnelgames.com/images/icons/icon7.gif |
Re: New & raw web based Dominion II game server
Well, /proc/net and netstat are normally world-readable...so unless the thing has been chrooted into being unable to see any of that at all, I'm not entirely sure how you managed to break that.
Then again, I don't futz with Apache much. I should try my hand at messing with your server code, though. |
Re: New & raw web based Dominion II game server
It nagotted again ...
|
Re: New & raw web based Dominion II game server
Is there any way for mere Users to clear out their old stopped games on mose?
I'd like to clean up after myself, but the mechanism is not obvious. Also if one can successfully start a game, but it autostops instantly (and again upon "successful" restart)does this imply the server is at its limit? My new instance of Pain_of_Human is exhibiting this behavior... have I done something bizarre or is the failure message mildly FUBARed? Thanks to Mose for his lovely site. Quite the Mensch. Rabe the Awkward Admin |
Re: New & raw web based Dominion II game server
As for clearing out old games, you can disown them from the welcome page, if you havn't already. At some point, I'll make a prober cleanup method that hides the old games, and maybe even deletes them.
Norfleet: Obviously, your Linux setup isn't hardened. I'm not running an unhardened linux on the open net http://forum.shrapnelgames.com/images/icons/icon7.gif As for the permissions for /proc/net, these are mine (provided by the Gentoo hardened folks) </font><blockquote><font size="1" face="sans-serif, arial, verdana">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">ravn root # ls -ld /proc/net/ dr-xr-x--- 4 root wheel 0 May 23 10:10 /proc/net/ </pre><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">And no, the apache user does NOT belong to the wheel group. The wheel group is of course the special group that can e.g. su to root. |
Re: New & raw web based Dominion II game server
I tried to modify the name of my new Pain of Human game to avoid the "/" problem, but I don't seem to be able to modify the name even though the field has selectable text.
Am I having a late night brain fart or can game names not currently be changed, even those containing syntax errors? Rabe the Remedially Reserved |
Re: New & raw web based Dominion II game server
Thanks for your efforts and quick response. New game started.
Is there a option to turn off score graphs? I couldn't manage it. http://forum.shrapnelgames.com/image...s/confused.gif Rabe the Re-doer P.S. What color would you like your shrine when I finally remodel? http://forum.shrapnelgames.com/images/icons/icon10.gif http://forum.shrapnelgames.com/images/icons/icon12.gif |
Re: New & raw web based Dominion II game server
Esben,
SixManAran is over, you can delete it whenever you need a free spot. Thanks all for playing. I'd like to thank our host also, this is a most welcome service. |
Re: New & raw web based Dominion II game server
Quote:
|
Re: New & raw web based Dominion II game server
Wendigo: We can always use more slots. I stopped your game. Thanks for the heads-up! Sergex could also have stopped the game.
rabelais: I assume that I have made a typo on my server pages somewhere, but grep turns up zip. Could I have another hint, please? (the remodel comment) The score graph thing is turning into a FAQ. Illwinter? Please? Could we have all the different server options as command line options, please? Pretty, pretty please? |
Re: New & raw web based Dominion II game server
Games can't be renamed. That is because I made the mistake of using the game name as the key on the mysql databases. It makes it easier to navigate the tables by hand, but makes it much harder to rename games.
|
Re: New & raw web based Dominion II game server
One idea to ease the master password does not work remotely would be to add an option to force host the game.
I am doing this now an Orania game by setting the game time to 5 or 10 minutes, waiting for the turn to generate, and then setting it back to 24. This way we don't have to wait on the one AWOL player we have. |
Re: New & raw web based Dominion II game server
Quote:
The shrine thing was just a way of thanking you in a over-the-top (yet obscure) gesture. (i.e. Am building you a small interior temple in honor of your Dom2 community service when I next remodel my house) http://forum.shrapnelgames.com/images/icons/icon10.gif http://forum.shrapnelgames.com/images/icons/icon12.gif I really like the proposed force host option, but I think it (and timing changes, since they are functionally equivalent to a force host capability) should *only* be available if the game controller is registered/named ... otherwise such games are likely to be unplayable, as *someone* will eventually come along and anonymously force everything they can, just for random powerjollies. http://forum.shrapnelgames.com/images/icons/icon9.gif http://forum.shrapnelgames.com/images/icons/icon8.gif Rabe, Student of the Irreverent |
Re: New & raw web based Dominion II game server
Quote:
|
Re: New & raw web based Dominion II game server
The "Low Magic Game" is being replaced by the "Low Magic Game2" game yet both remain open. Can we stop Low Magic Game (1) and get Tyrande back up?
|
Re: New & raw web based Dominion II game server
Tyrande is gone til I recreate it since there're a bug in the map, Mictlan started in a province that overriden his magic sites.
|
Re: New & raw web based Dominion II game server
Any date for patching, Esben?
|
Re: New & raw web based Dominion II game server
"Orania - DO Not START" game can not be restarted. The game has stopped for some reason, and will not start back up.
|
Re: New & raw web based Dominion II game server
Could it be that when people with different patch levels submit their turns, the game hangs? Maybe someone should wipe all the orders for the next turn clear, or something?
|
Re: New & raw web based Dominion II game server
That seems to be the case, as two games exhibit this problem, both of which are down with somebody still connected.
Personally, I'd code something to automatically detect this and delete the offending file. I'd probably give harsher penalties after repeated incidents from the same person, but I'm also a big fan of draconian punishments. http://forum.shrapnelgames.com/images/icons/icon7.gif |
Re: New & raw web based Dominion II game server
No 'seeming' about it, it is the case.
That's what happens when people who shall remain unnamed patch someone else's PC, watch the unsuspecting patsy crash the game on lunch break, and then go and post 'guesses' on public forums. ;-) Yeah. If you connect with a patched client to an unpatched game on Mosehansen's server, you will stop the game. I guess no game will be running in a few hours. Holy Mose, save us! |
Re: New & raw web based Dominion II game server
Our Urgaria game did not take any of our Last orders when the game hosted. At least not for me and Peter.
I got a message saying that "Your 2H file was from another saved game. You have not given any new orders this Last turn." I have not touched the patch on any of my computers. |
Re: New & raw web based Dominion II game server
Quote:
[ June 08, 2004, 16:32: Message edited by: Esben Mose Hansen ] |
Re: New & raw web based Dominion II game server
Quote:
1. Enablement of mods. 2. All the victory conditions --- win by research, win by dominion, more detailed VP setup. 3. Score graphs disable. If you do that, I'll do my part and add them to my server http://forum.shrapnelgames.com/images/icons/icon10.gif Another (small, I hope) request: I understand that item modding would be difficult, but would it be possible to add an option simply to remove a specific item? So those of us who don't like to spend hours shuffling fetishes, clams and their produce could remove those two items. That would rekindle my interest in this game, I think http://forum.shrapnelgames.com/images/icons/icon10.gif |
Re: New & raw web based Dominion II game server
The server has not been pathed yet, right Mose? If so, do you have any ETA by any chance?
(I don't want to crash our game with wrong patch) |
Re: New & raw web based Dominion II game server
Quote:
To bend this in neon http://forum.shrapnelgames.com/images/icons/icon10.gif THE SERVER IS NOW AT VERSION 2.12, BUT RUNNING GAMES MUST BE RESTARTED FOR THIS TO TAKE EFFECT All games with me as game owner has already been restarted. |
Re: New & raw web based Dominion II game server
Hi there,
There's a game on the server called "Mark's game" which is redundant and can be deleted. I'd originally used it as a test and intended to play a two-player game, but the server was already full and the game stayed stopped. Anyway, I've learnt how to create games and that one's just wasting a slot. Fell free to kill it. Mark |
Re: New & raw web based Dominion II game server
Newflash: MD5 checksum of Gods and computer controlled nations now displayed on Browse Game screen.
You want to be sure that you uploaded that pretender? Really sure? Well, now I display the md5 128-bit checksum, hex-encoded, in the browse game screen. So all you have to do is to compare this sum with the output of md5sum mynation.2h on your on own computer. If they match, it is your pretender. If not--- not. I now also display whether a nation is computer controlled. Will a windows and a mac user please supply how you make a md5 checksum? I'm sure Solaris can use the instructions above. |
Re: New & raw web based Dominion II game server
Quote:
</font><blockquote><font size="1" face="sans-serif, arial, verdana">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">md5sum mynation.2h </pre><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">That is assuming you have md5sum. My understanding is that it doesn't come with older Versions of Windows. Though it probably doesn't come with newer Versions of Windows either. |
All times are GMT -4. The time now is 05:19 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.