.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Starting a new game... (http://forum.shrapnelgames.com/showthread.php?t=30567)

Esben Mose Hansen October 1st, 2006 10:12 AM

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
<font class="small">Code:</font><hr /><pre>
dom2 --mapfile eye.map -g gamename
</pre><hr />
But that just gives
<font class="small">Code:</font><hr /><pre>
&amp;#65533;ot gick fel!
no fatherland file found
N&amp;#65533;ot gick fel!
no fatherland file found
</pre><hr />
This is really a snag for my new server, so please help http://forum.shrapnelgames.com/images/smilies/laugh.gif

Esben Mose Hansen October 2nd, 2006 02:00 PM

Re: Starting a new game...
 
Are there really no way to do this? *sniffs* Even in dom3?

thejeff October 2nd, 2006 02:59 PM

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?

Johan K October 2nd, 2006 03:01 PM

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.

Esben Mose Hansen October 2nd, 2006 03:34 PM

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.

Johan K October 2nd, 2006 04:20 PM

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.

Gandalf Parker October 2nd, 2006 05:07 PM

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

Gandalf Parker October 2nd, 2006 05:12 PM

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!

Taqwus October 2nd, 2006 05:17 PM

Re: Starting a new game...
 
Johan, you've been turned into a Monster Toad? I hope you get better soon. http://forum.shrapnelgames.com/images/smilies/wink.gif

Gandalf Parker October 2nd, 2006 05:30 PM

Re: Starting a new game...
 
So says the goose http://forum.shrapnelgames.com/images/smilies/happy.gif

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


All times are GMT -4. The time now is 07:23 PM.

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