Skip to content
Failed

Changes

Summary

  1. Packets: Do not allow jumping while in air (commit: d97549e) (details)
  2. Packets: InputData.c: Remove debug log (commit: ed57514) (details)
  3. InputData.c: Reset scope upon sprint start (commit: 1935743) (details)
  4. InputData.c: Use <> instead of "" to include internal header (commit: 374a0fe) (details)
  5. ExistingPlayer.c: Extend name to length 16 (commit: 9590268) (details)
  6. Packets: Check for airborne and not velocity (commit: 0c6aaf9) (details)
Commit d97549e107376df59d2f57a83c95da96d0c795d5 by 16738302+Haxk20
Packets: Do not allow jumping while in air

This is far from an ideal solution but while we come up with a
better one this should do just fine
(commit: d97549e)
The file was modified Source/Server/Packets/PositionData.c (diff)
The file was modified Source/Server/Packets/InputData.c (diff)
Commit ed575142953a7e5777d92a25997dec2e53ae1c3a by 16738302+Haxk20
Packets: InputData.c: Remove debug log
(commit: ed57514)
The file was modified Source/Server/Packets/InputData.c (diff)
Commit 1935743fca3a4a9e5aac7c856bfe4f9c873ef458 by 16738302+Haxk20
InputData.c: Reset scope upon sprint start

BetterSpades does not care to send weapon input packet of 0
specifying that player exited aiming trough a scope when
player started sprinting. This would result in the player
teleported back on their screen cause the server would still
think they are aiming.

BS then decides to be a good guy and send the weapon input packet when
player stops sprinting.

Thank you BS for helping us catch bugs that we didnt even consider.
(commit: 1935743)
The file was modified Source/Server/Packets/InputData.c (diff)
Commit 374a0fe9eb71c127b9c7579e56c67f665d892691 by 16738302+Haxk20
InputData.c: Use <> instead of "" to include internal header
(commit: 374a0fe)
The file was modified Source/Server/Packets/InputData.c (diff)
Commit 9590268ca7a8dbd20b748a2a34fb4d5141938e79 by 16738302+Haxk20
ExistingPlayer.c: Extend name to length 16

Name is 15 and NULL terminator is 1.
And apparently i cant do basic math
(commit: 9590268)
The file was modified Source/Server/Packets/ExistingPlayer.c (diff)
Commit 0c6aaf92d93c455f0e2e4dea1a86886316d4d586 by 16738302+Haxk20
Packets: Check for airborne and not velocity

Apparently clients send jumping input even tho
they are falling. This does mismatch the client and
server but since python bases servers check for
2x the distance difference they do not trip

Also modify allowed distance in 3d to be 6.
This should remove nearly all false positives
(commit: 0c6aaf9)
The file was modified Source/Server/Packets/PositionData.c (diff)
The file was modified Source/Server/Packets/InputData.c (diff)