Skip to content

Commit

Permalink
Fix OffsetToPlayerPawnHandle pattern for the latest game update on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Oct 19, 2024
1 parent 3ff2168 commit 4a395ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct PlayerControllerPatterns {

[[nodiscard]] OffsetToPlayerPawnHandle offsetToPlayerPawnHandle() const noexcept
{
return patternFinders.clientPatternFinder("8B 97 ? ? ? ? 48 89 FB 83 FA FF"_pat).add(2).template readOffset<OffsetToPlayerPawnHandle>();
return patternFinders.clientPatternFinder("84 C0 75 ? 8B 8F ? ? ? ?"_pat).add(6).template readOffset<OffsetToPlayerPawnHandle>();
}

[[nodiscard]] OffsetToPlayerColor offsetToPlayerColor() const noexcept
Expand Down

0 comments on commit 4a395ab

Please sign in to comment.