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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

Closed Thread
 
Thread Tools Display Modes
  #1  
Old March 17th, 2004, 09:10 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

Quote:
Originally posted by Esben Mose Hansen:
Not easily, unfortunately. It can only be done with manual intervention. The only way to do this would be to kill the dominion server (dom2), then restart it with new options. This is not a problem (not even from a script), but handling anyone currently logged in is.
Well, handling somebody currently logged in isn't really so difficult: The act of killing the Dominion server will take care of that for you: The aforementioned logged-in schmuck gets a nice, friendly, "Nagot Gick Fel" and is booted from the game the moment he tries to submit his turn.

Then when he reconnects, his turn data is uploaded just fine. No problems.
  #2  
Old March 17th, 2004, 10:54 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

Quote:
Originally posted by Norfleet:
quote:
Originally posted by Esben Mose Hansen:
Not easily, unfortunately. It can only be done with manual intervention. The only way to do this would be to kill the dominion server (dom2), then restart it with new options. This is not a problem (not even from a script), but handling anyone currently logged in is.
Well, handling somebody currently logged in isn't really so difficult: The act of killing the Dominion server will take care of that for you: The aforementioned logged-in schmuck gets a nice, friendly, "Nagot Gick Fel" and is booted from the game the moment he tries to submit his turn.

Then when he reconnects, his turn data is uploaded just fine. No problems.

And if is kicked while uploading the turn? Does the dominion server handle that, or is his turn just corrupted/lost?

I have actually thought about this, as this way I would be able to implement all the timing features I want without relying on the (somewhat shaky/lacking) timing features of the dominion host itself. The problem of being kicked while uploading (and the difficulty of actually testing this) has kept me from trying, though. Being able to change the pace after a set number of turn would be just the beginning...
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
  #3  
Old March 17th, 2004, 11:10 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

Quote:
Originally posted by Esben Mose Hansen:
And if is kicked while uploading the turn? Does the dominion server handle that, or is his turn just corrupted/lost?
I'm pretty sure the Dominions server is equipped to handle this: It probably writes the turn into a temporary file before accepting it at all. If you enter an incorrect password while logging in, I still see the data transferring to suggest that it's uploading a file anyway: If the Dominions II server actually overwrote the good orders, you could thrash someone's turn by trying to be him, even if you don't have his password. This doesn't appear to happen, however, as when I tested this, the file that was originally there was unaltered.

In any case, it would be no different from if the user crashed or got disconnected in mid-upload: Dominions II is smart enough to probably write the incoming data somewhere temporary. This shouldn't pose a problem.
  #4  
Old March 18th, 2004, 01:03 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

OK, I'll try and include this in my rewrite. In the first incarnation, this will simply be the possibility to stop, start and restart games that has been created by that user.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
  #5  
Old March 25th, 2004, 12:17 PM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: New & raw web based Dominion II game server

Umh, I'd like to join/start a game soon, but I wonder if there is a possibility to stop a 48h-host game on your server for a short period of time, for I will be away during easter, and propably without internet connection...

So I decided to wait until after easter before I participate, easy solution, but still I wonder if a game could be laid dormant if all players agree? There might be other holidays coming up - and I'd rather wait for a fellow player than ruining a good game...
  #6  
Old March 29th, 2004, 06:01 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

Does your server host with renaming enabled? I've heard that it doesn't, which is increasingly eew. You should probably enable this option by default, if possible.
  #7  
Old March 29th, 2004, 09:18 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

Quote:
Originally posted by Norfleet:
Does your server host with renaming enabled? I've heard that it doesn't, which is increasingly eew. You should probably enable this option by default, if possible.
I'd love to, but the option is not availble for servers. See (linux command below, adjust for whatever system you use)
code:
 
less `locate command_line_switches`

for availble switches.

You could probably bug illwinter for it... it should be simple for them to put the option on a command line switch...

Meanwhile, my next gen server pages are nearing release time. When they do, I'll announce it here and start a new thread. If anyone is interesting in running their own server in this manner, write and I'll GPL the code & post it somewhere (sourceforce.net comes to mind). You would need a Linux machine with a static IP to do this; a Mac could probably do as well with a bit more work.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
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 02:20 PM.


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