Garry's Mod

Garry's Mod

Addon hooks Conflict Finder
60 Comments
H4PPY 9 Apr @ 1:50pm 
ik ik since im trying to know why
Cédric GÉRILLE [GiletJaune]  [author] 9 Apr @ 1:47pm 
Your password issue has nothing to do with sv_restart...
H4PPY 9 Apr @ 1:44pm 
ok i will test it to find out why sv_restart doesnt work
Market Pluh 8 Sep, 2024 @ 1:49am 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=623663324
I RECOMMEND YOU TO USE THIS MOD IT MAKES FINDING HOOKS 100X EASIER
Cluna 16 Jul, 2024 @ 9:35am 
there is too much work to do to find that one hook conflict(like literally, i have to look up every mod's source code), just disabling mods by yourself would be more faster soo this doesnt really helps
Cédric GÉRILLE [GiletJaune]  [author] 21 Apr, 2024 @ 11:37pm 
I don't have full examples. I'm sorry if you feel confused with the instructions in the description.
Market Pluh 21 Apr, 2024 @ 9:11pm 
do you have any examples on how to use this mod?
Cédric GÉRILLE [GiletJaune]  [author] 16 Apr, 2024 @ 11:54pm 
If you can find the event that is blocked then my conflict finder will help you locate the guilty add-on. You may need help to find the name of the event. What are the symptoms?
squam 16 Apr, 2024 @ 12:55pm 
so do i actually have to find the event or do i just have to locate the addon with the problem
Cédric GÉRILLE [GiletJaune]  [author] 16 Apr, 2024 @ 4:52am 
If you can't tell which event has a problem then you cannot use this tool.
I apologize for not being helpful.
squam 15 Apr, 2024 @ 10:47am 
i thought this addon was gonna automatically display addons that are conflicting, i didn't know i would have to be messing around with code and other shit, im not a dev
Cédric GÉRILLE [GiletJaune]  [author] 24 Feb, 2024 @ 2:59pm 
There are a limited number of events names that you can put your eyes on. Damage scaling and stuff is pretty painless to inspect with this tool.
All you need is to gather the event names relative to damage and see what this add-on identifies.
You don't need an automated conflict compass when you know what you need to inspect.

And for the slow-down problem, you should give my lag finder a try. This other add-on is easier to use than the conflict finder, since the only things it's able to detect are slow-downs, which is why you would use the tool in the first place.
♬♫~Joe Blaze~♫♬ 18 Feb, 2024 @ 10:21am 
As well as regularly getting 1 FPS during NPC battles.
♬♫~Joe Blaze~♫♬ 18 Feb, 2024 @ 10:21am 
I'm currently stuck with conflicts that are braking my game, how damage works and textures even.
Cédric GÉRILLE [GiletJaune]  [author] 18 Feb, 2024 @ 2:21am 
My reason is that there needs to be a rule for each event based on how much it makes sense to return a given value in a hook. For example, it does not make much sense to return true from a hook on an event used to determine the allowance to enter a vehicle, since it's the default. So technically you can tackle some conflicts, but even then, the conflict can be totally intended.
♬♫~Joe Blaze~♫♬ 17 Feb, 2024 @ 11:19pm 
You don't have a better more convenient idea, You're just disagreeing for no reason.
fortnitewarzone 17 Feb, 2024 @ 9:17pm 
why would you disagree that is the best idea
Cédric GÉRILLE [GiletJaune]  [author] 17 Feb, 2024 @ 7:05pm 
I sadly have to disagree with you.
♬♫~Joe Blaze~♫♬ 17 Feb, 2024 @ 2:37pm 
There needs to be a tool that finds conflicts on it's own and identifies them.
Cédric GÉRILLE [GiletJaune]  [author] 19 Jan, 2024 @ 6:23pm 
Yes. But you need to know the event that has a callback execution problem.
fortnitewarzone 28 Dec, 2023 @ 12:11pm 
so can this be used to find conflicting addons
Fresh 22 Apr, 2023 @ 7:43am 
breh 💀
Cédric GÉRILLE [GiletJaune]  [author] 22 Apr, 2023 @ 2:20am 
Sad! 😳
Fresh 21 Apr, 2023 @ 10:32pm 
nvm, my lambdaplayers wouldnt show the "friend" sign but it only works in singleplayer :steamfacepalm:
Cédric GÉRILLE [GiletJaune]  [author] 21 Apr, 2023 @ 4:15pm 
What is the problem you are trying to identify?
Fresh 21 Apr, 2023 @ 4:46am 
i dont know how to find the source code god damn it
Cédric GÉRILLE [GiletJaune]  [author] 20 Apr, 2023 @ 11:00am 
It's only easy when you know the event that does not have all of its associated hooks run.
Fresh 9 Apr, 2023 @ 1:02am 
holy shit this is complicated af
buddycat27 11 Mar, 2021 @ 3:13pm 
alright thanks!
Cédric GÉRILLE [GiletJaune]  [author] 11 Mar, 2021 @ 11:18am 
Yes, it can help that way, but only for hook conflicts as described and if you know the event name.
For the step 1, it is in files. The rest of the procedure assumes that you located the hook that does not work.
buddycat27 10 Mar, 2021 @ 2:31pm 
also do i ahve to go into the files of garrys mod or look at the console for step 1?
buddycat27 10 Mar, 2021 @ 2:21pm 
wait so will this help me if i am trying to find out which mod conflicts with another addon? or will this just help me with a single addon and conflict9ing strings of data in that single addon?
froggers 25 Sep, 2020 @ 3:52pm 
alright, thank you for the information!
Cédric GÉRILLE [GiletJaune]  [author] 25 Sep, 2020 @ 3:47pm 
You are experiencing a script error. A script error is not a hook conflict as explained in the description of this add-on.

There is a conflict though, I see that the Sound() function was replaced with a string value.
My suggestion, to begin with, is to display the value of Sound . You can type in your console:
lua_run print('Sound =', Sound)
Maybe you will see a value that guides you to identify the guilty add-on.

Consider adding me on Discord if you need to share your screen or something.
froggers 24 Sep, 2020 @ 10:28am 
disregard that shit is hella broken with like 50,000 lines of fucking moon runes
froggers 24 Sep, 2020 @ 9:23am 
kind of a large month gap but, this is a good addon and i wanna find out how to find the conflicting hook.
froggers 24 Sep, 2020 @ 9:16am 
i get how this is ment to work, but im just baffled for what i'm suppose to type. this is my issue

[Brutal Deaths] lua/autorun/server/death.lua:58: attempt to call global 'Sound' (a string value)
1. v - lua/autorun/server/death.lua:58
2. unknown - lua/includes/modules/hook.lua:84 (x2)

im unsure how to use the command properly, little help?
76561198956816948 17 Jul, 2020 @ 4:27pm 
nj
Cédric GÉRILLE [GiletJaune]  [author] 3 May, 2020 @ 8:51am 
Hah, no. You have to find yourself a potential conflict, then use my tool to identify which script has a conflicting hook for the given event name.
ginrai 3 May, 2020 @ 4:51am 
This finds out addon conflicts, like for example "there was an error" or "Script" problems on the top left corner, and messing things up? Very intuitive! I'm the type who downloads tons for addons and stuff to just have fun on my own in singleplayer, NPC's fighting, dupes killing them, and I plan to be a creator/developer for addons and scripting in the near future, maybe give me a few years haha
Serpent 11 Apr, 2020 @ 12:14pm 
true, i hope facepunch might one day make an update that makes the addons page way easier to use and with more features for customization
Cédric GÉRILLE [GiletJaune]  [author] 11 Apr, 2020 @ 12:00pm 
Well, yes I have the capability to do something like this. But unfortunately, it can be totally legitimate to stop hook executions by returning a value. The result would then be that you would see a bunch of false positive conflicting hooks, which is more confusing than helpful...
I perfectly agree that this tool is very hard to use without knowledge.
Serpent 11 Apr, 2020 @ 8:50am 
well since this addon seems to work fine, do you think about making one which somehow automatically checks the addon hooks and checks incompatibilities without using console commands or something like that? maybe something that checks if (for an example) one npc is trying to be replaced with 2 skins (from 2 different addons) or something like that? because i dont think an addon like that exists. you can see this happen in the left 4 dead 2 addons page, if someone could make that for garrys mod it would be extremely popular i think.
Cédric GÉRILLE [GiletJaune]  [author] 11 Apr, 2020 @ 8:42am 
Do not worry mate! If you need help or friendship, I'm here! :-P
Serpent 11 Apr, 2020 @ 8:20am 
yeah, i tried it and it seemed to work, i wasnt connected to another server, assuming because it was run in singleplayer mode, didnt test hosting so it was unfair to judge off of what someone else said without providing evidence
Cédric GÉRILLE [GiletJaune]  [author] 11 Apr, 2020 @ 8:03am 
Sure, this is a wise recommendation! Thanks.
Do not worry, you are already forgiven! ;-)
Either they saw a bad add-on and thought it is mine, or they were just saying crap because this add-on is too brilliant. :steamhappy:
Cédric GÉRILLE [GiletJaune]  [author] 27 Jan, 2019 @ 2:22am 
Of course, but it may not help you find the cause of the missing textures. Especially if texture files or material files are missing, then it's not a hook conflict so my conflict finder won't help in this case. As described in the description, finding the event name that seems to be bypassed is your job.
JuicePack 26 Jan, 2019 @ 3:21pm 
does this work for an addon that has missing textures?
Cédric GÉRILLE [GiletJaune]  [author] 15 Aug, 2017 @ 2:01pm 
@LordDeath17
Sorry for taking a long time, I did not expect to be unsubscribed from comments.
If it's an addon that fails then it's likely to use a hook added with hook.Add(). You probably have not selected the right event, or you did not catch this message during the failure.
During an event, the hook from the gamemode happens after all hooks added with hook.Add(), so your message does not display a conflict.
Patrick the Legendary 15 Jul, 2017 @ 10:42pm 
Never have 2 Gore mods