Garry's Mod

Garry's Mod

174 ratings
Hook Inspector
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
File Size
Posted
2.315 KB
10 Mar, 2019 @ 2:55pm
1 Change Note ( view )

Subscribe to download
Hook Inspector

Description
This is a tool to diagnose compatibility issues with addons.

Use the console command hook_inspect to view a list of hooks and addons that control them.

What is a "Hook"?
Hooks are Gmod's event system. Addons use hooks to control how the game responds to certain events. For example, the CalcView hook can be used to control where the camera is located.

How can hooks cause problems?
Some addons use hooks to aggressively. An addon using the CalcView hook might decide to control the camera all the time, even when it doesn't need to. This can cause problems for other addons that need to control the camera.

What is a "Broken Hook"?
This means that an addon has returned a value from a hook that shouldn't be returned from. This can seriously break other addons that rely on these hooks. I could technically fix these with my tool, but it's probably better that you tell the authors of these addons so they can fix the issue.

Notes:
- This tool only watches a small whitelist of hooks, heavily biased towards things that interfere with my addon. I'll probably expand the whitelist and add more features sometime in the future.
- This tool functions using a hook library detour. It probably won't work well with other addons that detour the hook library, such as: ULX/ULIB.
- This tool is not well optimized. It is meant to find issues with addons. You probably shouldn't keep it installed if you don't need it.
- The above is especially true for server owners. This tool continuously networks information about hooks to all players.
Popular Discussions View All (1)
4
3 Aug, 2022 @ 5:49pm
empty window
Xstallm
20 Comments
mateuzz_ciastko67 28 Nov, 2024 @ 10:29am 
i need to fix my camera:steamsad:
ATTICUHひ 7 Aug, 2024 @ 8:06pm 
hey parakeet can you make the rag-doll combat characters actual player models?
user 98753049 16 Dec, 2023 @ 12:58pm 
fish
:missing::missing::missing::missing::missing:
GALLIUM 30 Jun, 2022 @ 8:08pm 
for some reason, my character is really fast instead of being the normal walking speed, even when im not sprinting. also if i become a headcrab i immediatly die
:steamthumbsdown:
naimking244 11 Feb, 2022 @ 9:03pm 
well yes lost textures is always the problem for me :steamsad:
chrima fish 22 Jan, 2022 @ 2:57am 
HEY REPAIR HIGH WALKING IN PILL PACK
chuckopedia.cg 11 Jan, 2022 @ 7:56am 
lol
floyd. 30 Apr, 2021 @ 1:15pm 
And @Parakeet was never seen again..............................
Not Johnson 17 Apr, 2021 @ 12:26pm 
Makes lua error's
deathsaurer716 21 Dec, 2020 @ 2:05pm 
the command doesnt exist when i type it in the console