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!)
|