PDA

View Full Version : Creating game from commandline and exit


LokeUtgaard
June 22nd, 2004, 04:22 PM
I've been trying to create a new game from commandline and then exiting Dom2. Assuming that I have the pretender files and want to start a 2 player game with Pythium and Ulm. I've tried:

dom2 -S --port 1024 -g Test --mapfile eye.map --closed 2 --closed 4 --renaming -xxx

But this seems to start a server that waits for players to connect. What I want is to create the game and exit (so that I can mail the turns). Can someone direct me in the right direction on this? Any help greatly appreciated.

I am using a Windows box.

/Loke

Gandalf Parker
July 5th, 2004, 03:38 PM
I think you want to force a hosting. Try setting the timer to 1
--uploadtime 1

LokeUtgaard
July 5th, 2004, 06:06 PM
It seems to still wait for connects after the 1 minute countdown (or at least one connect).

dom2 -S --port 1024 --uploadtime 1 -g Test --mapfile eye.map --closed 2 --closed 4 --renaming -xxx

I tried throwing a --host in there too, but that didn't seem to make a difference either.

I much prefer playing Dom2 as PBEM, but it looks as if Dom2 prefers me to play TCP :-)

Gandalf Parker
July 5th, 2004, 06:22 PM
Hmmm I see -g but no -q
Try adding the Q for quit (host and quit). I tend to do things like this in text mode in linux so Im not sure what its waiting for

[ July 05, 2004, 17:24: Message edited by: Gandalf Parker ]