.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 server in batch mode (http://forum.shrapnelgames.com/showthread.php?t=37692)

lebarjack February 15th, 2008 04:20 PM

starting a server in batch mode
 
I try to start a dom3 server in batch mode but it stops and ask for the ip address:
<font class="small">Code:</font><hr /><pre>
lebarjack@lebarjack-desktop ~/servdom $ dom3 -STddd --port 12345 --era 2 --mapfile aran.map testgame

-------------------------
----- DOMINIONS ---------
-------------------------

Version version 3.14 (314)dbglevel 3 pc_endian
datapath='/usr/local/games/dominions3'
confpath='/home/lebarjack/dominions3'
savepath='/home/lebarjack/dominions3/savedgames'
modpath='/home/lebarjack/dominions3/mods'
mappath='/usr/local/games/dominions3/maps'
localmappath='/home/lebarjack/dominions3/maps'
temppath='/tmp/dominions3_44531'
-- general_init --
host_bugcheck
-- start --
get ipadr
Enter the IP address of this computer:
</pre><hr />

I cannot find an option to force it on an ip address on the command line.
--ipadr seems only useful for client connecting to a server.

Any idea to start "automated" games?

thejeff February 15th, 2008 04:38 PM

Re: starting a server in batch mode
 
Your command line works for me.

It looks like there's a get ipadr check that's failing.

I get :
(after things)
-- start --
get ipadr
0 192.168.133.2
done (192.168.133.2)
-- Waiting for participants to connect --


Do you have your hostname and address set properly?
Does 'hostname -i' give you the right ip?

lebarjack February 15th, 2008 05:42 PM

Re: starting a server in batch mode
 
thanks, 'hostname -i' dont give me the good ip.
That must be the source of the problem.

lebarjack February 15th, 2008 05:53 PM

Re: starting a server in batch mode
 
I tried to launch a game on the real server and it worked ok.
You were right, my local ip configuration (dhcp + NAT) was preventing the server to launch correctly.
Thank you


All times are GMT -4. The time now is 12:08 PM.

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