From 85c6151f90a6a2071c58afd0f26f2c52966964c7 Mon Sep 17 00:00:00 2001 From: Tischel Date: Wed, 24 May 2023 04:09:05 -0300 Subject: [PATCH] Updating for 6.4 --- ActionTimeline/ActionTimeline.csproj | 6 +++--- ActionTimeline/ActionTimeline.json | 2 +- ActionTimeline/Helpers/TimelineManager.cs | 3 ++- ActionTimeline/Plugin.cs | 2 +- ActionTimeline/changelog.md | 3 +++ 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ActionTimeline/ActionTimeline.csproj b/ActionTimeline/ActionTimeline.csproj index 06454d7..92d92ac 100644 --- a/ActionTimeline/ActionTimeline.csproj +++ b/ActionTimeline/ActionTimeline.csproj @@ -10,9 +10,9 @@ ActionTimeline - 1.1.0.0 - 1.1.0.0 - 1.1.0.0 + 1.2.0.0 + 1.2.0.0 + 1.2.0.0 diff --git a/ActionTimeline/ActionTimeline.json b/ActionTimeline/ActionTimeline.json index ab7ce50..6009a21 100644 --- a/ActionTimeline/ActionTimeline.json +++ b/ActionTimeline/ActionTimeline.json @@ -5,5 +5,5 @@ "Description": "Configurable timeline display of all the actions you use.", "RepoUrl": "https://github.com/Tischel/ActionTimeline", "Tags": [ "UI" ], - "Changelog": "1.1.0.0\n- Added support for Patch 6.3 and Dalamud Api8." + "Changelog": "# 1.2.0.0\n- Added support for Patch 6.4." } \ No newline at end of file diff --git a/ActionTimeline/Helpers/TimelineManager.cs b/ActionTimeline/Helpers/TimelineManager.cs index 996b2c5..d652ee6 100644 --- a/ActionTimeline/Helpers/TimelineManager.cs +++ b/ActionTimeline/Helpers/TimelineManager.cs @@ -83,7 +83,8 @@ public TimelineManager() try { - _onActionUsedHook = Hook.FromAddress(Plugin.SigScanner.ScanText("4C 89 44 24 ?? 55 56 41 54 41 55 41 56"), OnActionUsed); + IntPtr funcPtr = Plugin.SigScanner.ScanText("40 55 53 57 41 54 41 55 41 56 41 57 48 8D AC 24 ?? ?? ?? ?? 48 81 EC ?? ?? ?? ?? 48 8B 05 ?? ?? ?? ?? 48 33 C4 48 89 45 70"); + _onActionUsedHook = Hook.FromAddress(funcPtr, OnActionUsed); _onActionUsedHook?.Enable(); _onActorControlHook = Hook.FromAddress(Plugin.SigScanner.ScanText("E8 ?? ?? ?? ?? 0F B7 0B 83 E9 64"), OnActorControl); diff --git a/ActionTimeline/Plugin.cs b/ActionTimeline/Plugin.cs index a58854e..9563244 100644 --- a/ActionTimeline/Plugin.cs +++ b/ActionTimeline/Plugin.cs @@ -76,7 +76,7 @@ KeyState keyState AssemblyLocation = Assembly.GetExecutingAssembly().Location; } - Version = Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "1.1.0.0"; + Version = Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "1.2.0.0"; UiBuilder.Draw += Draw; UiBuilder.OpenConfigUi += OpenConfigUi; diff --git a/ActionTimeline/changelog.md b/ActionTimeline/changelog.md index 9f9b561..1cad808 100644 --- a/ActionTimeline/changelog.md +++ b/ActionTimeline/changelog.md @@ -1,3 +1,6 @@ +# 1.2.0.0 +- Added support for Patch 6.4. + # 1.1.0.0 - Added support for Patch 6.3 and Dalamud Api8.