Houmgaor
072d3b895d
fix(goocoo): backport personal poogie system from main branch
...
The personal poogie (goocoo) system was completely broken because the
code referenced the old "gook" table/column names while the database
schema had been renamed to "goocoo". All read/write queries failed
silently, resulting in no poogie data being saved for any player.
Backports from main: renamed Gook struct to Goocoo with correct
structured fields (22 int16 + 2 uint32), updated all SQL queries to
use goocoo table/columns, and added comprehensive packet parsing tests.
2026-02-08 00:55:31 +01:00
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
633061caa1
prevent save error crashes
2026-02-02 16:27:54 +01:00
Houmgaor
67dad15204
fix(server): race condition that created server panic.
2025-11-24 00:51:45 +01:00
wish
8749674a63
replace deprecated rand call
2023-03-30 21:59:51 +11:00
wish
bcb71536ec
initial rights v4 concept
2023-03-11 23:17:14 +11:00
wish
29cf7add11
rework netcafe course activation
2023-03-11 16:26:16 +11:00
wish
986a0034c8
add various gameplay options
2023-03-09 19:23:31 +11:00
wish
d5dc15fc93
implement guild semaphore locking
2023-03-09 17:31:43 +11:00
wish
e811dd1274
initial time fix
2023-03-04 21:43:10 +11:00
wish
bef11ce82e
support more courses
2023-02-28 18:18:22 +11:00
wish
e98259a11a
move various packet handlers
2023-02-13 22:27:07 +11:00
wish
091a8cd3da
move caravan event handlers
2023-02-13 22:27:01 +11:00
wish
174f58c014
fix nil savedata error proper
2023-02-12 01:35:48 +11:00
wish
939c4e2496
fix nil savedata on logout
2023-02-11 20:36:55 +11:00
wish
e6845d74d0
make various handlers not error fatally
2023-02-04 14:29:28 +11:00
wish
218693ef40
clean up various save handlers
2023-02-02 21:08:09 +11:00
wish
29d62634fa
clean up various save handlers
2023-01-29 22:32:52 +11:00
wish
6181f7e5a4
fix GetEarthStatus response
2023-01-29 20:57:28 +11:00
wish
6be1e0c927
handle stampcard progression
2023-01-22 22:43:34 +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
539fcf9f07
add comments
2022-11-18 20:56:36 +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
6c3be9c32e
decode and support screenshot sharing
2022-11-07 00:31:42 +11:00
wish
a30268a54a
prevent invalid bitfield
2022-11-02 22:01:36 +11:00
wish
84f5a0ad42
only accumulate cafeTime with course
2022-11-02 20:57:45 +11:00
wish
5bb9637db8
rights v3.1
2022-11-02 20:44:53 +11:00
wish
4390617ccf
update rights integer via struct
2022-10-30 23:18:53 +11:00
wish
676bb736bf
lockable courses via config
2022-10-30 16:43:58 +11:00
wish
31bac7bd68
initial course command
2022-10-30 15:03:12 +11:00
wish
bac4e70be4
course enumeration concept
2022-10-30 11:44:22 +11:00
wish
2013f51233
prevent panic on nil host
2022-10-24 07:56:36 +11:00
wish
4dfc6c11dc
fix disconnect not applying to other stages
2022-10-24 05:23:05 +11:00
wish
ae8741dbd2
prevent panic on nil stage
2022-10-24 05:04:28 +11:00
wish
e5e3750045
auto-unregister from host-less quests
2022-10-22 05:54:53 +11:00
wish
25491834df
fix ud shop coin response
2022-10-13 04:21:47 +11:00
wish
0bbb90a927
address packet queueing issues
2022-10-12 01:41:29 +11:00
wish
bc7b30afed
dump goocoo savedata
2022-10-09 00:47:09 +11:00
wish
4f2a94cc50
partially decode TerminalLog
2022-10-06 02:23:01 +11:00
wish
88815c0a05
dump other savedata types
2022-09-05 15:42:16 +10:00
wish
c60385e61f
dump other savedata types
2022-09-05 15:36:01 +10:00
wish
90314fa411
rework savedata
2022-09-04 03:19:32 +10:00
wish
8c42dcafe8
partial courses rework
2022-08-31 16:44:35 +10:00
wish
8a3daa1cfa
add exchanged tkts to warehouse gift box
2022-08-19 14:42:00 +10:00
wish
c4d128ec18
correctly handle yearly sub exchanges
2022-08-19 14:00:59 +10:00
wish
89683e6063
further TransitMessage decoding
2022-08-17 04:55:42 +10:00
wish
d48a64e208
rename rights variable
2022-08-14 18:09:06 +10:00
wish
cecfb1348d
add missing import
2022-08-14 17:39:25 +10:00