From bd7f43ddc7750c6bbe518f7e0c2b83357306eb75 Mon Sep 17 00:00:00 2001 From: Adam Worgen Date: Sun, 25 Dec 2022 13:23:57 +0300 Subject: [PATCH] Hotfix: fixed support for update13 This is a temporary solution since this breaks support of previous game version --- code/game/pointers.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/code/game/pointers.h b/code/game/pointers.h index 07445ef..0894035 100644 --- a/code/game/pointers.h +++ b/code/game/pointers.h @@ -63,22 +63,22 @@ OTHER DEALINGS IN THE SOFTWARE. #define STDCALL_FUNCTION(func) CDECL_FUNCTION(func) //------------- Dishonored.h --------------// -DEFINE_STATIC_POINTER(playerPawn, 0x01452DE8); +DEFINE_STATIC_POINTER(playerPawn, 0x0145f628); -DEFINE_STATIC_POINTER(Attribute_HealthMax_ID, 0x01451774); -DEFINE_STATIC_POINTER(Attribute_HealthRegenAmount_ID, 0x01451784); -DEFINE_STATIC_POINTER(Attribute_HealthRegenInitialDelay_ID, 0x0145178C); -DEFINE_STATIC_POINTER(Attribute_HealthRegenLimit_ID, 0x01451794); -DEFINE_STATIC_POINTER(Attribute_HealthRegenRate_ID, 0x0145179C); +DEFINE_STATIC_POINTER(Attribute_HealthMax_ID, 0x0145dfb0); +DEFINE_STATIC_POINTER(Attribute_HealthRegenAmount_ID, 0x0145dfc0); +DEFINE_STATIC_POINTER(Attribute_HealthRegenInitialDelay_ID, 0x0145dfc8); +DEFINE_STATIC_POINTER(Attribute_HealthRegenLimit_ID, 0x0145dfd0); +DEFINE_STATIC_POINTER(Attribute_HealthRegenRate_ID, 0x0145dfd8); -DEFINE_STATIC_POINTER(Attribute_ManaMax_ID, 0x014517E4); -DEFINE_STATIC_POINTER(Attribute_ManaRegenAmount_ID, 0x014517F4); -DEFINE_STATIC_POINTER(Attribute_ManaRegenInitialDelay_ID, 0x014517FC); -DEFINE_STATIC_POINTER(Attribute_ManaRegenAdditivePortion_ID, 0x01451804); -DEFINE_STATIC_POINTER(Attribute_ManaRegenStepTime_ID, 0x0145180C); +DEFINE_STATIC_POINTER(Attribute_ManaMax_ID, 0x0145e020); +DEFINE_STATIC_POINTER(Attribute_ManaRegenAmount_ID, 0x0145e030); +DEFINE_STATIC_POINTER(Attribute_ManaRegenInitialDelay_ID, 0x0145e038); +DEFINE_STATIC_POINTER(Attribute_ManaRegenAdditivePortion_ID, 0x0145e040); +DEFINE_STATIC_POINTER(Attribute_ManaRegenStepTime_ID, 0x0145e048); //------------- FullRegen.cpp -------------// -DEFINE_STATIC_POINTER(detour_disattributesentry_init, 0x00C88210); -DEFINE_STATIC_POINTER(hook_disattributesentry_init_ret, 0x00C88216); +DEFINE_STATIC_POINTER(detour_disattributesentry_init, 0x00c88850); +DEFINE_STATIC_POINTER(hook_disattributesentry_init_ret, 0x00c88856); #endif