Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand Down
27 changes: 14 additions & 13 deletions offsets.json
Original file line number Diff line number Diff line change
@@ -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
}