
March 30th, 2004, 06:41 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Hosting for Absolute Beginners
Quote:
Originally posted by Tals:
Windows OS.
|
Ouch. All I can offer is an example of what I used in Linux which is probably twice as complicated as you need....
nohup dom2 -STq --nonationsel --port 7011 -g RyanEye -t 0 0 -t 1 0 -t 2 0 -t 3 0
-t 4 0 -t 5 0 -t 6 0 --postexec /home/dominion/dominions2/RyanEye.cmd >/dev/null 2>>RyanEye.err &
The -q does a quick processing if everyone gets their turns in. The -t commands say at each day (0 1 2 3 4 5 6) at midnight (0) process if there wasnt a quickturn. I think thats what you were most interested in.
The postexec calls a .cmd command script which updated a web page and sent emails. I wasnt mailing back turns though so now I would probably use the new --preexec so I could add a directory view of the game files. That would give me an email record of who did and didnt turn in turns. Who was first, who was Last, who didnt get one in at all. For sending out turns --postexec would be better.
I host in linux and play in windows. Im not sure how to do things with a postexec or preexec script in windows (a batch file with .bat extension probably). The only thing I would use it for would be to play a sound and let me know to do another turn for directly connected games.
[ March 30, 2004, 16:44: 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!)
|