Skip to content

[Bug] MissingMethodException: Method not found 'CCSPlayerPawnBase.get_EyeAngles()' on modern CounterStrikeSharp API #92

Description

@Berusxoxo

On modern versions of CounterStrikeSharp, the plugin floods the server console with continuous MissingMethodException errors during OnPlayerTick. This occurs because Aimbot and UntrustedAngles rely on CCSPlayerPawnBase.get_EyeAngles(), which has been refactored/relocated in recent CounterStrikeSharp releases (specifically following the QAngle/Vector allocations refactor and schema updates).

Server Console Spam:
[INFO] (plugin:TB Anti-Cheat) [TBAC] Exception in UntrustedAngles -> Method not found: 'CounterStrikeSharp.API.Modules.Utils.QAngle CounterStrikeSharp.API.Core.CCSPlayerPawnBase.get_EyeAngles()'. | at TBAntiCheat.Detections.Modules.UntrustedAngles.OnPlayerTick(PlayerData player) in C:\Users\olive\Source\Repos\killerbigpoint\cs2-anticheat\Detections\Modules\UntrustedAngles.cs:line 50
at TBAntiCheat.Detections.BaseCaller.OnPlayerTick(PlayerData player) in C:\Users\olive\Source\Repos\killerbigpoint\cs2-anticheat\Detections\BaseCaller.cs:line 104
[INFO] (plugin:TB Anti-Cheat) [TBAC] Exception in Aimbot -> Method not found: 'CounterStrikeSharp.API.Modules.Utils.QAngle CounterStrikeSharp.API.Core.CCSPlayerPawnBase.get_EyeAngles()'. | at TBAntiCheat.Detections.Modules.Aimbot.OnPlayerTick(PlayerData player) in C:\Users\olive\Source\Repos\killerbigpoint\cs2-anticheat\Detections\Modules\Aimbot.cs:line 131
at TBAntiCheat.Detections.BaseCaller.OnPlayerTick(PlayerData player) in C:\Users\olive\Source\Repos\killerbigpoint\cs2-anticheat\Detections\BaseCaller.cs:line 104

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions