v0.54.2 - Bug Fixes & Server Stability
This patch addresses a wide range of bugs reported by players, including several that caused item loss, equipment disappearing, and server instability. Thank you to everyone who reported issues!
Server Stability
NPC World Reset Prevention
Fixed a critical bug where the online server's entire NPC population would periodically reset -- all NPCs dropped to level 5-10, player team assignments were lost, and the world had to rebuild from scratch. The root cause was a single bad NPC crashing the entire world state load. Now individual NPC errors are skipped gracefully, and the catch block no longer wipes existing NPCs.
System Message Infinite Loop Fix
System messages (pardons, executions, trade returns) sent to a player's display name were never marked as read, causing them to re-appear every 5 seconds indefinitely. Fixed.
SQLite Connection Pooling
Added connection pooling for better performance under concurrent multiplayer load.
Equipment & Item Fixes
Companion & Party Equipment Persistence
Companion equipment (Lyris, Aldric, Mira, Vex) and NPC party member equipment kept disappearing after logout or disconnect. Four missing save points were identified and fixed across Inn equipment management, companion "equip best" gear, and combat loot auto-pickup.
Duplicate Ring Equip Fix
Buying two identical rings from the Magic Shop and equipping both caused one to disappear. Fixed by creating a proper clone with a unique ID when equipping a duplicate.
Inventory Full Loot Loss Fix
Picking up loot with a full inventory (50 items) silently discarded the item with no warning. Now shows "INVENTORY FULL" on the Take option and prevents silent item loss.
Inventory Equip Enchantment Loss
Equipping items from inventory only transferred 5 of 18+ enchantment types. All 13 missing types now transfer correctly: fire/frost/lightning/poison/holy/shadow enchants, lifesteal, mana steal, crit chance/damage, armor piercing, thorns, HP/mana regen, and magic resist.
Multi-Monster Loot Weapon Type Fix
Weapons equipped from multi-monster combat (the most common encounter type) had their weapon type hardcoded to Sword regardless of actual weapon name. This broke spell casting for Magicians/Sages who picked up staves, and ability requirements for Assassins, Rangers, and Bards. Fixed with proper type inference.
Equipment IsIdentified Not Serialized
Unidentified equipped items silently became identified on save/load. Fixed.
Home Chest Item Loss Fix (Online Mode)
Items in the home chest disappeared between sessions in online mode. All online players were sharing the same chest key due to a missing field restore. Fixed.
Combat Fixes
Old God Boss Balance Pass
All 7 Old God bosses retuned for a challenging but survivable experience with a full party. Boss defense values were previously too high for players to deal meaningful damage.
- Maelketh (Floor 25): HP 100K to 55K, DEF 320 to 180
- Veloura (Floor 40): HP 200K to 120K, DEF 400 to 220
- Thorgrim (Floor 55): HP 400K to 250K, DEF 800 to 450
- Noctura (Floor 70): HP 600K to 380K, DEF 560 to 320
- Aurelion (Floor 85): HP 800K to 500K, DEF 500 to 300
- Terravok (Floor 95): HP 1M to 650K, DEF 600 to 380
- Manwe (Floor 100): HP 1.5M to 900K, DEF 800 to 500, attacks 4 to 3
Global boss mechanic changes: potion cooldown reduced (2 to 1 round), enrage damage reduced (2.5x to 2.0x), corruption damage reduced (15 to 10 per stack), Doom timer extended (3 to 4 rounds).
Combat Buff Leak Fix
Temporary combat buffs (attack bonus, defense bonus, magic AC, Blessed, Haste, Reflecting) were not cleaned up after multi-monster combat and carried over into the next fight. Fixed.
Arena Dungeon Event XP Reset Fix
The random arena portal encounter in dungeons reset your XP distribution settings. Your party XP split is now saved and restored around the arena solo fight.
Weapon Enchant Proc on Spell/Companion Fix
Weapon enchantments (Lifedrinker, elemental procs, poison coating) incorrectly triggered on AoE spell damage and companion AoE abilities. A Magician's Ice Storm would proc their staff's Lifedrinker. Fixed so weapon effects only trigger on actual weapon attacks.
World Boss Mana Potion Fix
Mana potions were completely unavailable during world boss fights. Spellcasters can now use mana potions via the Item action in world boss combat.
Boss Teammate AI Fix
Teammates in single-monster Old God boss fights never tried to dispel Doom or interrupt channeling. This logic only existed in the multi-monster path. Now works in both.
Dead Companions in Party
Dead companions were still being included in active companion lists. Fixed with a filter at source.
NPC & World Fixes
NPC Teammate XP / Stats Mismatch Fix
NPC teammates were essentially unable to level up. A level 73 NPC would need millions of XP because their stats were generated for level 5. Fixed so NPC stats and XP match their actual level, with a migration fix for all existing NPCs.
Child-to-NPC Conversion Fix
Children reaching adulthood could be converted to an NPC twice across save/load boundaries, creating duplicates. Added idempotency check.
Home Children Display Mismatch Fix
Home description said children were present but the interaction menu said "no children at home." Both now use the same filter.
Lyris Companion Ranger Overhaul
Lyris's backstory, quest, weapon, and dialogue have been reworked to be consistent with her Ranger class. Previously she was a "former priestess of Aurelion" with divine themes despite being classified as a Ranger.
- New backstory: Former warden of the Deepwood, an ancient forest destroyed by Manwe's corruption
- New title: "The Silent Arrow"
- New quest: "The Deepwood's Heart" -- recover the mother-tree's last seed
- Weapon changed to Bow
- All quest dialogue, dungeon idle comments, dreams, and sacrifice dialogue rewritten
Other Fixes
- Team Quit / Dissolution Fix -- Quitting a team as the sole member left a ghost team in the database. Fixed.
- Team Rankings Average Level Fix -- Showed inflated values (e.g., 703 instead of ~40). Fixed.
- Team Corner Localization Fix -- Waist and Face equipment slots showed raw localization keys. Fixed.
- Quick Commands Help Fix -- /stats alias was shown as /s which conflicts with /say in online mode. Now shows the correct shortcuts.
- Dashboard NPC Display Fix -- Admin dashboard NPC directory showed ? for all class and race fields. Fixed.
- Session XP Bypass Fix -- Players could log out and back in to reset diminishing returns on XP. Now resets on daily reset only.
- Guild Bank Item Stats -- /gbank items now shows item stats underneath each entry instead of just name and depositor.
- SQL Injection Fix -- 2 interpolated SQL values parameterized for security.
- Thread Safety -- Fixed unsafe Random usage in NPC spawn system.
- False Error Log Fix -- Eliminated noisy false error on every online player login.
