Commit Graph

16 Commits

Author SHA1 Message Date
Robin C. Ladiges 36f9343f83 don't send empty GameInf and CostumeInf packets and resend them on reconnect
Resend because: on server restarts the server will lose the stage and costume information.

If only one client is connected to the server, the packets currently aren't resent, so the server doesn't know in which stage the client is and what
costume it wears
(which I'd like to display on the website).

With more then one client connected it already works, because when another client joins the server, the client will send both packets.
2022-12-16 13:19:54 -06:00
CraftyBoss d4eabffff1 executor table re-impl, shine sync changes, send/recv netcode refactored 2022-09-04 02:23:02 -07:00
CraftyBoss d3b1935899
Merge pull request #20 from Istador/dns
on invalid IPv4 addresses, assume it's a hostname and do a DNS lookup
2022-08-10 15:00:35 -07:00
CraftyBoss dc0930063d Merge branch 'dev' of https://github.com/CraftyBoss/SuperMarioOdysseyOnline into dev 2022-08-10 14:12:00 -07:00
CraftyBoss 8f4fac417f change recieve logs, update headers, fix bound bowl crash 2022-08-10 14:11:52 -07:00
Sanae 5f1a91161f
Merge pull request #23 from Link4565/dev 2022-07-24 16:42:07 -06:00
Robin C. Ladiges b3b49bd547
on invalid IPv4 addresses, assume it's a hostname and do a DNS lookup
Enable the full keyboard to enter non-numbers and increase max length from 15 to 50 for longer hostnames.

I know FQDNs can be longer than 50 characters, but that's less common (and painful to type on the Switch).
2022-07-10 08:13:28 +02:00
CraftyBoss 3c4a20a6d4 only save ip/port changes if actually changed, reconnect fixes 2022-07-09 18:24:00 -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 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 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 23cdf1442d Make "Reconnect to Server" option work if initial socket conn failed 2022-06-25 03:59:25 +03:00
Somebody Whoisbored a7715c15da Correct socket option/levels 2022-06-18 18:37:46 -07:00
Somebody Whoisbored b25cad8812 Add socket errno display 2022-06-18 18:36:00 -07:00
CraftyBoss 381293e2b8 First Commit 2022-06-16 14:33:18 -07:00