Commit graph

44 commits

Author SHA1 Message Date
Sanae
5f1a91161f
Merge pull request #23 from Link4565/dev 2022-07-24 16:42:07 -06:00
CraftyBoss
3c4a20a6d4 only save ip/port changes if actually changed, reconnect fixes 2022-07-09 18:24:00 -07:00
CraftyBoss
4f2bb984f2 begin work on join/disconnect particle effect, fix index oob error 2022-07-08 15:09:04 -07:00
CraftyBoss
88de1dcecf shift to sead singleton for Client, new custom heap for Client usage 2022-07-08 01:02:28 -07:00
CraftyBoss
1df21b2a3e added new headers, puppet actor archive, basic player interaction impl 2022-07-07 22:36:29 -07:00
Link4565
c9b1dfa911 Disable blocking on Recv calls
Adding non-blocking support to emulators prevents them from stalling with this change
2022-07-06 22:42:41 +01:00
CraftyBoss
2e2909e908
Merge pull request #19 from VelocityRa/fixes1
packets: Make bools take up 1 byte
2022-07-05 19:49:54 -07:00
CraftyBoss
3ce0f03650 Merge branch 'dev' of https://github.com/CraftyBoss/SuperMarioOdysseyOnline into dev 2022-07-05 19:34:48 -07:00
CraftyBoss
b00540b1d9 impl saving after ip/port change, add sceneobj headers, rework puppet info system a bit 2022-07-05 12:45:22 -07:00
Nick Renieris
0e9fde9289 packets: Make bools take up 1 byte 2022-06-28 13:26:26 +03:00
CraftyBoss
dc07fa96a2
Merge pull request #14 from VelocityRa/fixes0
Sync more info on connect, logging/debugging improvements, etc
2022-06-26 17:59:12 -07:00
Nick Renieris
951844e428 main: Fix debug puppet index incrementing
The last one was empty.
2022-06-26 10:42:28 +03:00
Nick Renieris
a416458e73 tcpServer: Support specifying port number 2022-06-26 10:42:28 +03:00
Nick Renieris
740f562906 server/logger: Support trying additional ports 2022-06-26 10:42:28 +03:00
Nick Renieris
62cc2a5102 SocketClient: Log packets by default (also recv), excluding Player and Cap
They're too spammy.
2022-06-26 10:42:28 +03:00
Nick Renieris
86de220619 Client: Sync Player & Costume info on connect 2022-06-26 06:11:06 +03:00
CraftyBoss
4b83934a47
Merge pull request #13 from VelocityRa/serverconfig-fixes
Server Config fixes
2022-06-25 19:55:22 -07:00
Nick Renieris
71b4237d84 Client: Don't erroneously log some errors 2022-06-26 00:55:14 +03:00
Nick Renieris
90f09a8340 states: Fix "Change Server Port" dialog 2022-06-26 00:55:14 +03:00
Nick Renieris
733f239d68 socketBase: Initialize state 2022-06-26 00:55:14 +03:00
Nick Renieris
d1e4466fba tcpServer: Handle connection reset 2022-06-26 00:55:14 +03:00
Nick Renieris
0bfd7a70b2 main: Log puppet costume 2022-06-25 03:59:25 +03:00
Nick Renieris
23cdf1442d Make "Reconnect to Server" option work if initial socket conn failed 2022-06-25 03:59:25 +03:00
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
Nick Renieris
5c71569545 tcpServer: Don't print intermittent newlines 2022-06-23 20:56:05 -04: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