Dev Log #2 Server & Networking
Server & Networking: Zone Safety, Content Tools & Rate Limiter
This update covers the server-side and networking improvements from this past week -- zone transition safety, the new admin content pipeline, and a complete rate limiter overhaul.
Zone Transition Safety
Three bugs fixed that caused data loss during zone transitions:
> Inventory and equipment now persist across zones -- The server was not sending inventory/equipment/quest sync packets after a zone transition. Only the initial login path did. Fixed by adding full state sync to the zone transition handler.
> Client sync timing -- Server syncs arriving during the loading screen were silently dropped because the client thought it still had a valid player entity. Now properly buffers syncs during scene load.
Event Return Point System
New safety system that prevents players from getting permanently stranded in event content.
When you enter a dungeon, arena, or battlefield, the server saves your overworld position. If you disconnect during the event:
This works across all event types and handles edge cases like reconnecting within the 3-minute grace window (return point gets re-set for safety).
Admin Content Pipeline
Brand new system for creating game content without writing SQL or restarting the server:
> Content Browser -- 5-tab editor panel for Items, Mobs, Loot Tables, Spawn Zones, and Validation
> Live reload -- Save a new mob definition and the server cache updates instantly. No restart needed.
> Cross-reference validation -- 11 rules that catch broken references (e.g. a loot table pointing to a deleted item) at startup and on demand
> NPC Inspector -- 14 new editor panels for configuring every NPC type: shops, bankers, teleporters, quest givers, dungeon entrances, arena/battlefield NPCs, and dialogue trees
Rate Limiter Overhaul
The rate limiter was retuned for grind-heavy MMORPG gameplay. The old limits were designed to catch bots but were accidentally throttling normal players during fast marketplace browsing, bulk potion buying, and gear swapping.
New philosophy: the rate limiter catches bots and exploits, not players.
Example changes:
> Skills: 3 burst to 30 burst (combo discovery needs rapid input)
> Marketplace: 3 burst to 30 burst (flipping through pages)
> Shop buy/sell: 3 burst to 20 burst (buying 50 potions)
> Equip/inventory: 3 burst to 20 burst (swapping full gear sets)
Inherently slow actions like zone transitions and teleports stayed tight at 3 burst / 1 per second.
Also This Week
> Crafting system fully wired -- recipe list, ingredient validation, craft execution
> Bag system -- open, store, retrieve with sub-slot UI
> Emoticon support -- send animated emoticons to nearby players
> Login rate limiting -- 5 failed attempts triggers a 5-minute lockout
> Client version check -- outdated clients are now rejected at login
> Idle timeout -- 15-minute inactivity auto-disconnect
> CC diminishing returns -- stun/freeze effects halve duration on each repeat, immune after 3 applications
> Rare drop broadcasts -- system chat message when Rare+ items drop
-- Admin
This update covers the server-side and networking improvements from this past week -- zone transition safety, the new admin content pipeline, and a complete rate limiter overhaul.
Zone Transition Safety
Three bugs fixed that caused data loss during zone transitions:
> Inventory and equipment now persist across zones -- The server was not sending inventory/equipment/quest sync packets after a zone transition. Only the initial login path did. Fixed by adding full state sync to the zone transition handler.
> Client sync timing -- Server syncs arriving during the loading screen were silently dropped because the client thought it still had a valid player entity. Now properly buffers syncs during scene load.
Event Return Point System
New safety system that prevents players from getting permanently stranded in event content.
When you enter a dungeon, arena, or battlefield, the server saves your overworld position. If you disconnect during the event:
Before: Your character was saved inside the event scene. After the grace period expired, you would log back into a scene that no longer exists -- permanently stuck.
After: The server rewrites your saved position to the overworld return point before saving to the database. You log back into the overworld safely.
This works across all event types and handles edge cases like reconnecting within the 3-minute grace window (return point gets re-set for safety).
Admin Content Pipeline
Brand new system for creating game content without writing SQL or restarting the server:
> Content Browser -- 5-tab editor panel for Items, Mobs, Loot Tables, Spawn Zones, and Validation
> Live reload -- Save a new mob definition and the server cache updates instantly. No restart needed.
> Cross-reference validation -- 11 rules that catch broken references (e.g. a loot table pointing to a deleted item) at startup and on demand
> NPC Inspector -- 14 new editor panels for configuring every NPC type: shops, bankers, teleporters, quest givers, dungeon entrances, arena/battlefield NPCs, and dialogue trees
Rate Limiter Overhaul
The rate limiter was retuned for grind-heavy MMORPG gameplay. The old limits were designed to catch bots but were accidentally throttling normal players during fast marketplace browsing, bulk potion buying, and gear swapping.
New philosophy: the rate limiter catches bots and exploits, not players.
Example changes:
> Skills: 3 burst to 30 burst (combo discovery needs rapid input)
> Marketplace: 3 burst to 30 burst (flipping through pages)
> Shop buy/sell: 3 burst to 20 burst (buying 50 potions)
> Equip/inventory: 3 burst to 20 burst (swapping full gear sets)
Inherently slow actions like zone transitions and teleports stayed tight at 3 burst / 1 per second.
Also This Week
> Crafting system fully wired -- recipe list, ingredient validation, craft execution
> Bag system -- open, store, retrieve with sub-slot UI
> Emoticon support -- send animated emoticons to nearby players
> Login rate limiting -- 5 failed attempts triggers a 5-minute lockout
> Client version check -- outdated clients are now rejected at login
> Idle timeout -- 15-minute inactivity auto-disconnect
> CC diminishing returns -- stun/freeze effects halve duration on each repeat, immune after 3 applications
> Rare drop broadcasts -- system chat message when Rare+ items drop
-- Admin