![]() |
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> &#65533;ot gick fel! no fatherland file found N&#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 |
Re: Starting a new game...
Are there really no way to do this? *sniffs* Even in dom3?
|
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?
|
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.
|
Re: Starting a new game...
Quote:
|
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.
|
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 |
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! |
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
|
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.