Cargo Distribution

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Cargo Distribution

Post by Zuu »

As FooBar pointed out, if you know the name of your server you can look here: http://www.openttd.org/en/servers

Mind that the list is cached, so allow 10-15 minutes or so since you started you server before concluding that the server is not listed.

Ensure that you have made the necessary port forwarding settings in you router. Please see docs/multiplayer.txt in you OpenTTD installation for some hints. For help on how to do the port forwarding in practice you have to see the manual of you router or search online as that differs from router to router.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
alemaaltevinden
Engineer
Engineer
Posts: 12
Joined: 07 May 2012 17:34

Re: Cargo Distribution

Post by alemaaltevinden »

Zuu wrote:As FooBar pointed out, if you know the name of your server you can look here: http://www.openttd.org/en/servers

Mind that the list is cached, so allow 10-15 minutes or so since you started you server before concluding that the server is not listed.

Ensure that you have made the necessary port forwarding settings in you router. Please see docs/multiplayer.txt in you OpenTTD installation for some hints. For help on how to do the port forwarding in practice you have to see the manual of you router or search online as that differs from router to router.
They are forwarded, like the errors said I had to when I ran it the first time. Anyway i'll check that one out.

*edit*

They are open o.0 I'm sure of that, non more warnings and I did it myself so I'm sure of it :(
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Cargo Distribution

Post by Zuu »

The server will only show up on the list if it can be contacted by the master server. So somewhere the signal is lost.

When I use the PHP library to connect to OpenTTD servers, I get a CONNECTION ERROR when trying to connect to your server at address=94.226.226.163, port=3986.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
alemaaltevinden
Engineer
Engineer
Posts: 12
Joined: 07 May 2012 17:34

Re: Cargo Distribution

Post by alemaaltevinden »

It is running now.
http://www.openttd.org/en/server/58319

Anyway it will stay up all the time.
OggVorbis
Engineer
Engineer
Posts: 16
Joined: 26 Nov 2007 19:11

Re: Cargo Distribution

Post by OggVorbis »

I tried to join the server, but I get a "VERSION MISMATCH". However I have the right version, ge2371f40.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Cargo Distribution

Post by FooBar »

You need ge2371f40-cd. Does this -cd also appear in your version (see game title screen)?
OggVorbis
Engineer
Engineer
Posts: 16
Joined: 26 Nov 2007 19:11

Re: Cargo Distribution

Post by OggVorbis »

No. But I have applied the Cargo Distribution patch and it works. What do I have to do to get the "-cd" in the version?
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Cargo Distribution

Post by Eddi »

you need to get a git clone, otherwise the revision detection will not work, and multiplayer will be disabled.
OggVorbis
Engineer
Engineer
Posts: 16
Joined: 26 Nov 2007 19:11

Re: Cargo Distribution

Post by OggVorbis »

What I always do is:

git clone git://github.com/fonsinchen/openttd-cargodist.git
cd openttd-cargodist
git checkout origin/cd
./configure
make
make install

So what do I have to do instead?
User avatar
alemaaltevinden
Engineer
Engineer
Posts: 12
Joined: 07 May 2012 17:34

Re: Cargo Distribution

Post by alemaaltevinden »

OggVorbis wrote:What I always do is:

git clone git://github.com/fonsinchen/openttd-cargodist.git
cd openttd-cargodist
git checkout origin/cd
./configure
make
make install

So what do I have to do instead?
http://bundles.openttdcoop.org/cargodist/
download the right version/latest.
User avatar
fonso
President
President
Posts: 948
Joined: 13 Oct 2007 08:28

Re: Cargo Distribution

Post by fonso »

OggVorbis wrote:What I always do is:

git clone git://github.com/fonsinchen/openttd-cargodist.git
cd openttd-cargodist
git checkout origin/cd
./configure
make
make install

So what do I have to do instead?
What is the version string displayed in the title window? You may have to do "git branch cd && git checkout cd" before configure, so that the branch name matches ("origin/cd" might not be the same as just "cd").
The guy on the picture is not me, it's Alonso.
User avatar
alemaaltevinden
Engineer
Engineer
Posts: 12
Joined: 07 May 2012 17:34

Re: Cargo Distribution

Post by alemaaltevinden »

Now it should work again, I hope it will keep working now :?
I only had one player so far :/
OggVorbis
Engineer
Engineer
Posts: 16
Joined: 26 Nov 2007 19:11

Re: Cargo Distribution

Post by OggVorbis »

Thanks all! I downloaded the Linux version from http://bundles.openttdcoop.org/cargodist/ and now I'm able to join the game (and I just did)
User avatar
alemaaltevinden
Engineer
Engineer
Posts: 12
Joined: 07 May 2012 17:34

Re: Cargo Distribution

Post by alemaaltevinden »

OggVorbis wrote:Thanks all! I downloaded the Linux version from http://bundles.openttdcoop.org/cargodist/ and now I'm able to join the game (and I just did)
Good to hear :d
OggVorbis
Engineer
Engineer
Posts: 16
Joined: 26 Nov 2007 19:11

Re: Cargo Distribution

Post by OggVorbis »

Hmm, the server is offline now...
User avatar
alemaaltevinden
Engineer
Engineer
Posts: 12
Joined: 07 May 2012 17:34

Re: Cargo Distribution

Post by alemaaltevinden »

OggVorbis wrote:Hmm, the server is offline now...
I know, but i'm in france so can't fix it :/
MAG101
Engineer
Engineer
Posts: 28
Joined: 14 Dec 2011 00:55

Re: Cargo Distribution

Post by MAG101 »

When this patch going be trunked?
User avatar
alemaaltevinden
Engineer
Engineer
Posts: 12
Joined: 07 May 2012 17:34

Re: Cargo Distribution

Post by alemaaltevinden »

Server is up again, it just shut down for some reason, but I'm only now back so that is why it took so long.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2871
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Cargo Distribution

Post by ChillCore »

allemaaltevinden wrote: it just shut down for some reason
Crash log? crash save? Out of memory? anything?
There must be a reason ...
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
User avatar
alemaaltevinden
Engineer
Engineer
Posts: 12
Joined: 07 May 2012 17:34

Re: Cargo Distribution

Post by alemaaltevinden »

ChillCore wrote:
allemaaltevinden wrote: it just shut down for some reason
Crash log? crash save? Out of memory? anything?
There must be a reason ...
I think there was a powerout or something. Anyway nothing on it suggests a crash.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 12 guests