.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old June 22nd, 2004, 04:22 PM

LokeUtgaard LokeUtgaard is offline
Private
 
Join Date: Apr 2004
Location: Denmark
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
LokeUtgaard is on a distinguished road
Default 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
Reply With Quote
  #2  
Old July 5th, 2004, 03:38 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Creating game from commandline and exit

I think you want to force a hosting. Try setting the timer to 1
--uploadtime 1
__________________
-- 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!)
Reply With Quote
  #3  
Old July 5th, 2004, 06:06 PM

LokeUtgaard LokeUtgaard is offline
Private
 
Join Date: Apr 2004
Location: Denmark
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
LokeUtgaard is on a distinguished road
Default 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 :-)
Reply With Quote
  #4  
Old July 5th, 2004, 06:22 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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 ]
__________________
-- 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!)
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:31 AM.


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