Commit graph

133 commits

Author SHA1 Message Date
Jack Garrard
1da9626a44
Merge pull request #39 from speyejack/udp-client
Allow udp communication for movement
2023-09-02 13:48:46 -07:00
Jack Garrard
8acb8700bf
Merge branch 'dev' into udp-client 2023-09-02 13:35:38 -07:00
Jack Garrard
d5b49b2ea9
Merge pull request #37 from speyejack/packet-acceptance
Packet acceptance
2023-09-02 13:03:18 -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
Jack Garrard
9bf07b3e0d
Merge pull request #53 from Istador/isit-with-active
fix: mark player as not a seeker when H&S is disabled
2023-08-24 23:42:13 -07:00
Jack Garrard
125e2bdde2
Merge pull request #55 from Istador/ui-improvements
UI improvements
2023-08-24 23:11:31 -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
f810e8f07d
fix: send empty TagInf and CaptureInf on first connection
Because other players might still have old values saved in their puppet.
2023-06-24 04:09:47 +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
27b9a095f7
fix: mark player as not a seeker when H&S is disabled
If a player is a seeker and then disables H&S, they should no longer be considered as a seeker by other players.
(Because staying as a seeker will kill hiders when touching them).
2023-06-23 04:18:41 +02:00
Robin C. Ladiges
4339847da5 fix yuzu build
Accidentially moved it into the wrong directory.
2022-12-16 16:24:37 -06:00
Robin C. Ladiges
f60fc956d6 for Emulators => for Ryujinx & for yuzu 2022-12-16 13:21:07 -06:00
Robin C. Ladiges
7f6df57f4a patch out deprecated ::set-output
::set-output currently triggers deprecation warnings and will stop working at 2023-06-01.

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-12-16 13:21:07 -06:00
Robin C. Ladiges
6a5b5146b8 use devkitpro docker image
installing it via pacman everytime is unsupported and will lead to http 403 errors.
2022-12-16 13:21:07 -06: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
8c992649fd Remove tabs 2022-10-29 18:16:43 -07:00
Jack Garrard
477f1c9e7d Add a poll time to wait properly 2022-10-29 18:12:53 -07:00
Jack Garrard
4ab6b56598 Use valread and check if it returns zero for udp 2022-10-29 17:46:20 -07:00
Jack Garrard
158f782a2a Change socket client recvTcp to use if guards 2022-10-29 17:41:54 -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
627e07cd65 Fix missing semicolon 2022-10-27 04:54:30 -07:00
Jack Garrard
57333d71e9 Fix recv buf size calculation 2022-10-27 04:52:27 -07:00
Jack Garrard
4171390f42 Allow hole punch packets to get through before udp fully recved 2022-10-27 04:51:36 -07:00
Jack Garrard
5c04bb1006 Use if guard for alloc in udp recv 2022-10-27 04:46:36 -07:00
Jack Garrard
04fc8cb309 Increased max packet size again 2022-10-27 03:22:01 -07:00
Jack Garrard
a58471c19f New lines for logger output 2022-10-27 03:21:54 -07:00
Jack Garrard
0147f4d738 Change send patch to follow make file rules 2022-10-27 02:12:00 -07:00
Jack Garrard
000d24a7db Made makefile use python3 instead of python3.8 2022-10-27 02:11:28 -07:00
Jack Garrard
78b532a316 Prevent udp error from killing tcp connection 2022-10-27 02:10:44 -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
89415e6f96 Hopefully prevent close socket race condition 2022-10-27 01:00:58 -07:00
Jack Garrard
e6871da878 Readd missing variable 2022-10-27 00:27:29 -07:00
Jack Garrard
24e724a824 Hopefully prevent close socket race condition 2022-10-27 00:26:26 -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
bf646b2b3d Add a newline to debug statement 2022-10-26 03:31:32 -07:00
Jack Garrard
53f91b8695 Clean up 2022-10-26 02:44:09 -07:00
Jack Garrard
a9c3ec4006 Fix a stack exhausion bug 2022-10-26 02:44:04 -07:00
Jack Garrard
4655b0755e Remove udp connection attempt in init and leave default port at 0 2022-10-25 19:41:09 -07:00
Jack Garrard
93c750ccf7 Remove tabs 2022-10-25 19:33:58 -07:00
Jack Garrard
655368241f Made default port be a higher port 2022-10-25 18:07:26 -07:00
Jack Garrard
ed83827cc1 Add udp status to debug menu 2022-10-23 18:37:08 -07:00