Robin C. Ladiges
ba43f98bc6
refac: non-whitespace
2024-10-27 00:38:04 +02:00
Robin C. Ladiges
adc914d521
refac: whitespace
2024-10-27 00:37:57 +02:00
CraftyBoss
9655101978
Merge pull request #73 from Istador/pr-small-fixes
...
Small fixes
2024-10-26 13:54:58 -07:00
Robin C. Ladiges
d3dcc7e510
fix: don't crash when changing the language (only when offline)
...
This change only makes it work when in offline/airplane mode.
When connected to a server it still crashes.
Likely due to a different part of the code.
Thanks to https://github.com/piplup55 for pointing out to me that this worked in old versions.
I then tested a few older builds and found out that it started to not work with version `v1.1.0`.
Using `git bisect` I was able to find out that commit 34691affb0
introduced the issue.
2024-10-21 06:54:17 +02:00
Robin C. Ladiges
8797d58c94
[mod menu] new: tell the user to restart the game after changing the server
2024-10-07 22:47:27 +02:00
Robin C. Ladiges
b51f49a002
refac: non-whitespace
2024-10-07 22:47:22 +02:00
Robin C. Ladiges
b88b4679cf
refac: whitespace
2024-10-07 22:47:17 +02:00
Robin C. Ladiges
65582aafea
[mod menu] new: option to hide server in debug menu
...
- Client.hpp: add bool variable and methods
- hooks.cpp: save/load value from common.bin
- main.cpp: change
- StageSceneStateServerConfig: add button to the mod menu to toggle it
2024-06-26 09:17:23 +02:00
Robin C. Ladiges
e1bd6d8785
[debug menu] new/change: show server & port & connected players on first line
...
The socket needs its own copy of the IP, otherwise it wrongly changes the displayed server after changing it in the mod menu.
2024-06-26 09:11:42 +02:00
Robin C. Ladiges
eb4dcb5c2e
[debug menu] new: show own player info on first players page
2024-06-26 09:11:41 +02:00
Robin C. Ladiges
94c6e74400
[h&s menu] change: don't close after toggling the gravity button
2024-05-29 13:48:33 +02:00
Robin C. Ladiges
6bc98f79ac
[h&s menu] refac: only one buffer
2024-05-29 13:48:28 +02:00
Robin C. Ladiges
59337d6f38
[mod menu] refac: activateInput and deactivateInput
2024-05-29 13:47:30 +02:00
Jack Garrard
8acb8700bf
Merge branch 'dev' into udp-client
2023-09-02 13:35:38 -07:00
Jack Garrard
7064122902
Merge branch 'dev' into packet-acceptance
2023-09-02 12:58:53 -07:00
Jack Garrard
8d94cf7856
Merge pull request #54 from Istador/resend-packets
...
fix: `TagInf` and `CaptureInf` synchronization issues
2023-08-25 18:51:28 -07:00
Robin C. Ladiges
45cd4442c8
recycle the reconnect error to warn about the default Ryujinx profile ID
2023-07-08 20:45:53 +02:00
Robin C. Ladiges
c736878df1
Toggle H&S Gravity
with real toggle functionality
2023-07-08 04:31:56 +02:00
Robin C. Ladiges
366ad5e888
remove reconnect button
2023-07-07 23:46:11 +02:00
Robin C. Ladiges
2bef6f796e
fix: resend CaptureInf packet on reconnect and for new players
2023-06-24 02:42:54 +02:00
Robin C. Ladiges
4835692672
fix: resend TagInf packet on reconnect and for new players
2023-06-24 01:27:14 +02:00
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
Jack Garrard
76d61a8067
Success and receive spelling
2022-10-29 18:21:58 -07:00
Jack Garrard
477f1c9e7d
Add a poll time to wait properly
2022-10-29 18:12:53 -07:00
Jack Garrard
7e128679ab
Split apart tcp and udp recv functions
2022-10-29 17:37:30 -07:00
Jack Garrard
1fc3a78943
Shutdown send/recv threads before socket reinit
2022-10-29 17:17:38 -07:00
Jack Garrard
04fc8cb309
Increased max packet size again
2022-10-27 03:22:01 -07:00
Jack Garrard
efef24fbbe
Fix variable names again
2022-10-27 02:09:59 -07:00
Jack Garrard
3e5c0c89e5
Merge branch 'packet-acceptance' into udp-client
2022-10-27 01:03:39 -07:00
Jack Garrard
64b56c32da
Add race protection to message queues
2022-10-27 01:02:32 -07:00
Jack Garrard
e6871da878
Readd missing variable
2022-10-27 00:27:29 -07:00
Jack Garrard
28c7f92453
Refactor member variable names
2022-10-27 00:25:37 -07:00
Jack Garrard
4a5a10f910
Convert receive buffer to be on heap
2022-10-26 03:33:42 -07:00
Jack Garrard
ed83827cc1
Add udp status to debug menu
2022-10-23 18:37:08 -07:00
Jack Garrard
694c9e73d6
Allow for a udp handshake
2022-10-23 16:37:47 -07:00
Jack Garrard
d666707e24
Merge branch 'packet-acceptance' into udp-client
2022-10-21 12:37:57 -07:00
Jack Garrard
1fd02147b6
Add a flag to only send udp if client has received udp packets
2022-10-21 12:27:01 -07:00
Jack Garrard
009755ceba
Add pollfd to socket.h
2022-09-05 03:26:14 -07:00
Jack Garrard
66c8bb9e1b
Closer to working
2022-09-05 03:19:33 -07:00
CraftyBoss
d4eabffff1
executor table re-impl, shine sync changes, send/recv netcode refactored
2022-09-04 02:23:02 -07:00
Jack Garrard
19c6d800bd
More changes while testing
2022-09-03 01:57:57 -07:00
Jack Garrard
1204e27adb
Attempt at full udp client
2022-08-30 15:18:44 -07:00
Sanae
b3a30b09f7
Remove a check which blocks players from being updated
...
Oops! teehee SmileW
2022-08-10 16:10:16 -06: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
550b82fc1f
Merge branch 'main' of https://github.com/Sanae6/SuperMarioOdysseyOnline into Sanae6-main
2022-08-10 14:40:16 -07:00
CraftyBoss
8f4fac417f
change recieve logs, update headers, fix bound bowl crash
2022-08-10 14:11:52 -07:00
Sanae
34691affb0
Overhaul gamemode management
2022-08-07 15:57:18 -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
CraftyBoss
4f2bb984f2
begin work on join/disconnect particle effect, fix index oob error
2022-07-08 15:09:04 -07:00