Commit Graph

25 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
wish
bcb71536ec initial rights v4 concept 2023-03-11 23:17:14 +11:00
wish
b6fcc1ca14 add option to change daily quest allowance 2023-03-09 20:31:39 +11:00
wish
29988f2bdd fix disable boost time 2023-03-09 19:33:50 +11:00
wish
986a0034c8 add various gameplay options 2023-03-09 19:23:31 +11:00
wish
1158b60638 fix netcafe timestamp 2023-03-04 23:49:21 +11:00
wish
e811dd1274 initial time fix 2023-03-04 21:43:10 +11:00
wish
7ed3702cc0 make cafe overflow errors not fatal 2023-01-29 21:37:16 +11:00
wish
7bede20f38 track etc points 2023-01-22 15:16:00 +11:00
wish
5a9d22a28a add point limitations 2023-01-08 19:16:45 +11:00
wish
3294d0e222 Merge pull request #53 from ZeruLight/feature/lang
feature/languages
2022-11-12 13:37:46 +11:00
wish
c7ba4bd3fa fix netcafe time reset 2022-11-10 14:43:23 +11:00
wish
10b2ddcfd7 map language to server instead of session 2022-11-09 23:50:40 +11:00
wish
7789424a08 initial multi-language concept 2022-11-07 00:35:45 +11:00
wish
84f5a0ad42 only accumulate cafeTime with course 2022-11-02 20:57:45 +11:00
wish
fda2e74442 persist cafe time 2022-10-24 16:51:56 +11:00
wish
9560cdc7df adjust wording 2022-10-24 09:25:20 +11:00
wish
25a6527c93 automate netcafe reset 2022-10-24 09:14:57 +11:00
wish
0edfd255fd correct backwards comparison 2022-08-13 21:46:05 +10:00
wish
440b73f696 implement netcafe points and boost time 2022-08-13 21:23:02 +10:00
wish
d8072ee06e default netcafe rewards and maintenance 2022-08-13 18:22:56 +10:00
wish
0ba9adcc88 handle receiving multiple items 2022-08-13 17:46:17 +10:00
wish
ac90c2dd09 correct minutes->seconds 2022-08-13 17:23:33 +10:00
wish
3bb0ab6295 cleanup logic and update cafe time 2022-08-13 17:21:24 +10:00
wish
18989e9435 initial netcafe implementation 2022-08-13 16:25:32 +10:00