View Single Post
Xutax_Kamay
Member
Join Date: Feb 2016
Old 04-16-2019 , 07:30   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
Reply With Quote #17

Quote:
Originally Posted by sazonische View Post
line 41
g_hWeapon_ShootPosition = DHookCreate(offset, HookType_Entity, ReturnType_Int, ThisPointer_CBaseEntity);
replace
g_hWeapon_ShootPosition = DHookCreate(offset, HookType_Entity, ReturnType_Vector, ThisPointer_CBaseEntity);
You're right, thanks, though it does still crash with Vector, I've changed it to Int by hoping to get an address earlier but yeah, seems like it didn't turn out to work anyway.
I get the return perfectly, it just when I try to set it that it crashes, I just need to debug out the extension when I've time (probably needs recompiling n stuff)

But I'm not refusing any help to make this working

Last edited by Xutax_Kamay; 04-16-2019 at 07:52.
Xutax_Kamay is offline