From 168c60a5ab79f207fa69efd3edd16078a04cdd3a Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sun, 23 Jan 2022 14:58:46 +0100 Subject: [PATCH] fix(localbinding): use correct pattern and offset for pet manager --- Local/NosSmooth.LocalBinding/Options/PetManagerOptions.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Local/NosSmooth.LocalBinding/Options/PetManagerOptions.cs b/Local/NosSmooth.LocalBinding/Options/PetManagerOptions.cs index e693f11..93d156b 100644 --- a/Local/NosSmooth.LocalBinding/Options/PetManagerOptions.cs +++ b/Local/NosSmooth.LocalBinding/Options/PetManagerOptions.cs @@ -5,11 +5,12 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NosSmooth.LocalBinding.Objects; +using NosSmooth.LocalBinding.Structs; namespace NosSmooth.LocalBinding.Options; /// -/// Options for . +/// Options for . /// public class PetManagerOptions { @@ -17,11 +18,11 @@ public class PetManagerOptions /// Gets or sets the pattern to find static pet manager list address at. /// public string PetManagerListPattern { get; set; } - = "00 ff 70 00 ?? ?? ?? ?? 10 90"; + = "?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? FF FF FF FF 00 00 00 00 00 00 00 00 C0 E4"; /// /// Gets or sets the offsets to find the pet manager list at from the static address. /// public int[] PetManagerListOffsets { get; set; } - = { 4, 8, 0x180, 0x18, 0x1C, 0x54 }; + = { 0 }; } \ No newline at end of file -- 2.48.1