Commit Graph

83 Commits

Author SHA1 Message Date
Andrew Gutekanst
6e6183022d Add MsgMhfAcquireExchangeShop parser 2020-02-23 20:30:43 -05:00
Andrew Gutekanst
9182097411 Add MsgMhfAcquireDistItem size parser 2020-02-23 20:30:20 -05:00
Andrew Gutekanst
52107be3ff Add MsgMhfAcquireCafeItem size parser 2020-02-23 20:15:30 -05:00
Andrew Gutekanst
1e33ed84c6 Add parsers for some ackHandle-only packets 2020-02-23 18:56:54 -05:00
Andrew Gutekanst
112dc03acc Update README.md 2020-02-23 11:16:32 -05:00
Andrew Gutekanst
f86845eb14 Merge pull request #5 from Andoryuuta/multiplayer-jp
Multiplayer JP
2020-02-22 22:59:23 -05:00
Andrew Gutekanst
35f34d31db Add dev options to config 2020-02-22 22:46:00 -05:00
Andrew Gutekanst
1d8eec2280 Implement handlers for stage movement and quest completion 2020-02-22 22:22:50 -05:00
Andrew Gutekanst
c505686893 Document charID-based house stageID 2020-02-22 22:18:16 -05:00
Andrew Gutekanst
172b5decf4 Implement multiple packet parsers 2020-02-22 22:17:10 -05:00
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