Garry's Mod

Garry's Mod

474 ratings
Srlion's Hook Library
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Cartoon, Fun
File Size
Posted
Updated
14.008 KB
5 Nov, 2019 @ 1:28pm
3 Mar @ 9:05pm
15 Change Notes ( view )

Subscribe to download
Srlion's Hook Library

Description


This hook library is a lot faster than default hook library, which can improve your server performance.

Github[github.com]
Check this thread[www.gmodstore.com] for more info!

Credits:
This idea[github.com] (Used in my hook library) - Meepen[github.com]
Billy for telling me to upload this :D
153 Comments
[QCRP] Neyzox 29 Jun @ 5:09pm 
[Srlion's Hook Library] HTTP failed - ISteamHTTP isn't available!
1. Fetch - lua/includes/modules/http.lua:42
2. unknown - lua/autorun/playerstats.lua:2
3. unknown - lua/includes/modules/hook.lua:313
arve 23 Jun @ 1:58pm 
causes absence of playermodel/any weapons at spawn when hosting server
C1TY 30 May @ 1:04am 
[Srlion's Hook Library] bad argument #3 to 'Add' (function expected, got nil)
1. Add - lua/includes/modules/hook.lua:185
2. unknown - lua/autorun/ac_explosions_enhancer.lua:193
[Srlion's Hook Library] bad argument #3 to 'Add' (function expected, got nil)
1. Add - lua/includes/modules/hook.lua:185
2. unknown - lua/autorun/ac_explosions_enhancer.lua:200
Galaxy Man | UN 7 May @ 12:49am 
[hook_library] gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contentsearch.lua:70: Tried to use a NULL Panel!

__newindex - [C]:-1
unknown - gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contentsearch.lua:70
3. Run - addons/hook_library/lua/includes/modules/hook.lua:313
4. unknown - gamemodes/sandbox/gamemode/cl_search_models.lua:47

Conflict with searching in spawnmenu
Srlion  [author] 30 Apr @ 10:40am 
"try to find first error that happens" "Also disable stormfox debug thing as it could be one of the reasons."
I didn't say that it aint the hook library, I said that all these errors you sent are unrelated to the hook library and show no help to try to figure out the issue.
Cherrie_The_Shifter ΘΔ 29 Apr @ 8:07pm 
Are you sure there unrelated how can they not. When they only so far seem to appear and happen when I use ur mod. Those mods work just fine and without error but when I subscribe and use ur mod I see those errors there. Anyways Yeah
Srlion  [author] 29 Apr @ 11:07am 
@Cherrie_The_Shifter ΘΔ these errors seem to be useless to track on what causes them, try to find first error that happens, as all these errors are unrelated to the hook library, ofc the hook library will always show in the stack when a hook errors when all hooks are being called, doesn't mean it's the reason though. Also disable stormfox debug thing as it could be one of the reasons.

@Wanso Same thing, it's not the cause for this thing to fail, it literally says file not found, what does this have to do with the hook library?
PAPAI GALO 29 Apr @ 8:37am 
[Srlion's Hook Library] AddCSLuaFile: Couldn't find 'darkrp_modules/tbfy_bountyhunter/sh_init.lua'
1. loadModules - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:83
2. gm_func - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:148
3. Call - lua/includes/modules/hook.lua:324
4. unknown - gamemodes/darkrp/gamemode/init.lua:113
Cherrie_The_Shifter ΘΔ 29 Apr @ 1:43am 
More down below, thats all errors i get, then other mods, just wont load. get no errors nope just gone, also stuff oddly seems slow idk. again sorry for bothering you, thanks and yeah!. also i did send all these errors and stuff to the mods that yk. Anyways Yeah!.