Server Lag Watch V1.6.0.2 FS25





Server Lag Watch V1.6.0.2 FS25
Finds out which mod freezes your server. Whenever the server stops for longer than a quarter of a second, every player gets a notification with how long it froze and which mod script was the slowest at that moment. The same line goes into the server log, so the cause can be found afterwards.
Freeze alerts for every freeze over 0.25 s, naming the mod script or the save that caused it.
Who and where: a slow vehicle or placeable is named with its farm, its driver (player, AI helper or no driver) and where it is (field, farmland or off-field).
SERVER SAVE: big red letters in the middle of the screen while the server saves.
SERVER LAG WATCH: big red letters when the server stops answering for 3 seconds, until it answers again.
Slow file writes during a save are logged by file name.
Also turns off the profanity filter: chat, names and license plates show exactly what was typed.
How to use: install it on the server and on every player’s game. In the server log, look for lines starting with [ServerLagWatch].
Changelog 1.4.0.1:
The author now shows as DTM Mods, PropaineX in the mod list.
Slow vehicle and placeable calls now name the farm, the driver (player, AI helper or no driver) and where it is (1.4.0.0).
Implements name the driver of the tractor they are attached to (1.4.0.0).
V1.6.0.2
Fixed: a frame of exactly a quarter of a second (250 ms) no longer counts as a freeze; only longer ones do, as the README and the description say.
Fixed: a player’s log line “Server answering again after X s” now gives how long the server really was silent (from its last heartbeat before the silence to the first one after it), not the time the letters showed plus 3 seconds.
Fixed: a self-hosted game that loads another savegame without restarting the game no longer stacks a second set of timers on the vehicle, placeable and mod scripts, and its first freeze is always notified, however recently the last map sent one.
Fixed: a slow script call made while the map loads (or before another savegame was loaded) is no longer named as the slowest script of a later freeze.
A mod’s event listener that is also an updateable is timed once, not twice (one inside the other); the time counted was already right.
Also: brought up to date for the current game version and GIANTS’ ModHub checks.
DTMMods, Fennell, PropaineX
