.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
  #101  
Old March 16th, 2004, 08:31 PM
ywl's Avatar

ywl ywl is offline
Sergeant
 
Join Date: Sep 2003
Posts: 296
Thanks: 0
Thanked 0 Times in 0 Posts
ywl is on a distinguished road
Default Re: New & raw web based Dominion II game server

A question: is it possible to change the hosting frequency after the game is started? For example, host every 24 hours for the first 15 turns and then 48 hours afterwards.
  #102  
Old March 17th, 2004, 09:07 AM
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 ywl:
A question: is it possible to change the hosting frequency after the game is started? For example, host every 24 hours for the first 15 turns and then 48 hours afterwards.
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.

If I had designed the game, the hosting application (the turn generation part) would be distinct from the server (which handles uploads and such) and from the client (which would interface to the other; and start them locally if neccessary). But this is merely wishing... :-(
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
  #103  
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.
  #104  
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)
  #105  
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.
  #106  
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)
  #107  
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...
  #108  
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.
  #109  
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)
  #110  
Old March 31st, 2004, 04:37 AM
Zapmeister's Avatar

Zapmeister Zapmeister is offline
First Lieutenant
 
Join Date: Nov 2003
Location: Hobart, Australia
Posts: 772
Thanks: 7
Thanked 3 Times in 2 Posts
Zapmeister is on a distinguished road
Default Re: New & raw web based Dominion II game server

4 questions:

1. What does it mean when there are no nations at all listed in the Participants column?

2. What happens if all players abandon a game? Will the game get deleted by the system somehow, or will it hang around consuming a slot?

3. I started a game in which I'm pretty dang sure I left the Quickhost box unchecked. But the game is being quickhosted anyway. Is this bugged?

4. Is there a way of applying a victory condition (e.g. provinces) that isn't based on VPs?
__________________
There are 2 secrets to success in life:
1. Don't tell everything you know.
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 07:26 PM.


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