PlayerSync/src/main/java/vip/fubuki/playersync/sync
laforetbrut 484f1a8c05 Final audit: fix ghost-online, SQL injection, resource leak, NPE
CRITICAL-1/2: Remove duplicate online=1 writes from doPlayerJoin.
The synchronous onPlayerLoggedInKickCheck already sets online=1.
The background thread writes raced with logout's online=0, permanently
locking players as "online" after crash-disconnect during join.

HIGH-1: Startup SQL uses PreparedStatement for server_id (was string concat).
HIGH-2: update() method now uses try-with-resources for PreparedStatement.
HIGH-3: NPE guard in RS2 data file logging when getRS2DataFile returns null.

Vyrriox
2026-03-26 18:33:00 +01:00
..
addons Final audit: fix ghost-online, SQL injection, resource leak, NPE 2026-03-26 18:33:00 +01:00
chat curios snbt clean 2026-02-23 22:33:13 +08:00
ChatSync.java chat sync reconnect system 2025-10-14 16:55:24 +08:00
VanillaSync.java Final audit: fix ghost-online, SQL injection, resource leak, NPE 2026-03-26 18:33:00 +01:00