PlayerSync/src/main
laforetbrut e511414463 Final hardening: online=0 in finally + auto-save race fix
CRITICAL-1: online=0 moved to finally block in logout handler.
If store() threw an exception, online=0 was never written and the
player was permanently locked out of all servers.

CRITICAL-2: Same fix for shutdown handler. Any save failure during
shutdown left the player permanently stuck as online=1.

IMPORTANT: Auto-save background DB write now acquires tryLock()
before writing. If logout already saved newer data and holds/held
the lock, the stale auto-save snapshot is skipped. Prevents
overwriting correct logout data with an older snapshot.

Vyrriox
2026-03-26 22:06:38 +01:00
..
java/vip/fubuki/playersync Final hardening: online=0 in finally + auto-save race fix 2026-03-26 22:06:38 +01:00
resources add cobblemon support(in test) 2025-12-15 22:47:47 +08:00
templates add cobblemon support(in test) 2025-12-15 22:47:47 +08:00