tank-royale icon indicating copy to clipboard operation
tank-royale copied to clipboard

Changing turn timeout is not reflecting in the game

Open SirStone opened this issue 1 month ago • 0 comments

Describe the bug I've changed the value of "tun timeout" for the first time but looks like the server is ignoring it Image

Error info With the value of "1000000" should be "1 per second", is this correct? Set the value like this on my new project, that requires a slower peace as I'm working on an ultra low consumption board, i log these timings: Image

the numbers are Milliseconds since boot, and in this picture I see 21941 -> 21991 = 50 milliseconds

The UI is not reflecting either the value, showing th standard 30 turns per second Image

I even tested changing the classic.defaultTurnsPerSecond=30 inside the game-setup.properties into classic.defaultTurnsPerSecond=1 with no effect

Expected behavior I expect that setting a delay of 1000000 micro seconds between turns, the delta time between the ticks becomes ~1 second

Desktop (please complete the following information): Linux, NixOS

Java info: Openjdk 11.0.27 2025-04-15 OpenJDK Runtime Environment (build 11.0.27+0-adhoc..source) OpenJDK 64-Bit Server VM (build 11.0.27+0-adhoc..source, mixed mode)

Additional context Server version 0.34.1

I did not tested other older version

SirStone avatar Nov 23 '25 15:11 SirStone