Skip to content

Commit

Permalink
Update offsets for 2.0.5
Browse files Browse the repository at this point in the history
Thanks to @berichan for the offsets.
  • Loading branch information
hp3721 authored Feb 16, 2022
1 parent 8d3d53c commit f73894a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CrossBot.Core/Offsets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ public static class Offsets
// Helpers
public const uint PlayerSize = 0x11B968;

public const uint InventoryOffset = 0xAF71E6E0; // player 0 (A)
public const uint InventoryOffset = 0xAFB1E6E0; // player 0 (A)
public const string CoordinatePointer = "[[[[main+4627088]+18]+178]+D0]+DA";

// Main player offsets functions
public static uint GetPlayerInventoryOffset(uint profiles) => (InventoryOffset + (PlayerSize * (profiles - 1)));

// Main save offsets
public const uint TurnipAddress = 0xAE6140F4;
public const uint TurnipAddress = 0xAEA140F4;
public const uint VillagerAddress = TurnipAddress - 0x2D40 - 0x45B50C + 0x10;
public const uint VillagerHouseAddress = TurnipAddress - 0x2D40 - 0x45B50C + 0x44f7FC;

Expand Down

0 comments on commit f73894a

Please sign in to comment.