Garry's Mod

Garry's Mod

Srlion's Hook Library
160 条留言
Mr. Napkins 10 月 26 日 下午 2:46 
We have used this for a long time and I don't think we've had any issues with it. It broke my grandma's hip though.
HavenOnline 9 月 21 日 上午 9:19 
lol this ruined everything
Saturn's Ring 8 月 16 日 上午 2:24 
This mod hasn't seemingly broken anything, and has very much bumped up my performance- ARC9 weapons used to cause a frame drop of up to 10 frames less by merely holding them, and now I can keep at my 60fps lock consistently, only dropping when firing, as an example.

I did get one peculiar error, and I looked back in the comments to see if this was mentioned, and there it is.

[Srlion's Hook Library] Srlion Hook Library: DLib is installed, you should remove the bloated addon!

1. unknown - lua/includes/modules/hook.lua:473

I know Dlib takes performance down from experience, but calling it out here seems a bit much. I'm only currently running it for their EFT Footsteps addon, which is the most detailed & best sounding addon of it's type. This is a shame, really. Again, nothing seems to break- I presume it's safe to keep the two loaded with your hook library?
Cyberdome 8 月 3 日 下午 10:33 
Thanks i put it in my server and it works but i dont notice a different immediately because i dont know anything. About hooks
Srlion  [作者] 7 月 29 日 上午 7:42 
It also breaks the PC and entire homes.
99%, and I mean it, 99% when someone reports something is not working and I look into it, it turns to be some addon conflicts that are just waiting for more hooks to break down the server.
PixelTheCollie ΘΔ 7 月 28 日 下午 5:34 
Yeqh this mod seem to break like everything
FyreDust 7 月 28 日 下午 2:29 
This addon makes my crowbar kill icon disappear. I don't remember downloading it, and I CANNOT get rid of it.
I used menu_cleanupgmas, it just made the problems menu say "Other". I went to my game files, it's not even there.
Neyzox 6 月 29 日 下午 5:09 
[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
Nesk 6 月 23 日 下午 1:58 
causes absence of playermodel/any weapons at spawn when hosting server
C1TY 5 月 30 日 上午 1:04 
[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
Srlion  [作者] 5 月 7 日 下午 5:50 
Galaxy Man 5 月 7 日 上午 12:49 
[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  [作者] 4 月 30 日 上午 10:40 
"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.
PixelTheCollie ΘΔ 4 月 29 日 下午 8:07 
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  [作者] 4 月 29 日 上午 11:07 
@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 4 月 29 日 上午 8:37 
[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
PixelTheCollie ΘΔ 4 月 29 日 上午 1:43 
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!.
PixelTheCollie ΘΔ 4 月 29 日 上午 1:38 
then heres stormfox
[StormFox - Environment mod] lua/stormfox/framework/sh_util_map.lua:56: Tried to use a NULL entity!
1. GetSaveTable - [C]:-1
2. unknown - lua/stormfox/framework/sh_util_map.lua:56
3. _SF_OLDHOOKCALL - lua/includes/modules/hook.lua:313
4. Run - lua/stormfox/sh_debugcompatibility.lua:48
5. unknown - lua/autorun/stormfox_autorun.lua:113
6. _SF_OLDHOOKCALL - lua/includes/modules/hook.lua:313
7. unknown - lua/stormfox/sh_debugcompatibility.lua:48
PixelTheCollie ΘΔ 4 月 29 日 上午 1:38 
Then zbase
[ZBASE [CONTROLLER UPDATE]] lua/zbase/sh_hooks.lua:635: attempt to compare number with nil
1. unknown - lua/zbase/sh_hooks.lua:635
2. _SF_OLDHOOKCALL - lua/includes/modules/hook.lua:313
3. unknown - lua/stormfox/sh_debugcompatibility.lua:48

[[ACF] Armored Combat Framework] lua/acf/contraption/contraption_sv.lua:322: bad argument #2 to 'SetModel' (string expected, got nil)
1. SetModel - [C]:-1
2. SetModel - lua/acf/contraption/contraption_sv.lua:322
3. unknown - lua/entities/pill_ent_costume.lua:645
PixelTheCollie ΘΔ 4 月 29 日 上午 1:37 
so g weather with ur mod this happens, but theres more
[gWeather] lua/gweather/map/map.lua:20: Tried to use a NULL entity!
1. GetInternalVariable - [C]:-1
2. GetWorldBounds - lua/gweather/map/map.lua:20
3. unknown - lua/gweather/map/map.lua:104
4. _SF_OLDHOOKCALL - lua/includes/modules/hook.lua:313
5. unknown - lua/stormfox/sh_debugcompatibility.lua:48
PixelTheCollie ΘΔ 4 月 28 日 下午 7:56 
okay so, when i have it with things like stormfox it gives me erros and ntohing works. like keeps saying something about hook, here let me redownload it later and get errors again and show it to you
Srlion  [作者] 4 月 28 日 上午 11:56 
how does it break them? it's just a hook library really, what error you getting so I can tell how it breaks them? I have lots of clients use this hook library with similar addons installed
PixelTheCollie ΘΔ 4 月 28 日 上午 6:05 
this also seems to break so much other mods, like for example. storm fox and alot of other, then when the errors appear things get slow of, not laggy nah slow and odd. this saddens me:(
PixelTheCollie ΘΔ 4 月 28 日 上午 5:41 
Damn i only has 3 mods used dlib great amazing mods I just deleted them ur mod will hopefully make running my 1k mods better and help my shirty computer cuz yk fatser. Also a mod called glue patches need this mod which does bunch of fixes and performance improvements and optimizations and so i got these 2 mods to help things so I got rid of dlib sadly. Sorry for bothering you. Amazing mod btw^^
Srlion  [作者] 4 月 28 日 上午 5:38 
addons that make use of dlib require it, i dont think you would benefit from this hook library if you you use lots of addons that depend on dlib
PixelTheCollie ΘΔ 4 月 28 日 上午 2:43 
what if dlib removed the hooks stuff just kept the rest would urs be able to work with it, plus ur hooks stuff is better faster and safer right, im trying to find a solution. gah, oof, sad
PixelTheCollie ΘΔ 4 月 1 日 上午 3:43 
damn okay, oof, sad, sadly cant use any mod that uses urs. alright thanks for like answering me and stuff
Srlion  [作者] 4 月 1 日 上午 2:30 
nope, dlib does too much, it's not easy to support it
PixelTheCollie ΘΔ 3 月 31 日 上午 8:06 
so theres no way to make this work with dlib i need dlib but i need this for glua patches, but ur mod breaks stuff and makes dlib break stuff, there has to be a way right? sorry and thanks. please
PixelTheCollie ΘΔ 3 月 29 日 下午 5:56 
Why tho:(. Okay...
Srlion  [作者] 3 月 29 日 下午 5:21 
lol, this hook library doesn't even load if dlib is installed
`lua/dlib/modules/hook.lua:904` sigh
PixelTheCollie ΘΔ 3 月 29 日 上午 10:06 
this mod seems to break so much:(
PixelTheCollie ΘΔ 3 月 29 日 上午 10:06 
[My Little Pony NEXTBOTS] lua/autorun/drg_mlp_particles.lua:10: Tried to use a NULL entity!
1. GetModel - [C]:-1
2. unknown - lua/autorun/drg_mlp_particles.lua:10
3. Run - lua/dlib/modules/hook.lua:904
4. old_renderhalos - lua/includes/modules/halo.lua:140
5. unknown - lua/wire/client/cl_wirelib.lua:251
6. unknown - lua/dlib/modules/hook.lua:904
keeps spamming this
PixelTheCollie ΘΔ 3 月 29 日 上午 10:06 
[Draconic Base] lua/draconic/drc_lib.lua:2780: Tried to use a NULL entity!
1. GetNWInt - [C]:-1
2. GetShield - lua/draconic/drc_lib.lua:2780
3. unknown - lua/draconic/cl/library.lua:205
4. unknown - lua/dlib/modules/hook.lua:904
Srlion  [作者] 3 月 15 日 下午 6:46 
@miorineXIII I just tested it and just works fine, it could be an addon causing that conflict.
@Osakze try with latest version that I pushed recently because it contains bug fixes
kamillebidan 3 月 14 日 下午 8:45 
using this and pressing q doesnt bring up the spawn menu any help?
Osaka 2 月 22 日 下午 6:12 
Whenever this add-on is enabled, I can't use the context menu right click function.
Davv 2 月 16 日 下午 11:48 
32-bit version is only for cracked clients if I recall correctly, so I don't think there's should even be support, especially we live in 2025.
Kippy 1 月 16 日 上午 7:23 
Cause players were timing out on the 32 bit version
Srlion  [作者] 1 月 12 日 下午 11:35 
How/Why would a hook library timeout players lol, it was something added by gmod itself for security reasons iirc
Kippy 1 月 12 日 下午 3:01 
does it support 32-bit version of gmod cause some players time out upon joining my gm server.
gm0d_f@n 1 月 5 日 下午 10:24 
WHAT THE HELL IS THIS IS A VIRUS:steamfacepalm:
Srlion  [作者] 2024 年 12 月 25 日 下午 2:13 
@somefoolouthere done
somefoolouthere 2024 年 12 月 24 日 下午 2:54 
You should update the description to remove the notice about ULX/ULib, since you updated this version and it works with it now.
Winn 2024 年 11 月 11 日 下午 5:26 
I'm not entirely sure, but it might be "lf_playermodel_desktop_hook"
Srlion  [作者] 2024 年 11 月 11 日 下午 5:21 
If your able to assist, which hook does the loading for the menu or whatever to open the selector so I can track it down?
Winn 2024 年 11 月 11 日 下午 5:18 
Initialize hook is running. Just not the playermodel selector's with this library installed.
Srlion  [作者] 2024 年 11 月 11 日 下午 5:17 
I'm not following, is the Initialize hook running or not?
Winn 2024 年 11 月 11 日 下午 5:15 
sv_playermodel_selector_debug is set to 1, and so is sv_playermodel_selector_force. Initialize hooks are running however, because with other addons the printtable is giving messages.