Forced LAN Only Server?

Moderator: NADEO

Post Reply
User avatar
fng_thatoneguy
Posts: 722
Joined: 05 Jan 2011, 18:06
Location: That One Place
Contact:

Forced LAN Only Server?

Post 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...
Image
XR_Merlin
Posts: 24
Joined: 16 Jun 2010, 18:09

Re: Forced LAN Only Server?

Post 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
User avatar
Xymph
Posts: 1399
Joined: 15 Jun 2010, 20:35
Contact:

Re: Forced LAN Only Server?

Post 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.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
User avatar
fng_thatoneguy
Posts: 722
Joined: 05 Jan 2011, 18:06
Location: That One Place
Contact:

Re: Forced LAN Only Server?

Post 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! :thumbsup:
Image
User avatar
fng_thatoneguy
Posts: 722
Joined: 05 Jan 2011, 18:06
Location: That One Place
Contact:

Re: Forced LAN Only Server?

Post 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. :yes:
Image
Miochens
Posts: 3
Joined: 16 Dec 2011, 18:43

Re: Forced LAN Only Server?

Post 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
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: Forced LAN Only Server?

Post by jonthekiller »

You need to add /lan in your bat after ManiaPlanetServer.exe
Image
Miochens
Posts: 3
Joined: 16 Dec 2011, 18:43

Re: Forced LAN Only Server?

Post 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
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: Forced LAN Only Server?

Post 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
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Miochens
Posts: 3
Joined: 16 Dec 2011, 18:43

Re: Forced LAN Only Server?

Post by Miochens »

thank you very much! i wanted to start editing all the config files :?

now it works excellent!

cheers mio
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: Google [Bot] and 1 guest