Multiplayer?
Moderator: OpenTTD Developers
Multiplayer?
Can someone tell me how far the multiplayer part of Open TTD has developed already?
I was also wondering if the multiplayer will be like on LAN, IPX, TCP/IP, or will there be a browser for the games already started online?
I was also wondering if the multiplayer will be like on LAN, IPX, TCP/IP, or will there be a browser for the games already started online?
Please read some stickies which will explain how to get networking. A browser for online games would be nice but some people think this would cost too much (to have a central server). Maybe some "p2p-networking" instead of a server?
Rich Cook wrote:Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
Im in Linux and this is my question now.
Will i always have to type "-n xxx.xxx.xxx.xxx" or will there be an auto switch in the game later on? so that i launch "TTD" command and then press 2 player there? And what about the online game browser? will i have to launch it from the Terminal via another command like "TTD -something" to launch it?
Will i always have to type "-n xxx.xxx.xxx.xxx" or will there be an auto switch in the game later on? so that i launch "TTD" command and then press 2 player there? And what about the online game browser? will i have to launch it from the Terminal via another command like "TTD -something" to launch it?
Something ppl don't seem to realise is that p2p-networking also requires a central server from which clients get their initial 'seed' (in the form of IP's of other connected clients). Real p2p-networking hasn't been done yet, mainly due to the current infrastructure of the internet.Bouke wrote:...
A browser for online games would be nice but some people think this would cost too much (to have a central server). Maybe some "p2p-networking" instead of a server?
The striking difference however lies in the load the server has to deal with. A central server would have to manage all traffic (for whatever purpose it may have). In p2p the central server only gives out IP's, which you can imagine is quite a smaller load.
There are two things however I think you should consider.
First, is there really a need for a server browser?
If we were talking about a fast-paced action game with relatively short game length the answer would be simply 'yes'.
But OpenTTD is just the opposite of that. Short games don't come near the fun you would get from long games where all players compete with large networks. Internet gaming is not really suitable for this. Sure, you can join a game which you've found with this browser, and you can play for a while, but at a certain moment someone has to stop. How do you manage to continue the game, with a person you barely know, and with whom you most of the time cannot plan to meet again, all through this browser?
Onto the second point, say you would want to implement the browser. As said, a central server isn't really feasible. But why consider p2p? It keeps the load of the central server, making it a bit more feasible. On the other hand there would be a major piece of work in the network infrastructure, which surely isn't easy. And why keep a p2p network alive, for the sole purpose of finding games?
Having dealt with the ideas given, I'll propose the idea I have about it.
A browser would be useful for LAN games (with servers announcing themselfs via broadcasts). Internet games just won't have the outlook of lasting long enough to make up for the work it takes to implement an internet game browser.
And if you really want to hook up with other players to play over the internet, I guess a topic or forum dedicated to it would be just the solution.
"Peace cannot be kept by force. It can only be achieved by understanding." - Albert Einstein
Who is online
Users browsing this forum: No registered users and 34 guests