.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Creating game from commandline and exit (http://forum.shrapnelgames.com/showthread.php?t=19446)

LokeUtgaard June 22nd, 2004 04:22 PM

Creating game from commandline and exit
 
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

Re: Creating game from commandline and exit
 
I think you want to force a hosting. Try setting the timer to 1
--uploadtime 1

LokeUtgaard July 5th, 2004 06:06 PM

Re: Creating game from commandline and exit
 
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

Re: Creating game from commandline and exit
 
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 ]


All times are GMT -4. The time now is 08:55 AM.

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