Garry's Mod

Garry's Mod

GM++ | Player Interaction Overhaul
Making GM++ work together with Helix?
Hey there.
Could you look into making GM++ work together with Helix gamemode?
By default it will not work since GM++ overrides hook.Call function which means Helix's hook override fails to function.
This is the override function in Helix:
do hook.ixCall = hook.ixCall or hook.Call function hook.Call(name, gm, ...) local cache = HOOKS_CACHE[name] if (cache) then for k, v in pairs(cache) do local a, b, c, d, e, f = v(k, ...) if (a != nil) then return a, b, c, d, e, f end end end if (Schema and Schema[name]) then local a, b, c, d, e, f = Schema[name](Schema, ...) if (a != nil) then return a, b, c, d, e, f end end return hook.ixCall(name, gm, ...) end end

If you could look into adding support for Helix, I would be ever so grateful!
< >
Showing 1-5 of 5 comments
Juckey  [developer] Aug 11 @ 6:18pm 
thanks for making this thread. I've added a patch for Helix, but I have not done any testing with it. please note that GM++ is designed for sandbox, and further issues may arise from the missing gamemode functionality when GM++ overrides some hooks.
pixel Aug 11 @ 8:21pm 
Thank you very much!
Helix is a Sandbox-derived gamemode, but there might be some compatibility issues by default like you said. I'll give it a test and see how well it works, fingers crossed.
Also, is this compatible with Srlion's Hook Library at all? I use Srlion's Hook Library because it allows to use hook priorities with any gamemode and addon hooks, quite many addons depend on it for their functionality and I was wondering will GM++ conflict with it?
pixel Aug 11 @ 8:43pm 
Tested it and Helix seems to load almost correctly now, but many things that Helix itself overrides are conflicting with GM++ which causes things to break pretty badly but at least the gamemode initializes correctly now. It might be pretty difficult to make them work nicely together, but I'll look into it later if I could modify some of Helix's functions to step aside when GM++ is installed.
I appreciate the patch very much though since this is already working better than before!
Juckey  [developer] Aug 13 @ 8:40am 
I've added the (sv_)gmpp_trusted_handlers console command to reveal all the hooks GM++ overrides. if you are able to identify specific hooks that break, I'll be happy to take a look.
Juckey  [developer] 19 hours ago 
Originally posted by pixel:
Thank you very much!
Also, is this compatible with Srlion's Hook Library at all? I use Srlion's Hook Library because it allows to use hook priorities with any gamemode and addon hooks, quite many addons depend on it for their functionality and I was wondering will GM++ conflict with it?
recent update adds the priority globals (HOOK_*) which I assume should be enough to make things work, unless the library has any extra quirks to it. if so, full support is most likely improbable.
< >
Showing 1-5 of 5 comments
Per page: 1530 50