Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Fri Apr 19, 2019 9:15 pm

All times are UTC




Post new topic  Reply to topic  [ 23 posts ]  Go to page 1 2 Next
Author Message
 Post subject: Multiplayer
PostPosted: Fri Feb 08, 2019 11:38 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
hi team i want to play multiplayer with a friend that has openttd,
now i have my port open which is 3979 but when i go to play multiplayer in
openttd my server says offline? please help


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 12:55 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Jan 22, 2005 7:31 pm
Posts: 6424
Location: Wakefield, West Yorkshire
Make sure the port was forwarded to the correct local IP (aka: your local machine, and not the IP of another machine)
Make sure the port is open for both UDP & TCP, as I believe it uses both to some degree.
Make sure you have actually started the server from your local copy of OpenTTD, or started the server with openttd -D on console if running the server headless.

_________________
Image
Worst Behaved IRC Member of 2008, 2009 & 2010 - Go Me!


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 11:03 am 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
well the port was open haha my ipv4 address is 192.168.0.6
that's were i have forwarded 3979 and 3978 to but when i goto canyouseeme.org
it gives an error


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 11:18 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9260
Location: Sol d
Strawbs89 wrote:
well the port was open haha my ipv4 address is 192.168.0.6
that's were i have forwarded 3979 and 3978 to but when i goto canyouseeme.org
it gives an error

That is a private IP address which no-one external to your (home) network will be able to access. Extern users must use your public IP address which your router has - and which then must forward the mentioned ports towards your computer with your internal IP which you quote here.

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 11:44 am 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
it's still saying error i've correctly port forwarded in outbound
and inbound but i don't see why its giving error


Attachments:
Untitled.png [84.43 KiB]
Not downloaded yet
Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 12:21 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9260
Location: Sol d
As host you need to enable the port especially for inbound and outbound connections for both TCP/IP and UDP.

Additionally you need 3878 outbound to connect to our server if you want your server announced publicly (so that people need not type in your IP manually but can search for it ingame)

Our multiplayer readme which shipps with OpenTTD is a bit hidden in a separate file: https://github.com/OpenTTD/OpenTTD/blob ... player.txt
If the problem persists you might try what is detailed in the troubleshooting section therein to get more details where it fails

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 12:39 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
ok so i'v followed that link you sent me i'v opened 3978 in (outbound only) in both my router
and my windows defender firewall. as there's the other port 3979 thats outbound and inbound in both router and again windows defender firewall i check canyouseeme still error


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 1:45 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9260
Location: Sol d
Well... I check with https://servers.openttd.org whether it shows up there (it should when advertizement is working after a minute or so).

And all it needed to activate was adding the ports to my router.

It's not unheard of windows to sabotage any public services by whatever security policies it might have. So you might weed through windows security settings (I'm not familiar with those)


Attachments:
router_config.png [16.72 KiB]
Not downloaded yet
servers_openttd_org.png [24.58 KiB]
Not downloaded yet

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 2:10 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
rite my server is not logged on that server link you gave me now i don't know
if i have to have the game open or not


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 3:13 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9260
Location: Sol d
Strawbs89 wrote:
rite my server is not logged on that server link you gave me now i don't know
if i have to have the game open or not

Yes you do. And I'm pretty confident you need to have it running as well when you use the site you linked.

EDIT: tested, yes, you need to have OpenTTD running as server to use the service you linked... or it won't find anything to connect to.

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 3:18 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
what can you see my server on that list


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 3:21 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9260
Location: Sol d
Strawbs89 wrote:
what can you see my server on that list

How would I know how you call your server? And I cannot see more than you when checking any website. See also my edit to my answer above

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 3:23 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
ok would it be possible if you team viewed me please? to double check if ports are forwarded correctly


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 4:22 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Mar 30, 2005 9:43 am
Posts: 1618
In your screenshot, the "access from" field should not contain an IP address, as that is for limiting access to just that IP.

_________________
He's like, some kind of OpenTTD developer.


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 7:15 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
i have added two screenshots of my inbound and outbound


Attachments:
outbound.png [24.48 KiB]
Not downloaded yet
inbound.png [29.93 KiB]
Not downloaded yet
Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 8:04 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Mar 30, 2005 9:43 am
Posts: 1618
Change the "Access From" drop down to whatever allows everything.

_________________
He's like, some kind of OpenTTD developer.


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 8:07 pm 
Offline
Engineer
Engineer

Joined: Wed May 24, 2017 12:51 pm
Posts: 41
Location: East Texas
I don't know anything about your router software but in networking, the source is the sending the packet and the destination is the receiver. Also, when you talk about a range of addresses, the start is the beginning and "the finish" would be the end of the range.

My guess would be that your inbound connection range needs to be 0.0.0.0 to 0.0.0.0 to allow all computers on the internet to reach your server. 192.168.1.4 is your computer which is the destination, not the source for inbound packets.

Outbound is the reverse: your computer is the source and your friend is the destination.


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 9:01 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
so outbound is the source


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sat Feb 09, 2019 9:10 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
so i'v done everything and still error


Top
   
 Post subject: Re: Multiplayer
PostPosted: Sun Feb 10, 2019 2:54 pm 
Offline
Engineer
Engineer

Joined: Sat Nov 10, 2018 4:08 pm
Posts: 40
so i go here https://www.yougetsignal.com/tools/open-ports/

to check if my ports 3979 and 3978 are open, i have the game open as well
i have these ports in my windows firewall as well... as someone last described
in another section on here that he turned off his ipv6 which i have done as well

and i goto that website for port checker and still it's closed like wtf am i doing wrong

i'v attached 3 images


Attachments:
in&out.png [46.17 KiB]
Not downloaded yet
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 23 posts ]  Go to page 1 2 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.