Raised This Month: $ Target: $400
 0% 

[L4D2] Plugin signature fix l4d2_dominatorscontrol.smx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 07-03-2021 , 11:29   [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #1

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 - 0959: SourceMod error session started
L 07/03/2021 - 0959: 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 - 0959: [SM] Exception reported: Can't find 'bIsDominator' signature!
L 07/03/2021 - 0959: [SM] Blaming: l4d2_dominatorscontrol.smx
L 07/03/2021 - 0959: [SM] Call stack trace:
L 07/03/2021 - 0959: [SM] [0] SetFailState
L 07/03/2021 - 0959: [SM] [1] Line 32, C:\Users\user\repos\some_plugins\dominators_c ontrol\l4d2_dominatorscontrol.sp::OnPluginSta rt
L 07/03/2021 - 0959: [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
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_dominatorscontrol.sp - 40 views - 2.6 KB)
File Type: txt l4d2_dominators.txt (682 Bytes, 37 views)
VladimirTk is offline
Darkwob
Senior Member
Join Date: Oct 2018
Location: Turkey
Old 07-03-2021 , 17:37   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #2

try this
Attached Files
File Type: txt l4d2_dominators.txt (682 Bytes, 27 views)
File Type: sp Get Plugin or Get Source (l4d2_dominatorscontrol.sp - 32 views - 2.7 KB)
__________________
HTML Code:
<a href="https://www.gametracker.com/server_info/157.90.180.232:27215/" target="_blank"><img src="https://cache.gametracker.com/server_info/157.90.180.232:27215/b_560_95_1.png" border="0" width="560" height="95" alt=""/></a>
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-03-2021 , 18:09   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #3

Quote:
Originally Posted by Darkwob View Post
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.
__________________
Psyk0tik is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 07-05-2021 , 22:16   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #4

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
VladimirTk is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 07-06-2021 , 02:58   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #5

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.

Last edited by cravenge; 07-06-2021 at 02:58.
cravenge is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-06-2021 , 05:47   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #6

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".
				*/

			}
		}
	}
}
__________________
Silvers is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Taipei
Old 07-06-2021 , 05:49   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #7

Code: https://github.com/SirPlease/L4D2-Co...torscontrol.sp

Gamedata: https://github.com/SirPlease/L4D2-Co...dominators.txt
__________________
HarryPotter is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 07-11-2021 , 21:27   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #8

Thanks to Silvers and others for helping me fix this error
Thanks

Last edited by VladimirTk; 07-11-2021 at 21:28.
VladimirTk is offline
Darkwob
Senior Member
Join Date: Oct 2018
Location: Turkey
Old 07-16-2021 , 07:33   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #9

Quote:
Originally Posted by Crasher_3637 View Post
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.
__________________
HTML Code:
<a href="https://www.gametracker.com/server_info/157.90.180.232:27215/" target="_blank"><img src="https://cache.gametracker.com/server_info/157.90.180.232:27215/b_560_95_1.png" border="0" width="560" height="95" alt=""/></a>
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 09-03-2021 , 21:01   Re: [L4D2] Plugin signature fix l4d2_dominatorscontrol.smx
Reply With Quote #10

This plugin alone is enough for activating quad ?
JLmelenchon is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:02.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode