View Single Post
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 06-26-2021 , 09:11   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #3

Quote:
Originally Posted by Peace-Maker View Post
Dhooks itself doesn't do anything game specific that could break after an update. The plugins probably need updated gamedata.
Yeah, i didn't say that DHooks caused these crashes. Tried to update gamedata manually but idk which is outdated (used VTable Dumper to check but it seems that every gamedata config has up to date offsets, not sure about signatures though. Do Linux signatures change often like Windows' do?).

EDIT: VTable prints 264 and 265 offsets
Code:
L	W	Function
265	264	CBasePlayer::Weapon_Equip(CBaseCombatWeapon*)
but SM gamedata has this
Code:
			"WeaponEquip"
			{
				"windows"	"265"
				"linux"		"266"
				"mac"		"266"
			}
EDIT 2: OK, it seems that Hit Registration Fix Plugin had outdated offsets. Increased them by 1.
__________________

Last edited by MAGNAT2645; 06-26-2021 at 12:27.
MAGNAT2645 is offline