Commit Graph

12 Commits

Author SHA1 Message Date
Houmgaor
458d8c9397 refactor(channelserver): add numeric column helpers and extract protocol constants
Add readCharacterInt/adjustCharacterInt helpers for single-column
integer operations on the characters table. Eliminates fmt.Sprintf
SQL construction in handlers_misc.go and replaces inline queries
across cafe, kouryou, and mercenary handlers.

Second round of protocol constant extraction: adds constants_time.go
(secsPerDay, secsPerWeek), constants_raviente.go (register IDs,
semaphore constants), and named constants across 14 handler files
replacing raw hex/numeric literals. Updates anti-patterns doc to
mark #4 (magic numbers) as substantially fixed.
2026-02-20 21:18:40 +01:00
Houmgaor
1398383a8d fix(lint): automated linting, with simple formatter. 2025-10-19 22:43:05 +02:00
wish
b20969ddc6 emulate retail semaphore logic 2024-10-03 21:56:06 +10:00
wish
4a35be488c rework Semaphores 2023-09-03 00:00:08 +10:00
wish
5b5621a3d8 fix and rework various Raviente ID systems 2023-08-30 23:43:56 +10:00
wish
1912e1d68b increase maximum capacity of Semaphores 2023-07-30 18:04:49 +10:00
wish
e04c18bccf fix DeleteSemaphore variable naming 2023-04-23 15:35:18 +10:00
wish
d7cc7ab5e3 fix invalid semaphore id for raviente support 2022-08-14 18:52:53 +10:00
wish
483490bbd5 use simplesucceed for existing semaphores 2022-08-08 22:17:14 +10:00
wish
820563dc4c matchmaking support 2022-08-05 07:39:37 +10:00
wish
c0fd2f8992 raviente cleanup and fixes 2022-07-29 04:55:49 +10:00
wish
2c0e7a5267 repository cleanup 2022-07-29 03:25:23 +10:00