From c0b4f2c988be65ea1b3b36eaf6926c358126f502 Mon Sep 17 00:00:00 2001 From: WiruWiru <61034981+wiruwiru@users.noreply.github.com> Date: Tue, 1 Apr 2025 18:11:40 -0300 Subject: [PATCH 1/2] fix: update `CCSPlayer_ItemServices_CanAcquire` signature --- Resources/RetakesAllocator_gamedata.json | 2 +- RetakesAllocator/Menus/AdvancedGunMenu.cs | 1 + RetakesAllocator/RetakesAllocator.cs | 1 + RetakesAllocator/RetakesAllocator.csproj | 2 +- RetakesAllocatorCore/RetakesAllocatorCore.csproj | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Resources/RetakesAllocator_gamedata.json b/Resources/RetakesAllocator_gamedata.json index c4345984..d9771044 100644 --- a/Resources/RetakesAllocator_gamedata.json +++ b/Resources/RetakesAllocator_gamedata.json @@ -10,7 +10,7 @@ "signatures": { "library": "server", "windows": "44 89 44 24 ? 48 89 54 24 ? 48 89 4C 24 ? 55 56 57 41 54 41 55 41 56 41 57 48 8B EC", - "linux": "55 48 89 E5 41 57 41 56 41 55 49 89 CD 41 54 53 48 83 EC" + "linux": "55 48 89 E5 41 57 41 56 48 8D 45 ? 41 55 41 54 53 48 89 CB" } }, "GiveNamedItem2": { diff --git a/RetakesAllocator/Menus/AdvancedGunMenu.cs b/RetakesAllocator/Menus/AdvancedGunMenu.cs index 304f77ef..11d4d4c6 100644 --- a/RetakesAllocator/Menus/AdvancedGunMenu.cs +++ b/RetakesAllocator/Menus/AdvancedGunMenu.cs @@ -7,6 +7,7 @@ using RetakesAllocator.Menus; using RetakesAllocatorCore.Config; using static RetakesAllocatorCore.PluginInfo; +using CounterStrikeSharp.API.Modules.Events; namespace RetakesAllocator.AdvancedMenus; diff --git a/RetakesAllocator/RetakesAllocator.cs b/RetakesAllocator/RetakesAllocator.cs index 912bc4d4..72d8c563 100644 --- a/RetakesAllocator/RetakesAllocator.cs +++ b/RetakesAllocator/RetakesAllocator.cs @@ -21,6 +21,7 @@ using static RetakesAllocatorCore.PluginInfo; using RetakesPluginShared; using RetakesPluginShared.Events; +using CounterStrikeSharp.API.Modules.Events; namespace RetakesAllocator; diff --git a/RetakesAllocator/RetakesAllocator.csproj b/RetakesAllocator/RetakesAllocator.csproj index cb13d357..0c1027b6 100644 --- a/RetakesAllocator/RetakesAllocator.csproj +++ b/RetakesAllocator/RetakesAllocator.csproj @@ -9,7 +9,7 @@ - + diff --git a/RetakesAllocatorCore/RetakesAllocatorCore.csproj b/RetakesAllocatorCore/RetakesAllocatorCore.csproj index 8bb22e5a..d1f74b3e 100644 --- a/RetakesAllocatorCore/RetakesAllocatorCore.csproj +++ b/RetakesAllocatorCore/RetakesAllocatorCore.csproj @@ -7,7 +7,7 @@ - + all From ad7949ae4109b3fb7aa0d508bf3adb78ebb6f5e4 Mon Sep 17 00:00:00 2001 From: WiruWiru <61034981+wiruwiru@users.noreply.github.com> Date: Tue, 1 Apr 2025 18:15:53 -0300 Subject: [PATCH 2/2] update plugin version --- RetakesAllocatorCore/PluginInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RetakesAllocatorCore/PluginInfo.cs b/RetakesAllocatorCore/PluginInfo.cs index f6788879..311034d2 100644 --- a/RetakesAllocatorCore/PluginInfo.cs +++ b/RetakesAllocatorCore/PluginInfo.cs @@ -5,7 +5,7 @@ namespace RetakesAllocatorCore; public static class PluginInfo { - public const string Version = "2.4.0"; + public const string Version = "2.4.1"; public static readonly string LogPrefix = $"[RetakesAllocator {Version}] ";