1.) This forum is for development discussions only. For everything else there's the other forums. moving...
2.) Use the search and read the stickies before posting.
Welcome to the forums.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
Currently, it works on internal LAN's, using UDP discovery of the server from the clients, and over the internet where you have a DIRECT connection to the internet, or a seamless NAT. You must be on the internet IP adress for the port (:3979 I think).
Its not currently a supported feature.
Thats not me in my avatar, because I haven't got one.....
Hm, ive been playing with Rexxie last nite, and i have to say that mp got kind of unstable since 0.3.1, i get desynched frequently, after like 10 minutes. It seems that the desyncing has different reasons, i noticed a lot of bugs with signs which might be the reason, and offers from companies who want you to test their vehicles might be a reason too.
I dunno, i just have the impression of 0.3.1 being more stable...
Not sure sure where to post about it.. but I just checked out the Multiplayer GUI and I like it (the GUI has a certain ttd style in it) What we now need is just the TTD golden colour scheme (the aqua one looks a bit out of place).
I chose the "aqua theme" for the same reason as GrrGrr posted: Every category has its own color. But for those of you playing with the source: You can change the color by setting BGC and BTC in network_gui.c, line 8 and 9. If you come up with another nice color combination, please post it.
@Mad Dog McKill: You can have a sneak peak at the lobby as well: Press "Start server" -> "Start game" and then move the green map selection window that currently appears out of the way.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
VladP17 wrote:Will a GUI for multiplayer be available in the next Linux Release?
The multiplayer GUI will be in the next release, sure. We don't make a difference between Windows, Linux, Mac, BeOS and MorphOS relases. They're all based on the same sourcecode and released at the same time. The current version is 0.3.3.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
dominik81 wrote:@Mad Dog McKill: You can have a sneak peak at the lobby as well: Press "Start server" -> "Start game" and then move the green map selection window that currently appears out of the way.
ehe.. you spelt my nick correctly (few people do that).. I am touched..
Nice lobby. I was surprised when I saw "spectate game" feature.. thats a great thing you got there... all of us can learn a lot from each other through spectating
Hah, we actually discovered this by accident.
You just have to use -n <number of company that doesnt exist>, and you're a spectator.
We were ment to play on the same team, however I forgot that the first company started as 0 and not 1, so Jakal ended up being a spectator instead
Chat is in the process of being added. I was working on it but gave up, someone else said they were doing it in IRC the other day though.
Having an internet list of games shouldn't be too hard, something like the way Bzflag handles it would be easiest:
Server connects to script (via http) with server ip and port.
Script writes stuff to test file.
Clients connect to text file (via http) and reads list of servers.
lucaspiller wrote:Chat is in the process of being added. I was working on it but gave up, someone else said they were doing it in IRC the other day though.
Having an internet list of games shouldn't be too hard, something like the way Bzflag handles it would be easiest:
Server connects to script (via http) with server ip and port.
Script writes stuff to test file.
Clients connect to text file (via http) and reads list of servers.
Wouldn't it be too easy for someone to ruin the list? And what if openttd is killed while a game is running, how would it be removed from the server list?
Apperantly you guys will need to develop a program that checks all the room every 5-10 minutes that checks for how many people are on the server and names of those people and then refresh the server list automaticly replacing the old data with the new. Is such a program hard to make?
BZflag server listing system might be a good idea then. Otherwise good luck making one of ur own>
anderas wrote:Wouldn't it be too easy for someone to ruin the list?
Thats a problem you have to face, I made a script that would be useful that allows people to add a game server to a list (for another game). Before adding the server it checks that the server is accessible to the internet and running.
anderas wrote:And what if openttd is killed while a game is running, how would it be removed from the server list?
VladP17 wrote:Apperantly you guys will need to develop a program that checks all the room every 5-10 minutes that checks for how many people are on the server and names of those people and then refresh the server list automaticly replacing the old data with the new.
Rather than a program checking the server it would be easier if the server just connects to the script again to update the details. If it doesn't update in say 10 mins (and the game is set to update every 5 minutes), then there must be something wrong with the server so it is removed.