The International Simutrans Forum

Community => Game Servers => Topic started by: prissi on June 09, 2024, 09:18:40 AM

Title: pak64 server
Post by: prissi on June 09, 2024, 09:18:40 AM
I have set up a vanilla pak64 server on simutrans-forum.de:13355 to test more network-related issues and the chat. This server will run normally and anybody can join. Just create a new player.

BTW: from r11288 the client will remember if he was connected to a server on close (and was not kicked out due to desybc) and will try to reconnect when starting again and not first load the local copy. Our client seems stable enough by now, that was long overdue.
Title: Re: pak64 server
Post by: Yona-TYT on June 09, 2024, 10:34:33 AM
Quote from: prissi on June 09, 2024, 09:18:40 AMBTW: from r11288 the client will remember if he was connected to a server on close (and was not kicked out due to desybc) and will try to reconnect when starting again and not first load the local copy. Our client seems stable enough by now, that was long overdue.
Does this mean that in case of reconnection the player will still be authenticated? I mean, I wouldn't have to change players and re-enter the password every time this happened.
Title: Re: pak64 server
Post by: prissi on June 09, 2024, 01:17:07 PM
Since authentication is with the server, that would require some extra logic. Not impossible, but harder.
Title: Re: pak64 server
Post by: Yona-TYT on June 09, 2024, 01:49:20 PM
Quote from: prissi on June 09, 2024, 01:17:07 PMSince authentication is with the server, that would require some extra logic. Not impossible, but harder.
It would be great and I think players will suffer a lot less when disconnections occur.  8)
Title: Re: pak64 server
Post by: prissi on June 10, 2024, 05:22:19 AM
If disconnection occurs, this mechanism will not automatically reconnect. The mechanism is only if you stop playing and close simutrans. Then simutrans saves the game usually. But with networkgames, when restarting, it should connect with the server.

After disconnection, the reconnection must be manual to avoid people forcing a server down by reconnecting with a mismatched version in short succession.
Title: Re: pak64 server
Post by: Yona-TYT on June 10, 2024, 05:40:17 PM
Previously (I don't know if it's the same now), when the player desynchronized and you reconnected to the server, the previously used player was not remembered, so it started as the "human" player and then you had to change players every time this happened .

I don't know if this is different now, but it would be nice if the previously used player remained selected when reconnecting.
Title: Re: pak64 server
Post by: Roboron on June 10, 2024, 05:55:59 PM
Quote from: prissi on June 09, 2024, 09:18:40 AMBTW: from r11288 the client will remember if he was connected to a server on close (and was not kicked out due to desybc) and will try to reconnect when starting again

Cool! I need to try this.
Title: Re: pak64 server
Post by: Nazalassa on June 12, 2024, 02:09:25 PM
Quote from: Roboron on June 10, 2024, 05:55:59 PMCool! I need to try this.

I tried connecting with r11290 and the client did not allow me to connect to the server, due to it using r11272 = 124.1. (The server window showed 'Revision: r11272' in red.) A 124.1 client works fine.
Title: Re: pak64 server
Post by: prissi on June 13, 2024, 03:19:35 AM
You can force a connection by using the filename net:simutrans-forum.de:13355. But it will desync soon, since the repaired station update changes the game state.

If there is demand, I happily set up a nightly server, always using the latest version.
Title: Re: pak64 server
Post by: Nazalassa on June 13, 2024, 08:50:16 AM
Quote from: prissi on June 13, 2024, 03:19:35 AMYou can force a connection by using the filename net:simutrans-forum.de:13355. But it will desync soon, since the repaired station update changes the game state.

If there is demand, I happily set up a nightly server, always using the latest version.

* connects *
* loses synchronization immediately *
Title: Re: pak64 server
Post by: Nazalassa on June 13, 2024, 09:47:35 AM
@prissi there is a sort of deadlock on your train line at Mallichester.
Title: Re: pak64 server
Post by: prissi on June 13, 2024, 01:52:30 PM
Not really, was internationally set up this way.
Title: Re: pak64 server
Post by: Nazalassa on June 18, 2024, 09:49:15 AM
It seems that something happened to my company's password, as the server no longer accepts it. I tried other companies, and they worked fine. It's just weird.

@prissi, did anything happen to the server recently?

P.S: I was given the password to another company some time ago to solve some deadlocks while the company's owner was away. So I tried this company, and it did no longer work. But they did change their password in the meantime, so I guess the problem is with my company then. Oh, well.
Title: Re: pak64 server
Post by: prissi on June 19, 2024, 05:00:45 AM
Sorry, not checking too often. But I can reset the password. But it seems the server was down anyway.
Title: Re: pak64 server
Post by: Nazalassa on June 19, 2024, 07:12:31 AM
Quote from: prissi on June 19, 2024, 05:00:45 AMSorry, not checking too often. But I can reset the password. But it seems the server was down anyway.

Still unable to authenticate. Could you reset the password, please? Thanks in advance.
Title: Re: pak64 server
Post by: Nazalassa on June 20, 2024, 06:50:48 AM
It seems that the server is down.
Title: Re: pak64 server
Post by: prissi on June 20, 2024, 07:32:03 AM
Was handing, running but not responding. Restarted.

(THe map is very full already ... )
Title: Re: pak64 server
Post by: Nazalassa on July 10, 2024, 11:48:40 AM
The server seems to be down (it is marked 'offline' in the server list).
Title: Re: pak64 server
Post by: MobileRod on August 07, 2024, 09:43:59 PM
So good to see a pak64 server back! Thank you so much.
But it seems there's a bug in passenger service. Last time I tried I connected some neighboring towns with absolutely no passengers until I bankrupted.
Title: Re: pak64 server
Post by: prissi on August 08, 2024, 01:08:32 PM
Yes, this version has some serious issues. Unfortunately, I am on holiday with not much time to make a new release.
Title: Re: pak64 server
Post by: Yona-TYT on August 31, 2024, 10:01:39 PM
Dear Prissi, what has happened to your public servant?.
Title: Re: pak64 server
Post by: prissi on September 01, 2024, 03:06:16 PM
I had not yet restarted it after release.
Title: Re: pak64 server
Post by: Isaac Eiland-Hall on September 01, 2024, 11:49:04 PM
Quote from: Yona-TYT on August 31, 2024, 10:01:39 PMDear Prissi, what has happened to your public servant?.
Quote from: prissi on September 01, 2024, 03:06:16 PMI had not yet restarted it after release.

In this thread: Prissi admits to slavery! But it's probably okay because "it" means it's a robot, not a human. ;-)
Title: Re: pak64 server
Post by: Yona-TYT on September 01, 2024, 11:51:40 PM
Quote from: Isaac Eiland-Hall on September 01, 2024, 11:49:04 PMIn this thread: Prissi admits to slavery! But it's probably okay because "it" means it's a robot, not a human. ;-)
heheheh it's a machine for programming. ;D
Title: Re: pak64 server
Post by: Nazalassa on September 10, 2024, 03:43:38 PM
The server seems to have gone offline.
Title: Re: pak64 server
Post by: prissi on September 11, 2024, 04:29:44 AM
Restarted
Title: Re: pak64 server
Post by: Nazalassa on September 11, 2024, 03:04:11 PM
Sorry: it is offline again.
Title: Re: pak64 server
Post by: Andarix on September 11, 2024, 05:58:50 PM
Quote from: Nazalassa on September 11, 2024, 03:04:11 PMSorry: it is offline again.

mmh

It's weird. Nazalassa is playing and the server crashes.
Title: Re: pak64 server
Post by: prissi on September 12, 2024, 01:50:09 AM
Would be helpful to know at which step the server crashes. THe log file was not very helpful (complains about no found labels).
Title: Re: pak64 server
Post by: Nazalassa on September 12, 2024, 06:43:15 AM
Quote from: Andarix on September 11, 2024, 05:58:50 PMmmh

It's weird. Nazalassa is playing and the server crashes.

Actually I'm glad it crashed, because I mistakenly left a signal which would have caused a major deadlock within hours. (I noticed it because Simutrans saved a local copy of the map when I left and I forgot to close it.) Now the line is gone so the signal is gone, too.

Now this does not imply I crashed the server... Unless I have some sort of magical aura that makes things break apart when I use them.
Title: Re: pak64 server
Post by: Oldie on September 12, 2024, 09:04:37 AM
Quote from: Nazalassa on September 12, 2024, 06:43:15 AMUnless I have some sort of magical aura that makes things break apart when I use them.
AH! You must be one of those "user" things. :-)
Title: Re: pak64 server
Post by: Nazalassa on September 25, 2024, 01:34:39 PM
The server seems absent from the server list.
Title: Re: pak64 server
Post by: prissi on September 26, 2024, 05:53:21 AM
It seems the hoster is again to blame for, probably broke, for the upteemth time, the IP6 connectivity. The replacement server is working.

I will ask Isaac to redirect the A and AAAA records.
Title: Re: pak64 server
Post by: Isaac Eiland-Hall on September 27, 2024, 12:44:11 PM
And so it has been done :)
Title: Re: pak64 server
Post by: Nazalassa on October 09, 2024, 02:15:19 PM
Not wanting to overflow this thread, but: the server seems down.
Title: Re: pak64 server
Post by: prissi on October 10, 2024, 08:34:52 AM
I had just restarted it Wednesday. Maybe it crashes at the same point. I will start it with more logging.
Title: Re: pak64 server
Post by: Nazalassa on October 18, 2024, 03:56:04 PM
I think we found some kind of bug since it seems to have crashed again.
Title: Re: pak64 server
Post by: prissi on October 19, 2024, 01:40:15 AM
Restarted. Maybe I need to have a script to restart it automatically, should it have stopped.
Title: Re: pak64 server
Post by: Nazalassa on October 19, 2024, 12:54:18 PM
/me crashes
Title: Re: pak64 server
Post by: Isaac Eiland-Hall on October 19, 2024, 10:14:22 PM
Quote from: prissi on October 19, 2024, 01:40:15 AMRestarted. Maybe I need to have a script to restart it automatically, should it have stopped.

Better to have a script to detect the bug and fix it. ;-)
Title: Re: pak64 server
Post by: FLN on September 04, 2025, 04:04:57 PM
Hi prissi

Since your server game is not that active anymore and mine (New Flavor of Pie (https://forum.simutrans.com/index.php/topic,23658.0.html)) is kinda thru as well, I wanted to ask you, if you would consider starting a new pak64 map?

If so, I happily would let my server game run on, in order to continue testing and balancing some new vehicles.
I would then later start a new pak64 map in some weeks.

What do you think?
Title: Re: pak64 server
Post by: prissi on October 05, 2025, 08:27:54 AM
Sorry, missed this. I can stop the server or start it with a new map. As you like.
Title: Re: pak64 server
Post by: FLN on October 12, 2025, 10:56:11 AM
I'd would actually enjoy, having you restart with a new map :)
Title: Re: pak64 server
Post by: Nazalassa on October 12, 2025, 01:13:03 PM
If the server is going to be resterted, here's the current save file: https://files.simutrans-germany.com/upload/srv.pak64.feb25.sve (link expires on 2026-10-12)