Houmgaor
e353906e1c
refactor(channelserver): split handlers_data.go into sub-files
...
Separate the 1,580-line handlers_data.go into three focused files:
- handlers_data.go (~210 lines): character save/load handlers
- handlers_data_paper.go (~616 lines): tower/paper types and handler
- handlers_data_paper_tables.go (~765 lines): paperGiftData reward map
Mirrors the earlier handlers_guild.go split pattern.
2026-02-18 00:47:14 +01:00
Houmgaor
c64dabc3ba
fix: check all Close() return values for errcheck lint
...
Add explicit error discards (_ =) for Close() calls on network
connections, SQL rows, and file handles across 28 files. Also add
.golangci.yml with standard linter defaults to match CI configuration.
2026-02-17 23:57:14 +01:00
Houmgaor
47f7a1f636
fix(channelserver): handle bare Exec errors and filter expected ErrNoRows
...
138 bare db.Exec calls across 22 handler files silently dropped write
errors. Each is now wrapped with error check and zap logging.
4 QueryRow sites that legitimately return sql.ErrNoRows during normal
operation (new player mezfes, festa rankings, empty guild item box)
now filter it out to reduce log noise.
2026-02-17 23:33:44 +01:00
Houmgaor
46bbb6adf9
fix: resolve all remaining lint errors (errcheck) across 49 files
...
Fix unchecked error returns on bf.Seek(), db.Exec(), QueryRow().Scan(),
pkt.Build(), logger.Sync(), and binary.Write() calls. The linter now
passes with 0 errors, build compiles, and all tests pass with -race.
2026-02-17 18:07:38 +01:00
Houmgaor
18592c5ded
fix(handlers): trying to fix issues with incomplete saves.
2025-10-31 13:10:17 +01:00
Houmgaor
1398383a8d
fix(lint): automated linting, with simple formatter.
2025-10-19 22:43:05 +02:00
Houmgaor
8a92a7957e
fix(crashes): trying to investigate the causes of crash.
...
New unit tests to that end.
2025-10-19 19:02:29 +02:00
wish
4eed6a9738
add playtime chat command
2024-11-09 18:20:49 +11:00
wish
0b3e1f520f
use Monster enum on GetPaperData
2024-02-19 17:34:08 +11:00
wish
377ff14a22
use Monster enum on GetPaperData
2024-02-19 17:34:01 +11:00
wish
0ea0dc217b
simplify config
2023-12-31 12:51:24 +11:00
wish
5662564842
add option to dump raw saves
2023-12-03 17:57:23 +11:00
wish
e75a77e6b8
optimise grpToGR
2023-10-28 11:55:06 +11:00
wish
8abefd7441
fix null LoadScenarioData response
2023-10-28 11:53:53 +11:00
wish
d0431fbc1c
ignore name-checker if using Season modes
2023-10-02 23:13:19 +11:00
wish
872459e7bd
fix dumpSaveData not recursively creating folders
2023-07-30 22:39:31 +10:00
wish
1169684e5b
remove test PaperMission data
2023-07-01 12:53:17 +10:00
wish
586ae8b388
add comment descriptions for PaperData
2023-06-25 21:44:59 +10:00
wish
0929592110
rework PaperData
2023-06-19 22:43:07 +10:00
wish
7d884da938
replace deprecated code
2023-03-31 00:04:51 +11:00
wish
c718e9a5a7
fix various packet responses
2023-02-12 14:04:16 +11:00
Yarg-mirror
3afaba5193
Update handlers_data.go
...
Under Windows: no change
Under Linux: Fix directory creation with no read/write permissions that failed the creation of save data dump
2023-02-04 14:32:10 +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
d5e69aa83c
fix handling new characters
2023-01-05 01:20:54 +11:00
wish
0774518eeb
handle unnamed new characters
2023-01-04 10:47:24 +11:00
wish
9234d82110
add option to flag corruption attempted saves as deleted
2022-12-23 23:18:00 +11:00
wish
7676f2e7d5
terminate session on save corruption
2022-12-23 23:12:01 +11:00
wish
4a7cde77ea
fix nil StrConv on save
2022-11-01 10:49:28 +11:00
wish
6ee9234745
fix various savedata bugs
2022-10-08 13:59:48 +11:00
wish
d9541a6d1a
rewrite dumpSaveData
2022-10-05 13:33:14 +11:00
wish
128f375cd2
dump savedata without name
2022-09-10 22:43:23 +10:00
wish
616d58e70e
dump other savedata types
2022-09-05 15:29:24 +10:00
wish
6c9e39a5cd
fix savedata bugs
2022-09-04 15:52:50 +10:00
wish
90314fa411
rework savedata
2022-09-04 03:19:32 +10:00
wish
6e7259a068
dump more save data types to backup
2022-08-19 19:46:55 +10:00
wish
ce31b248eb
loaddata fallback
2022-08-12 15:13:31 +10:00
wish
37e4b42b23
fix character gender offset
2022-08-10 01:17:00 +10:00
wish
0b90dfd458
fix binpath reference when overriding saves
2022-08-05 20:47:20 +10:00
wish
e0b1b7eab2
objects v3.1
2022-08-02 05:21:03 +10:00
wish
2c0e7a5267
repository cleanup
2022-07-29 03:25:23 +10:00