OpenTTD via Proxy

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
DieselDriver
Engineer
Engineer
Posts: 27
Joined: 04 Jun 2009 11:56

OpenTTD via Proxy

Post by DieselDriver »

Hello,

in former times I was able to tunnel OpenTTD multiplay games through socks proxy.
I used openttd.exe -n IP_port#companyID to connect to my server.

Now I installed OpenTTD 1.7.1 and this does not work any longer - It hangs when loading the GRF's and there is no incoming connection on the server.
When I try openttd.exe -l IP:port I can see an incoming connection on the server.

Does OpenTTD 1.7.1 not run only via TCP now?
In former times Multiplayer games through TCP were possible (except finding servers in game, but this can be solved with -n IP:port).

Is this a known problem?

Thanks.
ST2
Engineer
Engineer
Posts: 63
Joined: 07 Apr 2011 14:17

Re: OpenTTD via Proxy

Post by ST2 »

hi,

I don't know if I can quite help... I only think it's weird, because 1.7.1 was made available many months ago! Mostly because of W10 FCU, but with other fixes, 1.7.2-RC1 is being tested NOW.
Maybe if you dig 1.7.1 changelog you'll find why.

Anyway, I just replied because a "openttd.exe" it's Windows... and if W10, it gets even more trickier. Does the normal connection to "your" server works?

Hint: OS used (server and client), OpenTTD version and if dedicated, and if listed on Servers list informations, would help a bit ^^
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: OpenTTD via Proxy

Post by Alberth »

Afaik nothing changed in OpenTTD wrt to networking, the more likely culprit is your Windows system, which seems to change a lot.
Being a retired OpenTTD developer does not mean I know what I am doing.
DieselDriver
Engineer
Engineer
Posts: 27
Joined: 04 Jun 2009 11:56

Re: OpenTTD via Proxy

Post by DieselDriver »

I also tried OpenTTD on a Windows 10 computer. There I also have problems with multiplayer mode.

When I call openttd.exe -n IP:port#company the game starts but does not try to establish a connection to the server.

Why the proxy support will not be implemented?
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: OpenTTD via Proxy

Post by Alberth »

Like I said, nothing has changed in OpenTTD, if it worked before, it should still work now, since nothing changed in the openttd program.

It's like my house at a street. It had pavement to the front-door so you could get to my house. Nothing changed to the house and the pavement, so I still have pavement to the front-door that you can use. I can't help it if the street entrance got blocked.
Being a retired OpenTTD developer does not mean I know what I am doing.
DieselDriver
Engineer
Engineer
Posts: 27
Joined: 04 Jun 2009 11:56

Re: OpenTTD via Proxy

Post by DieselDriver »

Ok, I will try an older release again - http://ftp.snt.utwente.nl/pub/games/ope ... /releases/

UPDATE:

OpentTTD 1.5 establishes the TCP connection and it says: wrong revision
OpentTTD 1.5.1 establishes the TCP connection and it says: wrong revision
OpentTTD 1.6 establishes the TCP connection and it says: wrong revision
OpentTTD 1.6.1 establishes the TCP connection and it says: wrong revision
OpenTTD 1.7.0 does not try to establish a connection (none entry in server-log).
OpenTTD 1.7.1 does not try to establish a connection (none entry in server-log).

So, there must be changed anything in the network stack. ;-)
Since revision 1.7.0 it does not work via TCP only to join a network game!

Try it yourself - but only via TCP connections - not UDP.
It also does not matter which Windows release do you use - I tested it on Windows 10, 7 an XP.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: OpenTTD via Proxy

Post by Alberth »

Can't try it, I don't even have Windows
Being a retired OpenTTD developer does not mean I know what I am doing.
DieselDriver
Engineer
Engineer
Posts: 27
Joined: 04 Jun 2009 11:56

Re: OpenTTD via Proxy

Post by DieselDriver »

Me too, but I tried in VM.
Anything must be changed since 1.7.0. :-(
Maybe this bug could be fixed in next release?

Thanks.
Eddi
Tycoon
Tycoon
Posts: 8267
Joined: 17 Jan 2007 00:14

Re: OpenTTD via Proxy

Post by Eddi »

DieselDriver wrote:Maybe this bug could be fixed in next release?
unlikely, if you cannot narrow down the cause further.

What you can do now to narrow it down? Get a compile environment, and the "trunk" branch of development, and run a "bisection" on it, to find out which development commit caused the change you see.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 50 guests