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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old February 28th, 2005, 11:09 PM

Ice_Sickle Ice_Sickle is offline
Private
 
Join Date: Apr 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Ice_Sickle is on a distinguished road
Default Command Line game name

I'm trying to modify the command line to launch a host. I can't figure out how to tell it the name of the game. Sort of pointless with that. It's not in the list in teh doc file as far as I can tell.

Thanks in advance.


Ice
Reply With Quote
  #2  
Old February 28th, 2005, 11:19 PM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: Command Line game name

It's a first parameter which is not an option. Something like
Code:

dom2.exe -s -q -T --mapfile urgaia.map --renaming -M conceptp2.dm -M conceptscale11.dm -M conceptscale11.dm -M concepts18.dm --magicsites 50 --indepstr 6 --tcpserver --ipadr 192.168.1.100 --port 32766 2005Jan22


Considering that I've figured it out, it should be either:
- in the documentation or
- obvious
Reply With Quote
  #3  
Old March 1st, 2005, 03:13 AM

Ice_Sickle Ice_Sickle is offline
Private
 
Join Date: Apr 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Ice_Sickle is on a distinguished road
Default Re: Command Line game name

I guess I'm missing something. The map I'm using is Orania but the game name is "Twist." If I select the map name it won't grab the files in "Twist" will it? It will just start a new game. Or am I lost?
Reply With Quote
  #4  
Old March 1st, 2005, 05:47 AM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: Command Line game name

I guess he means that you should then write Twist somewhere among the parameters without anything in front. I guess the game name is an argument and not an option!
Reply With Quote
  #5  
Old March 1st, 2005, 08:38 AM

Tuna Tuna is offline
Corporal
 
Join Date: Aug 2004
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Tuna is on a distinguished road
Default Re: Command Line game name

Hey, what was the parameter/key/whatever that lets you see the id of monsters and weapons, I remember there is one but can't really remeber what it was, and couldn't find it in the docs.
Reply With Quote
  #6  
Old March 1st, 2005, 09:40 AM

liga liga is offline
Second Lieutenant
 
Join Date: Apr 2001
Location: Modena, Italy
Posts: 412
Thanks: 0
Thanked 0 Times in 0 Posts
liga is on a distinguished road
Default Re: Command Line game name

Quote:
Tuna said:
Hey, what was the parameter/key/whatever that lets you see the id of monsters and weapons, I remember there is one but can't really remeber what it was, and couldn't find it in the docs.
you must just select it in the game and press 'I' (capital I)

good play
Liga

isn't it on my Manual-Addenda ? I have to check and to add!
__________________
##############
www.liga3m.it
##############
Reply With Quote
  #7  
Old March 1st, 2005, 06:29 PM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default Re: Command Line game name

Ice Sickle, here is the format:

dom2.exe <parameters> --mapfile <mapfilename> <gamename>

For example:

dom2.exe -STq --port 2001 --mapfile orania.map Twist

If your game was already created/running and you just need to restart it, drop the --mapfile and all other game-start parameters (like hall of fame, research settings, etc):

dom2.exe -STq --port 2001 Twist

Hope that helps. Don't worry if this is confusing to you. Contrary to what some people might say, there is NO good documentation on how to properly start/run a server. Everyone I have met who knows just fumbled through the command lines and figured it out through trial and error.

Quote:
Ice_Sickle said:
I guess I'm missing something. The map I'm using is Orania but the game name is "Twist." If I select the map name it won't grab the files in "Twist" will it? It will just start a new game. Or am I lost?
Reply With Quote
  #8  
Old March 1st, 2005, 06:33 PM

Ice_Sickle Ice_Sickle is offline
Private
 
Join Date: Apr 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Ice_Sickle is on a distinguished road
Default Re: Command Line game name

Thanks so much Ironhawk!


Ice
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 02:53 AM.


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