Commit Graph

200 Commits

Author SHA1 Message Date
Sanae 9e1a53a231 Code (style) fixes 2022-03-03 22:24:33 -06:00
Sanae f6df86f927 Make connect packet parameter _ in ClientJoined handler 2022-03-03 21:06:27 -06:00
Sanae 412607c0c9 Fix another shine sync crash 2022-03-01 19:42:14 -06:00
Sanae 00626ab12f Add scenario merging and run reformatting on solution 2022-03-01 15:08:53 -06:00
Sanae 3d4356ccfc Shine sync sending might crash the game, try catch it lol 2022-02-22 20:51:48 -06:00
Sanae d074f8a5d6 List command implementation 2022-02-22 15:28:51 -06:00
Sanae 557a926a68 Handle max player count correctly 2022-02-22 14:33:59 -06:00
Sanae a554af2a44 Hack fixed 2022-02-22 14:11:06 -06:00
Sanae 954f9db537 Hack log 2022-02-22 14:06:14 -06:00
Sanae f21bfb7425 Lower max client count to 8 due to client reasons 2022-02-21 22:05:37 -06:00
Sanae 31e70a08b9 Add proper exit handling 2022-02-21 22:05:13 -06:00
Sanae b3bcf72283 Set defaults with constructor to fix an error 2022-02-21 21:39:12 -06:00
Sanae bf15f51eb3 Use Json.NET instead of Tomlyn for settings file
Tomlyn can't cope with Guids, so moving to Json.NET
2022-02-17 20:39:48 -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 b173e53826 Clamp packet size on Send<T> 2022-02-16 15:07:00 -06:00
Sanae 860f5c242b Add log packet and don't spam 2022-02-16 15:00:52 -06:00
Sanae 104cb32f4b Lycel sees everyone else 🙃 2022-02-16 14:36:24 -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 70c9ad88cd it doesn't work but here's a patchfix 2022-02-14 16:09:55 -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 d8e151712d Explicit null for CurrentCostume 2022-02-12 17:37:26 -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
Sanae 691086fdb9 Fixed suspicious non-maxsizes 2022-02-09 19:52:33 -06:00
Sanae 7dbe2ecd55 Reformat solution 2022-02-09 19:44:50 -06:00
Sanae 351304f99f Send connect packets to new connection for other players 2022-02-09 19:42:46 -06:00
Sanae 6771707dae Broadcast with logs instead of dead 2022-02-09 15:59:47 -06:00
Sanae b0aa3dbf7b Log header and client id 2022-02-09 15:57:51 -06:00
Sanae 6759f80bc5 Connected no longer depends on socket 2022-02-09 15:56:57 -06:00
Sanae 94a29aca12 Add client id logs 2022-02-09 15:48:05 -06:00
Sanae b660fcfd53 Good shit 2022-02-08 16:46:12 -06:00
Sanae f8955b630d Add attributes to new packets 2022-02-08 10:22:09 -06:00
Sanae aa119c0b2f Catch up with crafty's current protocol 2022-02-08 10:15:31 -06:00
Sanae de16e4a787 Server overhaul, might rewrite though 2022-02-04 03:45:38 -06:00
Sanae cdad20ddd2 better client base, need to setup id targeting system 2022-02-02 21:41:47 -06:00
Sanae eaa03467e6 Update TestClient and add custom ser/deser for packets 2021-11-29 12:09:12 -06:00
Sanae 6afb232953 Move connect packet type in enum 2021-11-29 01:03:19 -06:00
Sanae 3f4a3fee9e Initial Commit 2021-11-28 22:32:29 -06:00