.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

Reply
 
Thread Tools Display Modes
  #11  
Old September 3rd, 2004, 10:19 AM

magnate magnate is offline
Sergeant
 
Join Date: Mar 2004
Location: London, UK
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
magnate is on a distinguished road
Default Re: How multiplayer is working out for you guys...

How does the server notify you when the turn has been hosted (using quickhost)? With a PBEM it's there in your email. Assuming you don't want to stay permanently connected to the game server, how do you know? If you wait a couple of days (when you expected the turn to run), you lose all the benefit of quickhost.

Am I missing something?
__________________
There will be poor always, pathetically struggling - look at the good things you've got ...
-- from "Jesus Christ Superstar"
Reply With Quote
  #12  
Old September 3rd, 2004, 10:37 AM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: How multiplayer is working out for you guys...


Yep. You connect to the server once or twice a day. It hardly requires you to stay "permanently connected". Takes about what - 15-30 seconds to connect and see the status?

Also, some server games have ways of notifying you. Via email, via a website, or in Esben's case (mosehansen) jabber or whatnot.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #13  
Old September 3rd, 2004, 10:47 AM

Thufir Thufir is offline
First Lieutenant
 
Join Date: Jul 2004
Location: California
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Thufir is on a distinguished road
Default Re: How multiplayer is working out for you guys...

Quote:
magnate said:
How does the server notify you when the turn has been hosted (using quickhost)? With a PBEM it's there in your email. Assuming you don't want to stay permanently connected to the game server, how do you know? If you wait a couple of days (when you expected the turn to run), you lose all the benefit of quickhost.

Am I missing something?
Indeed, you are

With any server, it's not all that hard to check up occasionally to see if the turn has run (although that does require a Dom2 client). Better yet, with a mosehansen's web front end, it's easy to check the state with any standard browser. Since it tells you the state of all the players, and whether or not they've submitted their turns, you have a pretty good idea of whether you're getting close to the turn hosting (i.e. if only one player is left to submit, then it'll host as soon as that Last player finishes his turn).

Best of all, the ever clever author of the mosehansen server has built in notification via IM w/ Jabber compliant IM clients. I haven't tried this yet, so if anyone out there has, and can say whether this is working well, or not, that'd be helpful. But in advance of such advice, the notification feature sounds pretty nifty and Esben has put a few links to various Jabber IM clients (which I'll be checking out soon ).
Reply With Quote
  #14  
Old September 3rd, 2004, 11:22 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: How multiplayer is working out for you guys...

Quote:
magnate said:
How does the server notify you when the turn has been hosted (using quickhost)? With a PBEM it's there in your email. Assuming you don't want to stay permanently connected to the game server, how do you know? If you wait a couple of days (when you expected the turn to run), you lose all the benefit of quickhost.

Am I missing something?
There are switches for --preexec and --postexec which will gladly run a routine before or after running the host. In a strictly PbEM game Im guessing it would be used to email the turn files to each player. In a server game it shouldnt be hard to have it email a "HEY! the turn is DONE" message to the list of players (or IM or even a text message to my cell phone). Of course I would also probably use --preexec to make sequential backups of the .2h files before doing a host, and run the game with the --scoredump so that the --postexec can coy the score.html to a webdir for people to check on. Maybe some other neat tricks.

I LOVE that the server will run text-mode on a linux server. It makes doing things like that SOOOooooo easy. Im not sure how you would accomplish any of it on other systems but its there to play with.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #15  
Old September 3rd, 2004, 06:34 PM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: How multiplayer is working out for you guys...

At some point I tried making a script to be used as a --postexec option for turn backup, but getting the turn number (I wanted to keep copies of the game files in Turns/XX/ subdirectories, where XX stands for the turn numbers) was so ugly, I more or less gave up.

But, when one of the players can keep his PC running 24/7, a TCP/IP game with smart enough quickhost options is pretty neat - I convinced a good bunch of other French players of that in a spring game. Just have a look at the options - you can set the server so that it hosts, say, anytime all turns are in, plus whenever 24 hours have passed since the Last hosting, except that Saturdays and Sundays don't count. Or something similar, if it doesn't fit your schedule.
Reply With Quote
  #16  
Old September 3rd, 2004, 10:00 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: How multiplayer is working out for you guys...

Quote:
PhilD said:
At some point I tried making a script to be used as a --postexec option for turn backup, but getting the turn number (I wanted to keep copies of the game files in Turns/XX/ subdirectories, where XX stands for the turn numbers) was so ugly, I more or less gave up.
I think both --scoredump and --status create a file with the turn number in it. Ive been thinking along the same lines. There are already a couple Versions of programs to do that but they all require that the user have some programming environment loaded to run the scripts. I was going to "basic" it so that I could offer a stand-alone EXE but if you want to C it that would be great.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #17  
Old September 4th, 2004, 03:30 AM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: How multiplayer is working out for you guys...

Quote:
Gandalf Parker said:

I think both --scoredump and --status create a file with the turn number in it. Ive been thinking along the same lines. There are already a couple Versions of programs to do that but they all require that the user have some programming environment loaded to run the scripts. I was going to "basic" it so that I could offer a stand-alone EXE but if you want to C it that would be great.
No, it was a bash script - my "solution" wrote a file that contained the turn number, and read from it each time. Like I said, it's ugly - and won't work properly if some turns are run without the script - but that's basically the only way I could think of for adding "permanent memory" to a script.
Reply With Quote
  #18  
Old September 4th, 2004, 05:32 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: How multiplayer is working out for you guys...

Quote:
Thufir said:
Best of all, the ever clever author of the mosehansen server has built in notification via IM w/ Jabber compliant IM clients. I haven't tried this yet, so if anyone out there has, and can say whether this is working well, or not, that'd be helpful. But in advance of such advice, the notification feature sounds pretty nifty and Esben has put a few links to various Jabber IM clients (which I'll be checking out soon ).
It works indifferently. That is, mostly not :-/ I havn't had the courage to look at it recently, been busy elsewhere.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
Reply With Quote
  #19  
Old September 4th, 2004, 11:09 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: How multiplayer is working out for you guys...

Quote:
PhilD said:
Quote:
Gandalf Parker said:

I think both --scoredump and --status create a file with the turn number in it. Ive been thinking along the same lines. There are already a couple Versions of programs to do that but they all require that the user have some programming environment loaded to run the scripts. I was going to "basic" it so that I could offer a stand-alone EXE but if you want to C it that would be great.
No, it was a bash script - my "solution" wrote a file that contained the turn number, and read from it each time. Like I said, it's ugly - and won't work properly if some turns are run without the script - but that's basically the only way I could think of for adding "permanent memory" to a script.
Then use --scoredump or --status and grep it.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
Reply

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:46 PM.


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