Houmgaor
6b8e468073
chore(docker): improve init script robustness and ignore db-data
...
- Add file existence checks before iterating schema directories
- Add proper quoting for file paths
- Add completion message
- Ignore docker/db-data/ (PostgreSQL runtime data)
2026-01-30 00:24:39 +01:00
Houmgaor
e929346bf3
test: add unit tests for core packages
...
Add comprehensive test coverage for:
- common/token: token generation and RNG tests
- common/stringsupport: string encoding, CSV operations
- common/byteframe: binary read/write operations
- common/mhfcourse: course/subscription logic
- network/crypt_packet: packet header parsing
- network/binpacket: binary packet round-trips
- network/mhfpacket: packet interface and opcode mapping
- config: configuration struct and loading
- server/entranceserver: response building
- server/signserver: response ID constants
- server/signv2server: HTTP endpoint validation
- server/channelserver: session, semaphore, and handler tests
All tests pass with race detector enabled.
2026-01-30 00:19:27 +01:00
Houmgaor
69cc84aa2f
refactor(distribution): use distribution_items table instead of data blob
...
Distributions now read items from the distribution_items table instead of
requiring a pre-built binary data blob. This enables creating distributions
via simple SQL inserts rather than generating binary data manually.
Changes:
- Add getDistributionItems() to fetch items from distribution_items table
- Update handleMsgMhfApplyDistItem to build response from table data
- Move server-side rewards (points, RP) to handleMsgMhfAcquireDistItem
- Support G8+ item format (13 bytes per item)
2026-01-29 23:59:19 +01:00
Houmgaor
64cc285fd8
doc: inline code documentation.
2025-11-24 18:41:37 +01:00
Houmgaor
a992c5a603
refactor(format): automated formatting with go fmt.
2025-11-24 17:59:41 +01:00
Houmgaor
42bb5c18ef
chore(cicd): updating CD pipeline, adds new CI pipeline with unit tests.
2025-11-24 17:51:53 +01:00
Houmgaor
bfdfed0c71
fix(presets): players with more than 40 presets would crash on logging in.
2025-11-24 11:20:00 +01:00
Houmgaor
c2b51f267c
fix(usercheck): issues with strong passwords.
2025-11-24 01:17:01 +01:00
Houmgaor
c03a59b65a
refactor(usercheck): use credentials from config.json by default.
2025-11-24 01:13:34 +01:00
Houmgaor
e722533fdb
feat(tools): adds a small tools to monitor players.
2025-11-24 01:10:20 +01:00
Houmgaor
67dad15204
fix(server): race condition that created server panic.
2025-11-24 00:51:45 +01:00
Houmgaor
6677f34c27
docs(README): update readme to reference new docs.
2025-11-18 00:52:17 +01:00
Houmgaor
aa638b791d
docs: adds documentation files for the major configurable options.
2025-11-18 00:44:17 +01:00
Houmgaor
9a47a876eb
feat(logs): by default, log server activity to a file.
2025-11-18 00:18:32 +01:00
Houmgaor
7aafc71dcc
feat(loganalyzer): complete tool suite for analysing erupe logs.
2025-11-18 00:02:02 +01:00
Houmgaor
79636af608
chore: more complete git ignore.
2025-11-18 00:00:56 +01:00
Houmgaor
2a7a44b974
feat(docker): backports docker configuration from main for testing.
2025-11-09 17:19:36 +01:00
Houmgaor
fd5f3e5aae
doc: expanding main documentation.
2025-11-09 16:23:55 +01:00
Houmgaor
5d2d4f2694
chore: upgrade from Go 1.19 to Go 1.25.
2025-11-09 13:03:46 +01:00
Houmgaor
f0155bf590
refactor: config.json should never be committed.
2025-11-09 12:59:26 +01:00
Houmgaor
c8c0dae8fe
test: imports basic tests, all passing.
2025-11-09 12:36:56 +01:00
Houmgaor
33a195b864
docs: documentating upcoming work.
2025-11-09 12:24:51 +01:00
wish
f0db7f0a19
finalise 9.2
v9.2.0
2023-04-01 17:58:26 +11:00
wish
7c5b027457
fix schema
2023-03-31 23:43:48 +11:00
wish
0345fb6da9
undo drop column
2023-03-31 23:43:07 +11:00
wish
006f44f3a6
fix feature weapon RNG
2023-03-31 00:53:50 +11:00
wish
31adb0b1d6
add miscellaneous cleanup queries
2023-03-31 00:46:48 +11:00
wish
7d884da938
replace deprecated code
2023-03-31 00:04:51 +11:00
wish
29f91bcd9b
link gacha demo templates
2023-03-30 23:50:54 +11:00
wish
759b8e47d1
create schema for gacha demos
2023-03-30 23:42:39 +11:00
wish
a042cef5b1
fix possible infinite loop in gacha rolls
2023-03-30 23:32:10 +11:00
wish
84c3944e19
update default rights integer
2023-03-30 22:17:44 +11:00
wish
8749674a63
replace deprecated rand call
2023-03-30 21:59:51 +11:00
wish
61d15ddd43
remove mail item workaround
2023-03-30 21:48:23 +11:00
wish
107eddfea5
stub interception map packets
2023-03-27 21:29:23 +11:00
wish
f85be55a6d
fix login boost creating hanging connections
2023-03-14 02:16:09 +11:00
wish
8189f90031
fix shop-db schema
2023-03-13 23:37:00 +11:00
wish
265b74b6b0
fix shop-db schema
2023-03-13 23:25:12 +11:00
wish
c204813be2
merge optional shop items from feature/diva
2023-03-13 14:31:52 +11:00
wish
c344fdd4c9
fix scout enumeration data
2023-03-12 23:43:30 +11:00
wish
a2a4989cda
replace outdated code
2023-03-12 23:36:26 +11:00
wish
6aa075009e
timestamp fixes
2023-03-12 23:31:39 +11:00
wish
ccfd2ac36f
create RNG in token module
2023-03-12 23:29:50 +11:00
wish
cce558db9c
amend comment
2023-03-12 22:28:27 +11:00
wish
a2d24837bd
correct minor mistake
2023-03-12 22:10:13 +11:00
wish
2136638c37
fix missing primary key
2023-03-12 22:08:07 +11:00
wish
40d5c67902
merge shop enumeration fixes from feature/diva
2023-03-12 22:05:42 +11:00
wish
511757838e
Merge pull request #64 from ZeruLight/feature/rights-v4
...
feature/rights-v4
2023-03-12 02:11:08 +11:00
wish
5761a38000
extra content
2023-03-12 02:09:36 +11:00
wish
9a42042686
improve course command responses
2023-03-12 01:59:21 +11:00