AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx (https://forums.alliedmods.net/showthread.php?t=333322)

VladimirTk 07-03-2021 11:29

[L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
2 Attachment(s)
Hello and thanks for answering, I have a problem with the execution of this plugin, it seems to be an error in the signatures it has for Windows, I use local Listenserver Windows server

L 07/03/2021 - 09:35:39: SourceMod error session started
L 07/03/2021 - 09:35:39: Info (map "c2m1_highway") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10703.log")
L 07/03/2021 - 09:35:39: [SM] Exception reported: Can't find 'bIsDominator' signature!
L 07/03/2021 - 09:35:39: [SM] Blaming: l4d2_dominatorscontrol.smx
L 07/03/2021 - 09:35:39: [SM] Call stack trace:
L 07/03/2021 - 09:35:39: [SM] [0] SetFailState
L 07/03/2021 - 09:35:39: [SM] [1] Line 32, C:\Users\user\repos\some_plugins\dominators_c ontrol\l4d2_dominatorscontrol.sp::OnPluginSta rt
L 07/03/2021 - 09:35:39: [SM] Unable to load plugin "l4d2_dominatorscontrol.smx": Error detected in plugin startup (see error logs)

I'm sorry if I express myself badly but I don't speak English, thanks in advance for any help with this problem

Darkwob 07-03-2021 17:37

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
2 Attachment(s)
try this

Psyk0tik 07-03-2021 18:09

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
Quote:

Originally Posted by Darkwob (Post 2751818)
try this

The only change I see with your attachment is that the plugin searches for the address of "Dominator" instead of "bIsDominator", so it still produces the same error. Vladimir is asking for an updated signature not for a "work-around" and the gamedata file you uploaded is completely identical to the one he uploaded.

VladimirTk 07-05-2021 22:16

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
Sorry for taking a long time to respond but I was pretty busy
Thanks for the ideas
Most of all, I was trying to implement the Quad Caps on my server, so that there can be 4 different grip infections at the same time, if someone knows a similar plugin that works, it would solve my problem

cravenge 07-06-2021 02:58

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
I can't seem to find the signature for this. The closest thing I can find is CTerrorPlayer::Spawn(void) and I know CTerrorPlayer::IsClassOverLimit(int) is one of the functions within it.

Silvers 07-06-2021 05:47

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
How old was that signature?

I'm guessing this is it.

Code:

"Games"
{
        "left4dead2"
        {
                "Addresses"
                {
                        "bIsDominator"
                        {
                                "windows"
                                {
                                        "signature" "CTerrorPlayer::IsClassOverLimit"
                                        "read" "121"
                                }
                                "linux"
                                {
                                        "signature" "CTerrorPlayer::IsClassOverLimit::bIsDominator"
                                }
                        }
                }
                "Signatures"
                {
                        "CTerrorPlayer::IsClassOverLimit::bIsDominator"
                        {
                                "library"        "server"
                                "linux"        "@_ZZN13CTerrorPlayer16IsClassOverLimitEiE12bIsDominator"
                        }
                        "CTerrorPlayer::IsClassOverLimit"
                        {
                                "library"                "server"
                                "windows"                "\x55\x8B\x2A\x83\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\x2A\x89\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x53"
                                /* 55 8B ? 83 ? ? A1 ? ? ? ? 33 ? 89 ? ? A1 ? ? ? ? 8B ? ? ? ? ? 53 */
                                /* Search: "Player %s spawned as %s after waiting %3.2f seconds" few lines above is call to "CTerrorPlayer::IsClassOverLimit" */
                                /*
                                107A7F98 80 DE 84 10            off_107A7F98    dd offset unk_1084DE80  ; DATA XREF: sub_10300BD0+79↑r
                                10300C49 39 0C BD 98 7F 7A 10                    cmp    off_107A7F98[edi*4], ecx
                                10300C92 8B 0C BD 98 7F 7A 10                    mov    ecx, off_107A7F98[edi*4]
                                // Target offset here. sub_10300BD0+79 (121). Scroll down and you'll see "InputShock".
                                */

                        }
                }
        }
}


HarryPotter 07-06-2021 05:49

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
Code: https://github.com/SirPlease/L4D2-Co...torscontrol.sp

Gamedata: https://github.com/SirPlease/L4D2-Co...dominators.txt

VladimirTk 07-11-2021 21:27

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
Thanks to Silvers and others for helping me fix this error
Thanks :D

Darkwob 07-16-2021 07:33

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
Quote:

Originally Posted by Crasher_3637 (Post 2751823)
The only change I see with your attachment is that the plugin searches for the address of "Dominator" instead of "bIsDominator", so it still produces the same error. Vladimir is asking for an updated signature not for a "work-around" and the gamedata file you uploaded is completely identical to the one he uploaded.

I'm kind of a beginner at this signing, bro. I didn't see a problem with the signature that needed to change, so I thought maybe the error would be with the name change.

JLmelenchon 09-03-2021 21:01

Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
 
This plugin alone is enough for activating quad ?


All times are GMT -4. The time now is 10:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.