Can't find server on LAN

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
User avatar
BenTrein
Engineer
Engineer
Posts: 21
Joined: 24 Dec 2009 10:26
Skype: bentrein
Location: Samut Prakarn, Thailand
Contact:

Can't find server on LAN

Post by BenTrein » 30 Mar 2019 11:46

At home on one network I play on one machine with the n-ice client, and on the other with the standard client. I've disabled the firewalls, but still - when I create a multiplayer game, the server doesn't show up. When I try to connect with "openttd -n IP:3979" (and yes, IP replaced by the correct IP-address), OpenTTD starts up but hangs 'looking for NewGRF - scanning 0 out of estimated 1'. I've added the n-ice client grf to the normal client's machine, and still it hangs.

I'm running on both machines LinuxMint 19. Any suggestions to answer the question 'now what?' are very welcome!
Greetz,

Ben Trein

The internet isn't a highway. It's a swamp: the more you surf, the more it draws you in!

Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4738
Joined: 09 Sep 2007 05:03
Location: home

Re: Can't find server on LAN

Post by Alberth » 30 Mar 2019 15:23

Not showing up in the list is expected, you pull that information from the openttd.org server list, and that machine doesn't know about your LAN. You should be able to to simply connect by IP address though, and from your description it seems to work, except for the grf.

To confirm the latter I'd suggest to try connecting two games across the LAN with vanilla openttd (and to be on the safe side, don't use any newgrf in the game at first). If that connects, the network thing is doing what it is supposed to do, and you likely want to ask someone near n-ice, why the grf is a problem (assuming a vanilla grf does work, to eliminate silly problems like the wrong directory, insufficient access rights, etc).
Being a OpenTTD developer does not mean I know what I am doing.
Also, other OpenTTD developers may have different opinions.

User avatar
jfs
Director
Director
Posts: 565
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Can't find server on LAN

Post by jfs » 30 Mar 2019 17:13

Which version of OpenTTD? I think one of the bugs being fixed between 1.8.0 and 1.9.0 relates to connecting to multiplayer games from the commandline causing hangs.

Try starting the game without any parameters and join the server via the GUI instead.

Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 4 guests