alliedmodders / sourcemod

SourceMod - Source Engine Scripting and Administration
http://www.sourcemod.net/
975 stars 422 forks source link

SDKHooks not working after latest TF2 update / sourcemod updates, both dev and stable branches. #1652

Closed higps closed 2 years ago

higps commented 2 years ago

Help us help you

Environment

Description

SDKHooks got broken after the latest TF2 Update. When triggered, nothing happens. SDKHook_Touch, SDKHook_PreThink, SDKHook_WeaponSwitch are the few I have tested that doesn't work right. Causing many of my plugins to not function correctly.

Logs

No error logs are created, it's like the feature does nothing.

Problematic Code (or Steps to Reproduce)

A simple plugin to test is Admin grab, you will not be able to grab anyone, but you will get the name popup of the player.

https://forums.alliedmods.net/showthread.php?p=1946774

higps commented 2 years ago

Addional note: The SDKHook_Touch works on some entities, like respawn room, but not on buildings for whatever reason.

bakugo commented 2 years ago

Are you absolutely sure that all your gamedata is up to date? The admingrab plugin works fine for me and so do other plugins that use sdkhooks (on the same sm version).

higps commented 2 years ago

Ah yes, somehow my gamedata didn't update correctly. Thanks!