Auction-House-Cobb-1.8.3.jar
Curse Maven Snippet
What's new
Changelog - 1.8.3
Fixed & Stability
- Fixed Auction House Reset on Restart/Crash: Fixed a critical deserialization bug where Pokémon listing prices were saved with display commas (e.g.,
"1,000"), causing a silentNumberFormatExceptionupon server reboot that prevented all listings from loading into memory. - Resilient Multi-Layer Deserialization: Implemented robust price sanitization (
.replace(",", "").trim()) across Pokémon and item listings and trade history, guaranteeing full backward compatibility and auto-repair of previously affected save files. - Atomic File Operations: Replaced direct file writes with atomic operations (
.tmp+ATOMIC_MOVE), preventing 0-byte or corrupted JSON files if the server suffers an abrupt crash or power cut during disk writes. - Automatic Backup Recovery: Added automatic fallback to
.bakfiles whenever primary JSON files are missing, empty, or unreadable. - Isolated Entry Parsing: Wrapped individual listing and mailbox entries in isolated try-catch blocks so a single malformed entry never prevents other listings from loading.
- Early Lifecycle Initialization: Moved persistence loading to
SERVER_STARTINGto ensure all auction data is fully available in memory before player network packets can be processed.
This mod has no additional files