Commit graph

21 commits

Author SHA1 Message Date
Nick Renieris
8487d90795 packets/PlayerConnect: Initialize maxPlayerCount
It was sending bad data since it wasn't getting inited anywhere.
2022-06-24 03:18:40 +03:00
Nick Renieris
6a058e2bf9 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-24 02:38:37 +03:00
Nick Renieris
80ab4567a8 packet: Add missing packetNames entries 2022-06-22 20:16:34 +03:00
Nick Renieris
ffa0b225b0 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-22 20:16:15 +03:00
Nick Renieris
b39e1a6cbb tcpServer: Don't print intermittent newlines 2022-06-22 20:11:01 +03:00
CraftyBoss
063e20677f
Merge pull request #2 from CraftyBoss/revert-1-dev
Revert "remove fixed buffer size from logger (+ run clang-format)"
2022-06-19 23:56:57 -07:00
CraftyBoss
cbadd82b21
Revert "remove fixed buffer size from logger (+ run clang-format)" 2022-06-19 23:56:37 -07:00
CraftyBoss
52c3345633
Merge pull request #1 from fruityloops1/dev
remove fixed buffer size from logger (+ run clang-format)
2022-06-19 19:56:19 -07:00
fruityloops1
3b3c5584d9 remove fixed buffer size from runner (+ run clang-format) 2022-06-19 16:10:20 +02:00
Somebody Whoisbored
9b275da22b Implement Client::setLastUsedPort 2022-06-18 21:42:59 -07:00
Somebody Whoisbored
f8b4bd690d Enable music by default 2022-06-18 18:38:46 -07:00
Somebody Whoisbored
a7715c15da Correct socket option/levels 2022-06-18 18:37:46 -07:00
Somebody Whoisbored
0657047d9c Fix DEBUGLOG check 2022-06-18 18:36:46 -07:00
Somebody Whoisbored
8bddc5622c Remove libnx link 2022-06-18 18:36:17 -07:00
Somebody Whoisbored
b25cad8812 Add socket errno display 2022-06-18 18:36:00 -07:00
Somebody Whoisbored
41746805c2 Ignore .lst build artifact 2022-06-18 18:26:11 -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
b71a6fc27b update readme, fix screenshot hook, removed costume unlock hook 2022-06-17 22:18:24 -07:00
CraftyBoss
381293e2b8 First Commit 2022-06-16 14:33:18 -07:00
CraftyBoss
0584c9cc90 Initial commit 2022-06-16 14:28:42 -07:00