Kawe Mazidjatari 51ea9c7c4f CUserCmd hardening
Fix several exploitable bugs in the CUserCmd class. Some of these have been used to exploit/cheat in-game. Fixes contain:
- Camera position clamping (the only patch that hasn't been tested yet!)
- Weapon activity exploit, allowing player to infinitely throw ordnances, and perform other 'cheats'.
- Akimbo exploit + server crasher, allowing client to set multiple inventory weapons as active. The active weapon index bounds were also not checked, a properly crafter CUserCmd message would therefore be able to crash the server.

Note that this does not fix all issues related to the UserCmd class; further reversing and testing revealed there is more to be fixed, these fixes will get implemented with a future commit.
2023-06-13 17:43:32 +02:00
..
2023-05-25 22:25:33 +02:00
2023-06-13 17:43:32 +02:00
2023-06-13 17:43:32 +02:00
2023-06-01 22:55:36 +02:00
2023-05-29 21:41:17 +02:00
2023-06-13 17:43:32 +02:00
2023-06-01 23:44:55 +02:00
2023-05-15 20:43:24 +02:00
2023-05-29 21:11:17 +02:00
2023-06-13 17:43:32 +02:00
2023-05-15 20:47:17 +02:00
2023-06-13 16:49:15 +02:00
2023-05-15 20:47:17 +02:00
2022-08-14 15:19:03 +02:00
2022-02-22 15:19:32 +01:00
2022-04-16 00:30:46 +02:00
2021-04-13 04:45:22 -07:00
2022-02-22 15:20:08 +01:00