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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old February 16th, 2004, 02:33 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: Dedicated Servers?

I've made a Dominions Server not following the ideas below ) It's pure TCP/IP hosting, and not fleshed out fully yet. But do head over, post some comments here
and play a game!
__________________
"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
  #2  
Old February 15th, 2004, 03:26 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: Dedicated Servers?

Excellent start there. The tcpip server method will be good for marathon games.

But if you get some of the 1-turn-a-day games then they can Last months. I figure if I can make the upload/download simple then a cron to do a daily host can allow the same machine to start a new game every day even if they are all running. If we can get 2 servers going.. one for marathons and one for daily-turn then I think a large gap in the community could be provided for.
__________________
-- 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
  #3  
Old February 15th, 2004, 05:22 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: Dedicated Servers?

Gandalf has very good points But just to make it perfectly clear: I won't mind hosting a few one-turn-pr.day games on my server. So if someone out there wants to start one of those, and needs a place to host it, go ahead (As long as you don't mind me joining)

A real problem, not specific to my setup, is "how to get some AIs"? One could, of course, start with several gods and then become computer controlled. But then a lot intellegence about that AI would be known to someone.

What I would like would be a command line switch:
--AI Man --AI Ulm
but I'm not sure such can be faked...
__________________
"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
  #4  
Old February 15th, 2004, 05:45 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: Dedicated Servers?

Such a switch would be nice but there is a possible work-around. AI's can be created with map commands.

I think the map is probably in the player files so to avoid an error you would probably have to leave the map named the same. But you could...
1) copy xxxxx.map to xxxxx.tmp
2) append the AI comands
3) start the game
4) copy xxxxx.tmp back to xxxxx.map so that you always have the original in place
__________________
-- 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
  #5  
Old February 15th, 2004, 06:22 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: Dedicated Servers?

Quote:
Originally posted by Gandalf Parker:
Such a switch would be nice but there is a possible work-around. AI's can be created with map commands.

I think the map is probably in the player files so to avoid an error you would probably have to leave the map named the same. But you could...
1) copy xxxxx.map to xxxxx.tmp
2) append the AI comands
3) start the game
4) copy xxxxx.tmp back to xxxxx.map so that you always have the original in place
If there's a mechanical way I'm sure I could whip up a Perl script to automate it.... or rather, build it into my existing "launch&control" script.

That would be awesome... I'll go read & experiment some.
__________________
"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
  #6  
Old February 15th, 2004, 07:07 PM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: Dedicated Servers?

Quote:
Originally posted by Esben Mose Hansen:
A real problem, not specific to my setup, is "how to get some AIs"? One could, of course, start with several gods and then become computer controlled. But then a lot intellegence about that AI would be known to someone.

What I would like would be a command line switch:
--AI Man --AI Ulm
but I'm not sure such can be faked...
That won't be a problem with the coming Version. There will be switches to enable AI players as well as some other switches that I have forgotten about. Maybe the --preexec is a new one.
__________________
www.illwinter.com
Reply With Quote
  #7  
Old February 15th, 2004, 07:35 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: Dedicated Servers?

YAY! yes the preexec is one I requested. Thank you! We can automate backups and have email notices tell us who didnt do their turn.

By any chance...
make game and quit?
more involved stat output?
is master password a switch? (I cant remember)

[ February 15, 2004, 17:36: Message edited by: Gandalf Parker ]
__________________
-- 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 10:42 AM.


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