.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 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old October 1st, 2006, 10:12 AM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default Starting a new game...

Have anyone tried to start a new game from the command line, without any user interaction? Naively, I thought it could done with something like
Code:

dom2 --mapfile eye.map -g gamename


But that just gives
Code:

�ot gick fel!
no fatherland file found
N�ot gick fel!
no fatherland file found


This is really a snag for my new server, so please help
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
Reply With Quote
  #2  
Old October 2nd, 2006, 02:00 PM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default Re: Starting a new game...

Are there really no way to do this? *sniffs* Even in dom3?
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
Reply With Quote
  #3  
Old October 2nd, 2006, 02:59 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Starting a new game...

I can't experiment with it now, but I don't think you want -g. That's the host switch, isn't it?
Reply With Quote
  #4  
Old October 2nd, 2006, 03:01 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Starting a new game...

Yup -g is the host switch and should not be used for game createion. Starting a new game with switches only is not implemented unfortunatelly. But you might be able to get around that by start a tcp game and then quitting it and continue it as a e-mail game.
__________________
http://www.illwinter.com
Reply With Quote
  #5  
Old October 2nd, 2006, 03:34 PM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default Re: Starting a new game...

Quote:
Johan K said:
Yup -g is the host switch and should not be used for game createion. Starting a new game with switches only is not implemented unfortunatelly. But you might be able to get around that by start a tcp game and then quitting it and continue it as a e-mail game.
Most sad. So no way to make a pbm server :/ And I had a good part of the web frontend coded, too. Ah well.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
Reply With Quote
  #6  
Old October 2nd, 2006, 04:20 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Starting a new game...

I din't say there was no way. It might be possible if you use the tcp server stuff to create the game, which might be possible to do automatically. But I haven't tried it.
__________________
http://www.illwinter.com
Reply With Quote
  #7  
Old October 2nd, 2006, 05:07 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: Starting a new game...

YAY!
HOORAH!
CHEERS!
After two days of playing with switches and the order of the switches THIS WORKED!

dom3 -ST --port 5432 --era 1 --mapfile eye.map --uploadtime 0 pbem

We are BACK in business!
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
  #8  
Old October 2nd, 2006, 05:12 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: Starting a new game...

Even MORE good news!
This one also works! The other one should work for Dom2 but this one is Dom3 only

dom3 -STd --port 5432 --era 1 --mapfile eye.map --uploadmaxp 6 pbem

OK definetly leave off the -g
And the uploadmxp thing is a new switch (one which I requested) which allows you to set the number of players that a game can have. It will auto-start when it hits that number. It was mostly for things like small-map blitz games where you wanted them to choose any nation you wanted but you wanted the game to start after 2 people joined, or 3 people, or 4. You could even start a full game and use --noclientstart so that it would start automatically when the nations were full.

ANYWAY.. it will autostart the game. If you have 6 gods uploaded to the game dir, and set it for max 6 players, then it will check the files and start the game. YAY!
__________________
-- 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
  #9  
Old October 2nd, 2006, 05:17 PM
Taqwus's Avatar

Taqwus Taqwus is offline
Major General
 
Join Date: Aug 2000
Location: Mountain View, CA
Posts: 2,162
Thanks: 2
Thanked 4 Times in 4 Posts
Taqwus is on a distinguished road
Default Re: Starting a new game...

Johan, you've been turned into a Monster Toad? I hope you get better soon.
__________________
Are we insane yet? Are we insane yet? Aiiieeeeee...
Reply With Quote
  #10  
Old October 2nd, 2006, 05:30 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: Starting a new game...

So says the goose

The hardest part on ironing this out was getting past my thinking of the -g switch as being for naming the game. Well not the hardest part but that was my longest stupid roadblock. Definetly leave off the -g and put the game name at the end of the command string
__________________
-- 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 08:27 PM.


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