From 823a0a05b094ef1e39c21c501936dd0f3461df93 Mon Sep 17 00:00:00 2001 From: elb <51070858+elobo91@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:39:19 -0500 Subject: [PATCH] player.go Corpse offset (#53) --- pkg/memory/player.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/memory/player.go b/pkg/memory/player.go index 0dfa765..ea714ec 100644 --- a/pkg/memory/player.go +++ b/pkg/memory/player.go @@ -42,7 +42,7 @@ func (gd *GameReader) GetRawPlayerUnits() RawPlayerUnits { if expChar > 0 { isMainPlayer = gd.Process.ReadUInt(inventoryAddr+0x70, Uint16) } - isCorpse := gd.Process.ReadUInt(playerUnit+0x1A6, Uint8) + isCorpse := gd.Process.ReadUInt(playerUnit+0x1AE, Uint8) statsListExPtr := uintptr(gd.Process.ReadUInt(playerUnit+0x88, Uint64)) baseStats := gd.getStatsList(statsListExPtr + 0x30)