Commit Graph

3 Commits

Author SHA1 Message Date
Houmgaor
f138cb5f77 fix: replace panic calls with proper error handling
Remove 51 panic() calls from handler code and replace with:
- Proper error logging using zap
- Appropriate client error responses (doAckBufFail, doAckSimpleFail)
- Graceful error recovery instead of server crashes

Files updated:
- handlers_guild_scout.go (9 panics)
- handlers_guild_tresure.go (10 panics)
- handlers_guild.go (7 panics + dead code removal)
- handlers_mail.go (5 panics)
- handlers.go (9 panics)
- handlers_tower.go (2 panics)
- handlers_clients.go (3 panics)
- handlers_guild_alliance.go (1 panic)
- handlers_quest.go (1 panic)
- handlers_rengoku.go (1 panic)
- handlers_stage.go (1 panic)
- handlers_data.go (1 panic)
- handlers_cafe.go (1 panic)
- signserver/sign_server.go (1 panic)

Remaining panics (3) are in test files and compression library
where panicking on programming errors is appropriate.
2026-02-02 17:14:34 +01:00
Houmgaor
bbd33d47ef docs: add cherry-pick recommendations from main branch
Analyze 589 commits on main to identify safe cherry-picks for 9.3.0:
- Tier 1: Critical stability fixes (deadlocks, race conditions, crashes)
- Tier 2: Security dependency updates
- Tier 3: Important bug fixes
- Tier 4: Version compatibility fixes (S6, G1, G10)
- Tier 5: Warehouse/save system fixes (requires testing)
- Tier 6: Optional features (playtime command, ngword)

Also documents commits to avoid and required schema patches.
2026-02-02 00:13:53 +01:00
Houmgaor
15cedc0ec7 docs: add IMPROVEMENTS.md with 9.3.0 release milestones
Add comprehensive improvement recommendations and release milestones:
- Security & stability improvements (token lifecycle, error handling)
- Database performance (indexes, N+1 fixes, caching)
- Feature completeness (guild, daily missions, tournament, tower)
- Operational excellence (health checks, metrics, logging)
- Discord bot enhancements
- Multi-version support audit
- Schema management infrastructure
- High-value packet implementations

Also add project roadmap section to CLAUDE.md referencing IMPROVEMENTS.md.
2026-02-02 00:08:30 +01:00