Commit Graph

73 Commits

Author SHA1 Message Date
Andrew Gutekanst
ecc0e49497 Fix major crypto bug
`cryptKeyTruncByte` was incorrectly typed as a byte when 1 was added.
This caused `cryptKeyTruncByte` to wrap around to 0 when it was 0xFF,
resulting in an incorrect multiplication by zero, breaking [en|de]cryption entirely.
2020-02-22 21:03:35 -05:00
Andrew Gutekanst
fff92b16ed Add bruteforce fallback for out-of-sync crypto 2020-02-22 11:20:52 -05:00
Andrew Gutekanst
fe786617d4 Implement scenario getfile packet and counter stub 2020-02-21 14:59:10 -05:00
Andrew Gutekanst
8cea6235c8 Implement stage object deletion 2020-02-19 08:13:41 -05:00
Andrew Gutekanst
e5f2650871 Add prayer/diva fountain stage 2020-02-19 08:11:24 -05:00
Andrew Gutekanst
99c965e3b6 Combine MsgSysEnterStage with MsgSysMoveStage 2020-02-07 18:16:33 -05:00
Andrew Gutekanst
315449aa33 Document MsgSysEnumerateStage resp fields 2020-02-07 13:36:24 -05:00
Andrew Gutekanst
50b21094f2 Implement user binary parts propagation 2020-02-05 13:15:26 -05:00
Andrew Gutekanst
8b65fc7495 Fix client crash and implement quest loading
Fixed client crashes caused by handleMsgMhfEnumeratePrice and handleMsgMhfEnumerateRanking
wherein the server's response didn't contain enough data, causing the client to read uninitalized memory.

Implemented quest loading handlers GetFile, WaitStageBinary, and UnlockStage, as well as correcting the IssueLogkey handler.
2020-02-05 05:03:28 -05:00
Andrew Gutekanst
d4370c66ad Add MSG_SYS_END to all sent packets 2020-02-05 05:00:20 -05:00
Andrew Gutekanst
4e1cef9bf3 Implement stage binaries, stack locking, and logkeys 2020-02-03 22:56:54 -05:00
Andrew Gutekanst
5924db9b42 Remove debug code from entrance server 2020-02-03 15:27:38 -05:00
Andrew Gutekanst
f17d1db9a7 Implement packets & handlers for loading existing character 2020-02-03 15:25:04 -05:00
Andrew Gutekanst
773429ce15 Make char savedata persistent 2020-02-03 14:07:33 -05:00
Andrew Gutekanst
0893f75c3f Update README.md 2020-02-01 17:47:16 -05:00
Andrew Gutekanst
eb491093f8 Make custom launcher files a config option 2020-02-01 17:40:47 -05:00
Andrew Gutekanst
1929b8823d Write missing packet opcodes 2020-02-01 16:22:13 -05:00
Andrew Gutekanst
99ceeb6872 Fix entree object notifications 2020-01-24 15:28:08 -05:00
Andrew Gutekanst
69ca0c13ac Add temp user binary parts 2 & 3 2020-01-24 13:38:38 -05:00
Andrew Gutekanst
cf91478abb Fix typo in MsgSysGetUserBinary 2020-01-23 21:07:29 -05:00
Andrew Gutekanst
1b74b6496e Implement MsgSysGetUserBinary name stub 2020-01-23 21:06:25 -05:00
Andrew Gutekanst
23838bdb78 Add debug logging and stage entry fixes 2020-01-23 20:52:52 -05:00
Andrew Gutekanst
86d4ec55cb Implement MsgSysPositionObject Build 2020-01-23 20:32:15 -05:00
Andrew Gutekanst
3b443344a2 Make object ID start at 1 2020-01-23 20:29:56 -05:00
Andrew Gutekanst
0ac35f8743 Fix Stage init 2020-01-23 20:22:42 -05:00
Andrew Gutekanst
1afe6860e2 Print recovered panic error 2020-01-23 20:15:56 -05:00
Andrew Gutekanst
b1b4f390f0 Stage object notification test 2020-01-23 19:59:26 -05:00
Andrew Gutekanst
28e0dafd54 Stage/objects test 2020-01-23 19:29:19 -05:00
Andrew Gutekanst
10c80322af Implement MsgSysSetStageBinary parser 2020-01-23 16:49:00 -05:00
Andrew Gutekanst
cb275a7a18 Implement MsgSysSetStagePass parser 2020-01-23 15:59:30 -05:00
Andrew Gutekanst
865ba378ec Update MsgSysCreateStage fields 2020-01-23 15:53:45 -05:00
Andrew Gutekanst
ea13520ca9 Implement MsgSysReserveStage 2020-01-23 14:46:15 -05:00
Andrew Gutekanst
a92b5b0b93 Fix typo deadlock 2020-01-22 18:22:33 -05:00
Andrew Gutekanst
cf3cafa929 Implement MsgSysCreateStage 2020-01-22 18:17:23 -05:00
Andrew Gutekanst
5a67d689e0 Fix MsgSysCreateObject stage lookup 2020-01-22 18:03:02 -05:00
Andrew Gutekanst
fa245e53fb Implement MsgSysEnumerateStage w/ stage map 2020-01-22 17:53:27 -05:00
Andrew Gutekanst
b898614ddc Add MsgMhfCheckWeeklyStamp 2020-01-21 20:21:12 -05:00
Andrew Gutekanst
76fe663ee1 Add MsgSysReserve203/IsUpdateGuildMsgBoard 2020-01-21 20:01:32 -05:00
Andrew Gutekanst
4c839440cd Fix typo 2020-01-21 18:12:34 -05:00
Andrew Gutekanst
d0234c85ab Add MsgMhfGetUdTacticsFollower stub 2020-01-21 18:10:37 -05:00
Andrew Gutekanst
fa608fa555 Initial chat prototype 2020-01-19 12:52:57 -05:00
Andrew Gutekanst
e6d7b7b9c2 Fix sum32 checksum 2020-01-14 11:23:27 -05:00
Andrew Gutekanst
5f1d429c12 Add graceful shutdown to channel server 2020-01-13 18:36:55 -05:00
Andrew Gutekanst
30219b8bcf Change project dir structure 2020-01-13 17:32:49 -05:00
Andrew Gutekanst
e5257eb6ed Refactor servers 2020-01-13 17:19:29 -05:00
Andrew Gutekanst
0922ff4f9c Run go mod tidy 2020-01-01 10:53:00 -05:00
Andrew Gutekanst
5a9c639172 Change sign server default response 2020-01-01 10:50:22 -05:00
Andrew Gutekanst
953870867e Fix entrance server IPv4 encoding 2020-01-01 10:35:14 -05:00
Andrew Gutekanst
fbcd878e72 Remove test.py step from readme 2020-01-01 08:47:37 +09:00
Andrew Gutekanst
1c6b7ef257 Port entrance server to Go 2020-01-01 08:46:36 +09:00