Need some help with own Multiplayer-Server

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
User avatar
DrMilzbrand
Engineer
Engineer
Posts: 115
Joined: 12 Apr 2007 09:15
Location: Hannover/Hanover, Germany

Need some help with own Multiplayer-Server

Post by DrMilzbrand »

Hello to all OpenTTD-Players,

I need some help according to create an own multiplayer-server. I have no ploblems to join an existing multiplayer game. Inspite of that, in case of creating an own server, nobody can find it in the gamelist later and I dont know why. The game only appears with adding the IP.

What shall I do to fix it. Is it caused by some Network-Configs?

In Network-Topics - I'm not far from a noob, please help me.
Thank you very much.

DrMilzbrand
Regards.

DrMilzbrand

Image
Worlds Airliners Set

Image
(Statistics 04/2008 - mid 08/2008, more flights soon)
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Need some help with own Multiplayer-Server

Post by Zuu »

You say others can join by adding your IP?

Then it's likely that server advertising is turned off. Open your openttd.cfg and try to find that option. Should be named "server advertising" or similar.

If you are on windows and don't know where your openttd.cfg is it is most likely in My Documents\openttd\openttd.cfg.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Erlien
Engineer
Engineer
Posts: 1
Joined: 23 Aug 2008 04:20

Re: Need some help with own Multiplayer-Server

Post by Erlien »

hello,im having similar problem,but people cant connect to me normal or IP,my connection and router are fine,any ideas?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Need some help with own Multiplayer-Server

Post by DaleStan »

If people can't connect to you then there's a problem with either your connection or your router. Read your router manual for information on how to run servers.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: Need some help with own Multiplayer-Server

Post by dihedral »

perhaps there should be a nice sticky regarding this...
quadat
Engineer
Engineer
Posts: 65
Joined: 05 Aug 2008 17:04
Location: Granby (Quebec), Canada

Re: Need some help with own Multiplayer-Server

Post by quadat »

I started a game named <Quadat welcome ...> and no one is coming. Id like to know if someone could try and tell me if they can play or if something is wrong.

Thanks
neX!Tem
Engineer
Engineer
Posts: 16
Joined: 26 Aug 2008 11:40

Re: Need some help with own Multiplayer-Server

Post by neX!Tem »

Try to change the Port in the openttd.cfg , This one is located in "My Games\openttd" or (Vista) "documents\openttd"

You should change it to something like 1000.. i think 1000 is standard free for firewall ... i don't really know much about port forwarding
(i have a router, and it works fine ...) but it should work...

neX!Tem
quadat
Engineer
Engineer
Posts: 65
Joined: 05 Aug 2008 17:04
Location: Granby (Quebec), Canada

Re: Need some help with own Multiplayer-Server

Post by quadat »

It worked fine last week when my son played with me. The port i use is 3979 as you can see on servers list.
Can you se the game ? If you try to access, got any message ?

Thanks
neX!Tem
Engineer
Engineer
Posts: 16
Joined: 26 Aug 2008 11:40

Re: Need some help with own Multiplayer-Server

Post by neX!Tem »

Of course i need the server address or name . so i can try join your server ;)
quadat
Engineer
Engineer
Posts: 65
Joined: 05 Aug 2008 17:04
Location: Granby (Quebec), Canada

Re: Need some help with own Multiplayer-Server

Post by quadat »

Go on openttd site where are servers. Server name is Quadat welcome to all 24.201.187.216
neX!Tem
Engineer
Engineer
Posts: 16
Joined: 26 Aug 2008 11:40

Re: Need some help with own Multiplayer-Server

Post by neX!Tem »

Your GRF list is giant... but i can see the server in the list,

I'm not joining because of the GRF´s ... ^^ I'm to busy to install them all
TrueTenacity
Traffic Manager
Traffic Manager
Posts: 133
Joined: 28 Feb 2006 15:29
Location: Johannesburg, South Africa

Re: Need some help with own Multiplayer-Server

Post by TrueTenacity »

Ok i got one for ya,

I've opened the port on the Router, The D-Server is running, advertising and bound to all my ip's...

no one can find me or connect to me.... any ideas?
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Need some help with own Multiplayer-Server

Post by Zuu »

If you start another client on another computer in your local network, can it join using your internal local IPs (10.x.x.x or 192.168.x.x). (press add server in OpenTTD and type the local IP)

If it works using local ip, then try using your public IP you've got from your ISP.

Second, in your router have you defined the port forwarding to the correct local IP, and for the right protocol (TCP/UDP)? (I don't know if TCP is needed or also the master game-server uses UDP to communicate)
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
quadat
Engineer
Engineer
Posts: 65
Joined: 05 Aug 2008 17:04
Location: Granby (Quebec), Canada

Re: Need some help with own Multiplayer-Server

Post by quadat »

On my server, how can my game pause and unpaused automatically when someone wants to play ? Do i have to start the game in pause mode ? Actually, if i dont pause, game continue even if i am the only player and i dont want that. If i pause, no one can play its stay in pause mode.

Any hints for me ?

Thanks
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Need some help with own Multiplayer-Server

Post by planetmaker »

quadat wrote:On my server, how can my game pause and unpaused automatically when someone wants to play ? Do i have to start the game in pause mode ? Actually, if i dont pause, game continue even if i am the only player and i dont want that. If i pause, no one can play its stay in pause mode.
There's a minimum player setting in the config file

Also you may want to check out autopilot or its successor, ap+.
quadat
Engineer
Engineer
Posts: 65
Joined: 05 Aug 2008 17:04
Location: Granby (Quebec), Canada

Re: Need some help with own Multiplayer-Server

Post by quadat »

And where is the config file ? Maybe stupid question, but ...

And what is autpilot and where i can find it ?
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: Need some help with own Multiplayer-Server

Post by dihedral »

1. there is a readme file.... little hint: read it!
2. there is a wiki (wiki.openttd.org)... little hint: read it!

one of those is bound to help! and your question clearly shows that you have not even touched the readme file (that is a good hint where to find an answer to you question too)
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 7 guests