diff --git a/main.go b/main.go index 07c2037..3ab9831 100644 --- a/main.go +++ b/main.go @@ -231,7 +231,7 @@ func getEntitiesInfo(procHandle windows.Handle, clientDll uintptr, screenWidth u continue } // entityController - err = read(procHandle, listEntry+uintptr(120)*uintptr(i&0x1FF), &entityController) + err = read(procHandle, listEntry+uintptr(112)*uintptr(i&0x1FF), &entityController) if err != nil { return entities } @@ -255,7 +255,7 @@ func getEntitiesInfo(procHandle windows.Handle, clientDll uintptr, screenWidth u continue } // entityPawn - err = read(procHandle, listEntry+uintptr(120)*uintptr(entityControllerPawn&0x1FF), &entityPawn) + err = read(procHandle, listEntry+uintptr(112)*uintptr(entityControllerPawn&0x1FF), &entityPawn) if err != nil { return entities } diff --git a/offsets.json b/offsets.json index 1a64644..13193ea 100644 --- a/offsets.json +++ b/offsets.json @@ -1,15 +1,16 @@ { - "dwViewMatrix": 25716496, - "dwLocalPlayerPawn": 25713704, - "dwEntityList": 24741688, - "m_hPlayerPawn": 1980, - "m_iHealth": 812, - "m_lifeState": 816, - "m_iTeamNum": 959, - "m_vOldOrigin": 4628, - "m_pGameSceneNode": 784, - "m_modelState": 352, - "m_boneArray": 128, - "m_nodeToWorld": 16, - "m_sSanitizedPlayerName": 1824 + "dwViewMatrix": 31582496, + "dwLocalPlayerPawn": 29211408, + "dwEntityList": 30410384, + "m_hPlayerPawn": 2300, + "m_iHealth": 844, + "m_lifeState": 852, + "m_iTeamNum": 1003, + "m_vOldOrigin": 5536, + "m_pGameSceneNode": 816, + "m_modelState": 400, + "m_boneArray": 128, + "m_nodeToWorld": 16, + "m_sSanitizedPlayerName": 2128 } +