I think you are failing to set the return value with DHookSetReturn. Supercede will skip the real value, but you have to set a return value for the function.
I think you are failing to set the return value with DHookSetReturn. Supercede will skip the real value, but you have to set a return value for the function.
I don't believe DHooks expects me to set a return value on a void function. It knows it's void thanks to gamedata:
PHP Code:
"Functions" { "Bot_RunAll" { "return" "void"
There's nothing for it to override. If it expected a return, it would have shown me this:
Code:
[SM] Exception reported: Tried to override return value without return value being set