CNA-Bld / CarrotJuicer

Juice the carrots from ウマ娘プリティーダービー (Umamusume Pretty Derby) - Windows implementation
MIT License
95 stars 24 forks source link

Responses of `load/index` cannot be parsed #5

Closed CNA-Bld closed 2 years ago

CNA-Bld commented 2 years ago

It's complaining about C0 so I think it's basically same issue with #2. We load master.mdb only when we see this RPC so anything depending on it is currently broken.

There are actually a bunch of other places where similar problems exist :( A proper fix probably is to change how nlohmann/json handles "null": 1.

CNA-Bld commented 2 years ago

Signature:

Between a9 63 61 72 64 5f 6c 69 73 74 and 01 b1 73 75 70 70 6f 72 74 5f 63 61 72 64 5f 6c 69 73 74, replace all 86 c0 01 a7 63 61 72 64 5f 69 64 with 85 a7 63 61 72 64 5f 69 64 being lazy, so just replace 86 c0 01 with 85.