Re: DHooks (Dynamic Hooks - Dev Preview)
My ubuntu 20 vps server doesn't see the extension. What am I doing wrong, maybe I need to install some extension?
|
Re: DHooks (Dynamic Hooks - Dev Preview)
SourceMod only loads an extension if it's used by a plugin by default. Do you have a plugin installed which uses dhooks?
|
Re: DHooks (Dynamic Hooks - Dev Preview)
I believe the caching of parameters between pre and post hooks may have imposed a limit for few usecases.
Take for example the function CBaseEntity::AcceptInput(char const*, CBaseEntity*, CBaseEntity*, variant_t, int) This function converts the value inside the variant_t union parameter to the correct type based on the entity's datadesc. DHooks will always provide the value from the start of the hook, which will usually be a string, and not the converted type. In case this "fix" is only applied on Windows, this would also cause inconsistencies between platforms. |
Re: DHooks (Dynamic Hooks - Dev Preview)
Ah, yes, we could add a flag to disable the caching of pre-hook parameters explicitly? It prevents more headache when it's on by default, but an opt-out sounds useful for union params like the variant_t you're describing. Would you mind creating an issue for this on github?
|
All times are GMT -4. The time now is 04:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.