|
|
|
 |

March 29th, 2004, 10:18 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:
Has anyone got the command line to setup a host, gens when all turns are submitted + 24 hr if not.
Additionally to spice it up, i;ve seen one send an email when the turn is genned is that possible.
|
For which operating system? Solaris? Mac? Linux? WIndows? (it does make a difference. Especially for question 2)
__________________
-- 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!)
|

March 30th, 2004, 07:10 AM
|
 |
Corporal
|
|
Join Date: Oct 2003
Location: UK
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Hosting for Absolute Beginners
Windows OS.
Tals
|

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

March 30th, 2004, 10:26 PM
|
 |
Lieutenant Colonel
|
|
Join Date: Oct 2003
Location: Gilbert, AZ
Posts: 1,375
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Hosting for Absolute Beginners
hold it, HOLD IT!!!
I am the master of Windows OS hosting. What seems to be the problem? Hmm? What SEEEMS!!! to BE!!! thE ProBLEM!!!?? WHAT!! SEEMS!!! TO!!! BE THE!!!! PROBLEM?!?!? EHY??? TELL ME, COME ON!!!
WEEE!!
|

March 30th, 2004, 10:47 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 Argitoth:
hold it, HOLD IT!!!
I am the master of Windows OS hosting. What seems to be the problem? Hmm? What SEEEMS!!! to BE!!! thE ProBLEM!!!?? WHAT!! SEEMS!!! TO!!! BE THE!!!! PROBLEM?!?!? EHY??? TELL ME, COME ON!!!
|
Well his original question was.....
Has anyone got the command line to setup a host, gens when all turns are submitted + 24 hr if not.
Additionally to spice it up, i;ve seen one send an email when the turn is genned is that possible.
to which we can now add "for Windows"
[ March 30, 2004, 20:48: 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!)
|

March 31st, 2004, 12:03 AM
|
 |
Lieutenant Colonel
|
|
Join Date: Oct 2003
Location: Gilbert, AZ
Posts: 1,375
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Hosting for Absolute Beginners
Has anyone got the command line to setup a host, gens when all turns are submitted + 24 hr if not.
Additionally to spice it up, i;ve seen one send an email when the turn is genned is that possible.
Arrite, there is no command line to send e-mails. It is probably a 3rd party program. Quickhosting AND 24 hour turn generation is not a good idea. It is one or the other. The reason for this is the Last person could take their turn at 7pm and the turn generates. Then the same person takes their turn at 7:05pm. 5 hours later, the turn is hosted and only that person who took their turn at 7:05pm got their turn in because no one else knew the game hosted at 7:00pm. Here is the command line I use:
"C:\Program Files\Dominions 2\dom2.exe" --port #### --tcpserver -wqxxx FileName
--port specifies the port used
--tcpserver makes the shortcut run a server
-w windows mode
-q quickhost
-xxx use lowest graphics possible
FileName is what you named the game/folder
[ March 30, 2004, 22:04: Message edited by: Argitoth ]
|

March 31st, 2004, 06:39 AM
|
 |
Corporal
|
|
Join Date: Oct 2003
Location: UK
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Hosting for Absolute Beginners
I'll do some researching once I return from my holidays - need to chat to Moggy, as I believe she is on a windows machine and her games send out emails after each turn. Works very very nicely
Tals
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|