News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

r11693+: On servers, clients can change pause_server_no_clients using pause tool

Started by Nazalassa, Today at 08:46:58 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Nazalassa

First appears in r11693.

When a client is connected to a server, the pause tool is hidden. However, the tool still responds to the usual 'P' shortcut; it does not check whether it was called by a client or the server.
Therefore when a player presses 'P', this changes the pause_server_no_clients setting of the server.

I believe this is what caused the pak64 Apr26 server to stop pausing and advance 300 years in a short amount of time; I could reproduce the bug on that server and halt the unintended "fast-forward".

Patch: http://patches.simutrans-germany.com/download.php?file=prevent-unpausing-server.patch
Making paks since October 2023  |  pak48.bitlit | pak32.box | MLM for pak64 | Empire F7 cars | Pneumatic tubes | More pak64 vehicles and industries

Life is like a multi-tasking OS: you know you'll eventually get back to everything, but you don't know when.

prissi

Thank you. I think even on a server, it should be limited to the public player.