0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-28 22:23:05 +00:00
Commit graph

63 commits

Author SHA1 Message Date
TheUbMunster
95c918b5c4 Removed fire-and-forget warnings, null-forgave some metadata. 2022-07-29 12:55:01 -06:00
Sanae
66114bdecb
Always update client's name on connect
Since the client variable would be changed in a reconnect, the name is not set on the old client object.
2022-07-27 14:00:58 -06:00
CraftyBoss
11015bd445 only send game packet on join to connected clients 2022-07-08 23:13:35 +00:00
Sanae
99aabeffc9 Add init packet 2022-05-08 16:04:57 -06:00
Sanae
ab318db1b8 Clean up logging from testing 2022-04-27 21:32:52 -06:00
Sanae
605be3947f I'm going to commit war crimes 2022-04-27 14:17:02 -06:00
Sanae
a775e593c3 Absurd logging 2022-04-27 14:02:26 -06:00
Sanae
bddce48f9d Stop using MemoryMarshal for header serde 2022-04-27 00:24:11 -06:00
Sanae
6964c3bbf4 Add max players to connect packet 2022-04-26 23:24:40 -06:00
Sanae
1a82666d93 Disconnect previous client instead of throwing on new client (rejoins) 2022-04-04 14:43:44 -06:00
Sanae
a0a53ff7bf ReuseAddress requires Socket level 2022-04-02 20:58:57 -06:00
Sanae
cc5c86091e Try using tcp to not require sudo? 2022-04-02 20:14:35 -06:00
Sanae
50adf23be3 Use correct maxplayers field 2022-03-22 03:20:49 -06:00
Sanae
8645db12fa Improving rejoins and other changes 2022-03-22 03:19:06 -06:00
Sanae
27d2d9acd9 Bye send buffer stuff 2022-03-15 20:25:36 -06:00
Sanae
709af8d3ec Send buffer 1 on another oscket 2022-03-15 17:28:15 -06:00
Sanae
206bbd5d4c Set send buffer to 1 2022-03-15 17:23:53 -06:00
Sanae
a288e5b7a8 Rejoyne 2022-03-15 15:37:23 -06:00
Sanae
8d11623ada Various useful changes 2022-03-15 14:44:46 -06:00
Sanae
ad0a40878d Add tag commands and improve command handling 2022-03-14 23:59:23 -06:00
Sanae
217dc2765e Remove test exception when disconnecting 2022-03-13 15:27:53 -06:00
Sanae
c778d15644 Packet cleanup and refactoring 2022-03-13 05:14:01 -06:00
Sanae
3b13e1f86d Fixing variable packet sizes once and for all 2022-03-11 23:42:51 -06:00
Sanae
93143a80ef Another log 2022-03-11 20:56:58 -06:00
Sanae
cf5ba12861 One more log 2022-03-11 20:29:17 -06:00
Sanae
ebf5080a00 More log changes 2022-03-11 20:16:10 -06:00
Sanae
4c5682e59b Read better 2022-03-11 20:06:47 -06:00
Sanae
89dcb7f6c9 More changes to reading varsize packets 2022-03-11 19:08:50 -06:00
Sanae
8c5cd0ced2 Untested conversion to variable size packets 2022-03-10 23:59:02 -06:00
Sanae
134437eec9 Set client name regardless of connection type 2022-03-06 17:19:49 -06:00
Sanae
00626ab12f Add scenario merging and run reformatting on solution 2022-03-01 15:08:53 -06:00
Sanae
557a926a68 Handle max player count correctly 2022-02-22 14:33:59 -06:00
Sanae
31e70a08b9 Add proper exit handling 2022-02-21 22:05:13 -06:00
Sanae
821301e756 Implement console commands and settings (flip list broken) 2022-02-17 19:56:12 -06:00
Sanae
78af568603 Add RentZero extension as rented memory can be non-zero 2022-02-16 15:20:03 -06:00
Sanae
18bd69338f Improve packet processing and send function 2022-02-16 14:33:21 -06:00
Sanae
514c68d2e9 Lycel go flippy flippy 2022-02-15 18:35:38 -06:00
Sanae
4ccf33ad37 Read until received full packet size 2022-02-15 15:17:18 -06:00
Sanae
57560a9db1 Don't substring, it crashes 2022-02-15 14:39:34 -06:00
Sanae
f0c3ae6963 Logs cleaned up, and tested shine support 2022-02-15 14:26:50 -06:00
Sanae
fca81a4894 im stupid 2022-02-14 16:07:42 -06:00
Sanae
d004df2f4a die 2022-02-14 16:06:49 -06:00
Sanae
d0f060fab5 Quick stability fix trollface 2022-02-14 15:17:36 -06:00
Sanae
9b2d508a20 Fix a connect packet read among us 2022-02-14 14:40:42 -06:00
Sanae
d60aa07e1f Implementing shine sync and other minor fixes 2022-02-14 13:45:58 -06:00
Sanae
6d257ba04c Hopium that this fix works 2022-02-12 17:37:03 -06:00
Sanae
69ff9bb47d Try catcch handle socket and disconnect in listen 2022-02-11 10:16:19 -06:00
Sanae
7bbba0c691 Everything just works™ 2022-02-10 22:25:47 -06:00
Sanae
8ac53f15f6 More logs 2022-02-10 02:42:35 -06:00
Sanae
6cae63ca38 Currently cleaning up transport related stuff 2022-02-09 22:29:10 -06:00