Commit Graph

15 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
021705c006 fix(quest): add S6 compatibility for quest data backporting
Cherry-picked from 8d1c6a7 with conflict resolution.
2026-01-30 01:14:13 +01:00
wish
c6b770672e swap placeholder data 2023-01-31 23:54:24 +11:00
wish
19897e76aa use placeholder data blob for quest enumeration 2023-01-22 20:07:34 +11:00
wish
605b247f21 fix vs quest bets 2023-01-21 10:29:06 +11:00
wish
7ddf63e0a1 fix vs quest items 2022-11-23 06:56:30 +11:00
wish
1085f54c0f merge fixes 2022-11-01 12:41:45 +11:00
wish
f435c97f67 Merge branch 'main' into feature/quest-enum
# Conflicts:
#	server/channelserver/handlers_quest.go
2022-11-01 12:24:23 +11:00
wish
702471577b print correct missing scenario path 2022-10-28 08:54:45 +11:00
wish
82eeb79229 crash client on missing quest file 2022-10-27 13:04:52 +11:00
wish
6413be5320 enhance quest debugging tools 2022-10-19 23:09:43 +11:00
wish
616d58e70e dump other savedata types 2022-09-05 15:29:24 +10:00
wish
40f5744a7b recurse quest enum into dirs 2022-08-06 19:59:45 +10:00
wish
e84bdd5adf initial quest enumeration concept 2022-08-06 07:02:38 +10:00
wish
2c0e7a5267 repository cleanup 2022-07-29 03:25:23 +10:00