Prerequisites
Operating System and Version
Windows 10 22H2
Game / AppID and Version
CS:SO 2.0 beta 6
SourceMod Version
1.13.0.7279
Metamod:Source Version
2.0.0-dev+1367
Version Verification
Updated SourceMod Version
No response
Updated Metamod:Source Version
No response
Description
If safetyhook::InlineHook::create or m_Hook.enable fails, CHook::CHook does not report error to CHookManager::HookFunction and Native_EnableDetour, so if safetyhook fails for any reason, plugin that uses DynamicDetour has no way to know if DynamicDetour.Enable has failed
Steps to Reproduce
No response
Relevant Log Output
Prerequisites
Operating System and Version
Windows 10 22H2
Game / AppID and Version
CS:SO 2.0 beta 6
SourceMod Version
1.13.0.7279
Metamod:Source Version
2.0.0-dev+1367
Version Verification
Updated SourceMod Version
No response
Updated Metamod:Source Version
No response
Description
If safetyhook::InlineHook::create or m_Hook.enable fails, CHook::CHook does not report error to CHookManager::HookFunction and Native_EnableDetour, so if safetyhook fails for any reason, plugin that uses DynamicDetour has no way to know if DynamicDetour.Enable has failed
Steps to Reproduce
No response
Relevant Log Output