Houmgaor
645c4ddd38
test: increase code coverage from 45.1% to 48.3%
...
Add unit tests across multiple packages:
- byteframe: SetBE/SetLE byte order switching
- config: Mode.String() for all safe version ranges
- mhfpacket: 28 Parse methods, 5 Build methods, empty packet builds,
variable-length packets, NOT IMPLEMENTED error paths, UpdateWarehouse
- network: PacketID.String() for known IDs, out-of-range, and all valid
- channelserver: handleMsgMhfGetPaperData (6 switch cases), grpToGR
(11 input values), gacha handlers, TimeGameAbsolute, equipSkinHistSize
(4 config branches), guild mission handlers, dumpSaveData disabled path
- entranceserver: makeHeader with various inputs
2026-02-17 17:32:54 +01:00
Houmgaor
0bd724f74e
test: backport remaining test files from v9.2.x-stable
...
Import 18 network packet test files and 5 server infrastructure test
files, adapted for main branch APIs: fix config import alias (_config),
remove non-existent DevMode field, use global handlerTable instead of
per-server handlers map, and correct validateToken mock expectations
to include both token and tokenID arguments.
Adds go-sqlmock dependency for database mocking in signserver tests.
2026-02-17 00:09:41 +01:00
Houmgaor
73e874f43f
fix: array bound crashes on clans.
2025-10-21 00:21:50 +02:00
Houmgaor
1398383a8d
fix(lint): automated linting, with simple formatter.
2025-10-19 22:43:05 +02:00
wish
7d760bd3b4
fix EntranceServer clan member list limits
2024-08-08 22:16:39 +10:00
wish
1766b6f2bd
rewrite EntranceServer response
2024-01-02 20:04:40 +11:00
wish
3db6ee7b25
simplify EntranceServer crypto
2023-12-31 19:56:20 +11:00
wish
57bf1ca6e4
simplify EntranceServer crypto
2023-12-31 19:12:33 +11:00
wish
1aa2e36087
simplify World name concatenation
2023-12-31 16:30:11 +11:00
wish
5a8bc3b67a
fix EntranceServer response on G5
2023-12-31 15:12:20 +11:00
wish
0ea0dc217b
simplify config
2023-12-31 12:51:24 +11:00
wish
a2f488e5e3
move ProxyPort config out of DevMode
2023-11-26 20:50:08 +11:00
rockisch
e39630564e
Add dev proxy config
2023-11-22 00:01:04 -03:00
wish
385a672c3d
rewrite Channel response structure
2023-07-30 18:05:33 +10:00
wish
d1d3ddd803
Merge branch 'main' into main
2023-07-29 17:18:32 +10:00
wish
aad9425a73
guess Forward.5 compatibility
2023-07-22 18:22:21 +10:00
wish
dbedab4d33
add ClientMode support based on Forward.4
2023-07-22 16:47:44 +10:00
wish
123434c374
add S6 Entrance compatibility
2023-07-21 20:18:14 +10:00
wish
411477f9b3
fix time calculations & undo config changes
2023-07-16 21:14:44 +10:00
Matthe815
6938b57a60
fix: Timescale fixes for seasons
2023-07-06 17:00:17 -04:00
Matthe815
35f9d5ac18
feature: Season implementation
2023-07-05 19:29:39 -04:00
wish
d130233860
add support for SVR Entrance responses
2023-07-03 03:13:23 +10:00
wish
1f93419cb7
add support for more versions
2023-07-03 00:30:44 +10:00
wish
b4df642ee3
add ClientMode config option
2023-06-18 20:31:18 +10:00
wish
0caf610d33
rework logging code
2023-03-09 22:11:55 +11:00
wish
dcab41a6c7
rework logging code
2023-03-09 22:05:32 +11:00
wish
e811dd1274
initial time fix
2023-03-04 21:43:10 +11:00
wish
747f21c4db
workaround for localhost connections
2023-02-25 16:12:51 +11:00
wish
9fc26405bb
defer closing entranceserver connections
2022-10-18 12:03:12 +11:00
wish
7d3aa8c5b9
use default currentplayers integer on fail
2022-10-12 05:19:48 +11:00
wish
f9e9aaa303
use default season integer on fail
2022-10-12 05:15:40 +11:00
wish
e9cc5cc3e2
parse host as FQDN or IP
2022-08-04 23:52:13 +10:00
wish
2c0e7a5267
repository cleanup
2022-07-29 03:25:23 +10:00