View Single Post
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 10-27-2017 , 15:00   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #572

Quote:
Originally Posted by Blunderstab View Post
Hello again! I'm trying to bend the new Flamethrower mechanics to my will and there's something I'm trying to figure out. "CTFFlameManager::InitializePoint(tf_point_t* , int)" Both Flame Manager and tf_point_t are brand new to this update.

I'm trying to work out how to get that tf_point_t*. I've been trying all sorts of ideas from other code in this thread and elsewhere but I can't seem to get any results. I'm more than willing to do the tedious work, but I want to make sure I'm headed in the right direction first.

"DHookAddParam(Handle, HookParamType_Object)" always causes a crash, but if I set the size to "32" it crashes differently. The server doesn't immediately give me a windows "not responding" box, it actually just hangs indefinitely until I close it myself. Any other number causes the same problem as not having a number at all. Is that a clue? Is HookParamType_Object the wrong thing entirely? I just want to get the AddParam correct so I can work out getting the data inside.

Thanks in advance!
HookParamType_ObjectPtr
__________________

Last edited by Pelipoika; 10-27-2017 at 15:00.
Pelipoika is offline