nosoop / SM-TFCustomAttributeStarterPack

A collection of plugins to be used with the TF2 Custom Attribute framework.
MIT License
19 stars 10 forks source link

Could not verify patch for HandleRageGain()::NoHeavyRageGain #89

Closed naydef closed 5 months ago

naydef commented 6 months ago

Initial troubleshooting checklist

Describe the bug

L 04/21/2024 - 09:40:53: [SM] Exception reported: Could not verify patch for HandleRageGain()::NoHeavyRageGain
L 04/21/2024 - 09:40:53: [SM] Blaming: Gameplay/Weapons/Attributes/generate_rage_on_dmg_patch.smx
L 04/21/2024 - 09:40:53: [SM] Call stack trace:
L 04/21/2024 - 09:40:53: [SM]   [0] SetFailState
L 04/21/2024 - 09:40:53: [SM]   [1] Line 38, Gameplay/Weapons/Attributes/generate_rage_on_dmg_patch.sp::OnPluginStart
L 04/21/2024 - 09:40:53: [SM] Unable to load plugin "Gameplay/Weapons/Attributes/generate_rage_on_dmg_patch.smx": Error detected in plugin startup (see error logs)

Server environment (please complete the following information):

higps commented 6 months ago

I'm having the same issue

naydef commented 6 months ago

I made new gamedata for Linux (only): Here's the diff:

@@ -849,9 +849,9 @@
                "signature"         "CTFPlayer::ApplyPushFromDamage()"
                "linux"
                {
-                   "offset"        "684h"
-                   "verify"        "\x74"
-                   "patch"         "\x71"
+                   "offset"        "35Eh"
+                   "verify"        "\x0F\x84\x24\x0C\x00\x00"
+                   "patch"         "\x90\x90\x90\x90\x90\x90"
                }
                "windows"
                {
@@ -882,9 +882,9 @@
                "signature"         "HandleRageGain()"
                "linux"
                {
-                   "offset"        "480h"
-                   "verify"        "\x0F\x84"
-                   "patch"         "\x0F\x81"
+                   "offset"        "6Ch"
+                   "verify"        "\x74\x62"
+                   "patch"         "\x90\x90"
                }
                "windows"
                {
@@ -899,7 +899,7 @@
                "signature"         "CTFWeaponBase::ApplyOnHitAttributes()"
                "linux"
                {
-                   "offset"        "8E2h"
+                   "offset"        "5C5h"
                    "verify"        "\x74"
                    "patch"         "\xEB"
                }
@@ -1009,7 +1009,7 @@
            {
                // signature with ApplyOnDamageAliveModifyRules starting with MULSS operation
                "library"   "server"
-               "linux"     "\xF3\x0F\x59\x2A\x2A\x2A\x2A\x2A\xF3\x0F\x11\x2A\x2A\x2A\x2A\x2A\xE9\x2A\x2A\x2A\x2A\x83\x3D\x2A\x2A\x2A\x2A\x00"
+               "linux"     "\xF3\x0F\x59\x2A\x2A\x2A\x2A\x2A\xF3\x0F\x11\x2A\x2A\x2A\x2A\x2A\xE9\x2A\x2A\x2A\x2A\x90\x31\xC0"
            }
            "CTFGameRules::RadiusDamage()"
            {
naydef commented 6 months ago

For custom_lunchbox_effects gamedata diff:

                "signature"         "CTFPlayer::DoTauntAttack()"
                "linux"
                {
-                   "offset"        "91"
+                   "offset"        "88"
                }
                "windows"
                {
nosoop commented 5 months ago

Closed with #91. Thanks! Couple of other issues left that will be tracked under #90.