Page 1 of 1
Forced LAN Only Server?
Posted: 17 Sep 2011, 16:48
by fng_thatoneguy
I searched using the forum search and Google specific to this site and couldn't find this question asked yet, so my apologies if it already has been...
I'm trying to launch a dedicated server on my LAN only for testing purposes. Sometimes I'm in a place where there is no internet connection, but I'm testing an app on the same machine as the server that needs to talk to the XML-RPC --- so I don't really need a network connection.
However, every time I launch the dedicated server, it tries to connect to the master server and start as an internet server, even if I haven't put /internet in the shortcut.
What can I do to prevent the dedicated server from trying to connect to the master server and prevent it from trying to launch as an internet server?
Thanks in advance...
Re: Forced LAN Only Server?
Posted: 17 Sep 2011, 17:16
by XR_Merlin
Try /lan as a parameter.
e.g:
Code: Select all
ManiaPlanetServer.exe /game_settings=MatchSettings/Beta1.txt /dedicated_cfg=dedicated_cfg.txt /title=TMCanyon /lan
Re: Forced LAN Only Server?
Posted: 17 Sep 2011, 17:19
by Xymph
fng_thatoneguy wrote:However, every time I launch the dedicated server, it tries to connect to the master server and start as an internet server, even if I haven't put /internet in the shortcut.
What can I do to prevent the dedicated server from trying to connect to the master server and prevent it from trying to launch as an internet server?
/internet is default. Try the /lan option. Don't know if it still tries to "phone home" though.
See here for
all command-line options (TMF, but should mostly apply for TM²C as well). See my TM² hub page for lots more links.
Re: Forced LAN Only Server?
Posted: 17 Sep 2011, 17:20
by fng_thatoneguy
Thanks! I thought I'd tried that before with no luck. But I tried it again anyway, and it looks like it took.
Much appreciated!

Re: Forced LAN Only Server?
Posted: 17 Sep 2011, 17:27
by fng_thatoneguy
Xymph wrote:fng_thatoneguy wrote:However, every time I launch the dedicated server, it tries to connect to the master server and start as an internet server, even if I haven't put /internet in the shortcut.
What can I do to prevent the dedicated server from trying to connect to the master server and prevent it from trying to launch as an internet server?
/internet is default. Try the /lan option. Don't know if it still tries to "phone home" though.
See here for
all command-line options (TMF, but should mostly apply for TM²C as well). See my TM² hub page for lots more links.
+1 my friend! That will help me a ton.
Thanks so much.

Re: Forced LAN Only Server?
Posted: 16 Dec 2011, 18:46
by Miochens
i also used /lan and it worked that the server isnt visible in the internet!
is there a posibility to make a server without internet? (for a LANparty) if i try without it says:
Code: Select all
Starting ManiaPlanet date=2011-10-12_13_57 Svn=41571 GameVersion=3.0.0...
Initializing...
Configuration file : dedicated_cfg.txt
Loading system configuration...
...system configuration loaded
Loading cache...
...OK
Listening for xml-rpc commands on port 5000.
Loading dedicated server configuration...
...Dedicated server configuration loaded
Connecting to master server...
...ERROR: server unknown or not connected to the internet
Please wait, loading...
Match settings file : MatchSettings\MioTracks.txt
Loading match settings...
...Match settings loaded
Autostart server on internet
Server not running, exiting.
Press a key to quit.
so he want to connect to the master server and than it stops...
cheers
Mio
Re: Forced LAN Only Server?
Posted: 16 Dec 2011, 19:08
by jonthekiller
You need to add /lan in your bat after ManiaPlanetServer.exe
Re: Forced LAN Only Server?
Posted: 17 Dec 2011, 12:19
by Miochens
hi, thx for your help! i already added the /lan, but the exe want to connect to the internet, exactly to the master_server . Than it appears a "...ERROR: server unknown or not connected to the internet" message!
So is there a possibility to start the Server in Offlinemode, without the connection to the masterserver?
Code: Select all
ManiaPlanetServer.exe /game_settings=MatchSettings/MioTracks.txt /dedicated_cfg=dedicated_cfg.txt /title=TMCanyon
/lan
cheers Mio
Re: Forced LAN Only Server?
Posted: 17 Dec 2011, 12:24
by w1lla
Miochens wrote:hi, thx for your help! i already added the /lan, but the exe want to connect to the internet, exactly to the master_server . Than it appears a "...ERROR: server unknown or not connected to the internet" message!
So is there a possibility to start the Server in Offlinemode, without the connection to the masterserver?
cheers Mio
Try this:
Code: Select all
ManiaPlanetServer.exe /lan /game_settings=MatchSettings/MioTracks.txt /dedicated_cfg=dedicated_cfg.txt /title=TMCanyon
Re: Forced LAN Only Server?
Posted: 17 Dec 2011, 23:42
by Miochens
thank you very much! i wanted to start editing all the config files
now it works excellent!
cheers mio