Commit graph

58 commits

Author SHA1 Message Date
Nick Renieris
8f21d43bc3 packets/PlayerConnect: Initialize maxPlayerCount
It was sending bad data since it wasn't getting inited anywhere.
2022-06-23 20:56:05 -04:00
Nick Renieris
60a5179e4b Anims/Types: Handle out of bounds FindStr accesses without throwing
Throwing tries to call `std::__throw_out_of_range_fmt` which results in a crash.
The cause of the out of bounds accesses needs to be investigated.
2022-06-23 20:56:05 -04:00
Nick Renieris
7e4a80b934 packet: Add missing packetNames entries 2022-06-23 20:56:05 -04:00
Nick Renieris
9227e37623 packets: Fix struct packing related bugs
- sizeof(bool) is implementation defined. The server assumes it's 4 but for me it was 1 (tested with Release too) which caused some bugs
- Structs aren't guaranteed to be packed. The compiler is free to change the layout, which we wouldn't want to for the Packet structs that we deserialize on the server.
2022-06-23 20:56:05 -04:00
Somebody Whoisbored
b25cad8812 Add socket errno display 2022-06-18 18:36:00 -07:00
Somebody Whoisbored
2b7ca6d914 Add svcOutputDebugString 2022-06-18 18:25:15 -07:00
Sanae
7c7b06542b Improve keyboard support and add port selection 2022-06-18 18:48:37 -06:00
CraftyBoss
381293e2b8 First Commit 2022-06-16 14:33:18 -07:00