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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old December 31st, 2003, 05:19 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?

Here are my notes so far on a dedicated web server. I have the web server if anyone is interested in moving this along.....


Start signup script with a countdown toward game-start (1 day? 2 days?)

make backup copies of gods (.2h files) before starting game. (learned from experience)

Run a certain number of turns on quick then switch to midnights (cant run alot of tcp/ip games are once)

Dont start new signup/quick until all other games are on midnight. Should be able to run 100 games on rotation.

create cgi to upload files

create each game as user with email and webspace

give each nation subdir off of game webspace

give each player .htpasswd password access to their nations subdir

use midnight hosting script to gather turn files from subdirs

use midnight script or maybe --postexec to move turn files to subdir

setup procmail to extract turn files that are mailed into game email acct?

setup system for emailing turn files back to players who request it? or setup system for email notifications of turns being processed?

Possibly create CGI signup for games. List the games parameters. Offer the nations. When a user signs up then give them the .htpaswd password to the upload/download directory and rewrite web signup page to show nation taken. Requested by user: add password access to the signup? Or use htpasswd controls for that (give list of all nation access passwd to GameMaster of that game?)

Create a cron watchdog to keep an eye on the game directorys deleting anything that shouldnt be there so they dont get used as warez sites.
__________________
-- 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
  #2  
Old February 5th, 2004, 05:12 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?

OK new note to the project. All started games need to go in a list so that if the machine crashes you know which games need restarted.
Also the next patch should have a "start game and quit" switch coming.

[ February 05, 2004, 15:13: 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
  #3  
Old February 5th, 2004, 07:40 PM

dire dire is offline
BANNED USER
 
Join Date: Nov 2003
Location: Adelaide, Australia
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
dire is on a distinguished road
Default Re: Dedicated Servers?

Just curious, what stage is this project at? Has it even started?
Reply With Quote
  #4  
Old February 6th, 2004, 03:05 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: Dedicated Servers?

Quote:
Originally posted by dire:
Just curious, what stage is this project at? Has it even started?
So far the people who know bits and pieces of the subject have been ironing out questions. But none of them have jumped up and said they would run it. Ive offered a linux host site and Shrapnel offered a windows hosting.
__________________
-- 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 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
  #6  
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
  #7  
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
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 11:11 PM.


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