Where Multiplayer?

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Lizard
Engineer
Engineer
Posts: 26
Joined: 05 Jan 2005 00:50
Location: Russia

Where Multiplayer?

Post by Lizard »

0.3.5 and r1404
can't find any servers :(
Connection: internet
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

I think there were some problems with the master server.

and you must be sure that you do not have a firewall/router that's blocking any of the server queries, of course.
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
Wichard
Engineer
Engineer
Posts: 11
Joined: 07 Jan 2005 10:35
Location: Regensburg / Germany
Contact:

Post by Wichard »

Must be the Master Server, since I also can´t find a game.
"All I know is what the Terminator taught me.
Never stop fighting, and I never Will.
The Battle Has Just Begun"
User avatar
Zooz
Transport Coordinator
Transport Coordinator
Posts: 287
Joined: 12 Sep 2002 14:20
Location: Een, Drenthe, The Netherlands
Contact:

Post by Zooz »

Same here, but you can of course still go to the server list and use an IP from that list.
Wichard
Engineer
Engineer
Posts: 11
Joined: 07 Jan 2005 10:35
Location: Regensburg / Germany
Contact:

Post by Wichard »

Zooz wrote:Same here, but you can of course still go to the server list and use an IP from that list.
Tnx for the hint :D
"All I know is what the Terminator taught me.
Never stop fighting, and I never Will.
The Battle Has Just Begun"
Lizard
Engineer
Engineer
Posts: 26
Joined: 05 Jan 2005 00:50
Location: Russia

Post by Lizard »

thnx
User avatar
orudge
Administrator
Administrator
Posts: 25218
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Hmm, TrueLight, the master server doesn't like it if MySQL either overloads itself and crashes, which happened yesterday for some reason, or is restarted. Any chance of making it, well, like it a bit more, somehow? (If I'm not mistaken, it just crashed dumping core yesterday).
Krzysiek
Engineer
Engineer
Posts: 1
Joined: 10 Jan 2005 19:08

Post by Krzysiek »

Zooz wrote:Same here, but you can of course still go to the server list and use an IP from that list.
what port use OpenTTD for multiplayer?
many time IP from that list no help...and 2,3 hour later all is ok..
User avatar
Observer
Logo Creator
Posts: 2189
Joined: 19 Nov 2002 12:21
Location: Zoetermeer, The Netherlands
Contact:

Post by Observer »

orudge wrote:Hmm, TrueLight, the master server doesn't like it if MySQL either overloads itself and crashes, which happened yesterday for some reason, or is restarted. Any chance of making it, well, like it a bit more, somehow? (If I'm not mistaken, it just crashed dumping core yesterday).
As said in another thread, my java port of the masterserver is allmost complete. Im now adding the last feature before I release the code.. which makes it able to run without mysql (using java classes to store servers). Im not sure if you are willing to trade the C program for the java program (which probably uses more cpu load cause of the VM).
But if you are, what do you suggest it would do on sudden disconnect from mysql? a. shutdown nicely or b. always store the server information in java and keep running when mysql is offline?
I personally think about making this last option optional so you can set a flag to always store the servers in both mysql and system memory or to select either one of the methods.
Never fear, I is here...
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Post by TrueBrain »

orudge wrote:Hmm, TrueLight, the master server doesn't like it if MySQL either overloads itself and crashes, which happened yesterday for some reason, or is restarted. Any chance of making it, well, like it a bit more, somehow? (If I'm not mistaken, it just crashed dumping core yesterday).
Already done :) I noticed myself too.. the libmysql should be able to handle disconnects, but it really can not. I am currently not sure what happens if you reboot the mysql server.. but we will see :)
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Post by TrueBrain »

Observer wrote:
orudge wrote:Hmm, TrueLight, the master server doesn't like it if MySQL either overloads itself and crashes, which happened yesterday for some reason, or is restarted. Any chance of making it, well, like it a bit more, somehow? (If I'm not mistaken, it just crashed dumping core yesterday).
As said in another thread, my java port of the masterserver is allmost complete. Im now adding the last feature before I release the code.. which makes it able to run without mysql (using java classes to store servers). Im not sure if you are willing to trade the C program for the java program (which probably uses more cpu load cause of the VM).
But if you are, what do you suggest it would do on sudden disconnect from mysql? a. shutdown nicely or b. always store the server information in java and keep running when mysql is offline?
I personally think about making this last option optional so you can set a flag to always store the servers in both mysql and system memory or to select either one of the methods.
Hehe, sorry to say, but... the masterserver will never be JAVA. That is just.... asking for more questions ;)

Beside, if we did not want to use MySQL, we would not have. Saving it in memory or in files is very easy. But with MySQL we can combine the server-list website and the masterserver, keep track of users, and for in the future: make authorization possible. So in the end we need MySQL... and surely no JAVA ;) Sorry :p

ps: why do you bother at all to convert the master-server to any language? It is there for reference if anyone is intersted how it works.. that is all ;)
User avatar
Observer
Logo Creator
Posts: 2189
Joined: 19 Nov 2002 12:21
Location: Zoetermeer, The Netherlands
Contact:

Post by Observer »

TrueLight wrote:ps: why do you bother at all to convert the master-server to any language? It is there for reference if anyone is intersted how it works.. that is all ;)
Because Im not that great in writing C (I can read it though) and I am going to improve that server (I have greatly succeeded already). If it is fully ported I am going to add features like a global banning system for malicious users and maybe a grouping system so online players can form groups before they play. So that on some servers you can specify to only allow specific groups.

I know sooner or later I have to write C to get it applied in the ottd game, but first things first.

Besides, I finally got something interesting to do while getting my java skills back up to their usual level.

I kinda figured that owen will not be hosting a java application.. so Im currently looking for cheap (if possible free) hosting with java and mysql and maybe some php support for online viewing.
Never fear, I is here...
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Post by TrueBrain »

Observer wrote:
TrueLight wrote:ps: why do you bother at all to convert the master-server to any language? It is there for reference if anyone is intersted how it works.. that is all ;)
Because Im not that great in writing C (I can read it though) and I am going to improve that server (I have greatly succeeded already). If it is fully ported I am going to add features like a global banning system for malicious users and maybe a grouping system so online players can form groups before they play. So that on some servers you can specify to only allow specific groups.

I know sooner or later I have to write C to get it applied in the ottd game, but first things first.

Besides, I finally got something interesting to do while getting my java skills back up to their usual level.

I kinda figured that owen will not be hosting a java application.. so Im currently looking for cheap (if possible free) hosting with java and mysql and maybe some php support for online viewing.
Hehe, good luck ;) I think it is easier to learn C, but okay ;) Let me know if you have something cool done!
User avatar
orudge
Administrator
Administrator
Posts: 25218
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Observer wrote:I kinda figured that owen will not be hosting a java application..
That would depend on the performance. But I don't think we should have loads of different master servers, it'd just cause confusion IMO.
User avatar
Observer
Logo Creator
Posts: 2189
Joined: 19 Nov 2002 12:21
Location: Zoetermeer, The Netherlands
Contact:

Post by Observer »

orudge wrote:
Observer wrote:I kinda figured that owen will not be hosting a java application..
That would depend on the performance. But I don't think we should have loads of different master servers, it'd just cause confusion IMO.
I agree...

I am making my program fully compatible with the old one, so that it is either possible to keep the old program running, or just use the new program.
Then the client and the gameservers can choose wheter to join the old masterserver, or the new ottdnet (with additional features like global ban).
Never fear, I is here...
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 20 guests