View Single Post
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 03-01-2016 , 22:21   Re: [IDA/DHooks]How to get vtable offsets
Reply With Quote #31

Quote:
Originally Posted by Spirit_12 View Post
PHP Code:
int g_SurvivorCountsOffset = -1;

charSurvCounts=((char*)this)+g_SurvivorCountsOffset;

g_pGameConf->GetOffset("SurvivorCounters",&g_SurvivorCountsOffset); 
These are the 3 incidents where this offset is being used. Am I looking at the wrong function then?

Extension Thread: https://forums.alliedmods.net/showthread.php?t=121945
"SurvivorCounters" != "CTerrorGameRules::CalculateSurvivalMultiplie r" ?!
__________________
Peace-Maker is offline