View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-16-2021 , 11:13   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #66

Quote:
Originally Posted by NiTro1 View Post
Actually server runs in Lan Mode because of that steam support library error.

some signatures are broken : CTerrorPlayer_OnStaggered i dont know if Silvers updated this one too.
Which plugin are you referring to?

Here's a signature I use for "New Custom Commands" that's compatible with detours:
PHP Code:
/*
 *   CTerrorPlayer::OnStaggered(CBaseEntity *, Vector  const*) - used by L4D2 on Survivors, causes staggering (e.g. Charger Impact nearby)
 */
"CTerrorPlayer_OnStaggered"
{
    
"library"    "server"
    "linux"        "@_ZN13CTerrorPlayer11OnStaggeredEP11CBaseEntityPK6Vector"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xE4\xF0\x83\xC4\x04\x55\x8B\x6B\x04\x89\x6C\x24\x04\x8B\xEC\x83\xEC\x48\x56\x57\x8B\xF1\xE8"
    
/* ? ? ? ? ? ? 83 E4 F0 83 C4 04 55 8B 6B 04 89 6C 24 04 8B EC 83 EC 48 56 57 8B F1 E8 */

Quote:
Originally Posted by Silvers View Post
Noticed this on Windows:

Code:
L 06/16/2021 - 16:38:31: [SM] Exception reported: Unable to find the "CTerrorPlayer::OnAdrenalineUsed(float)" signature, check the file version!
L 06/16/2021 - 16:38:31: [SM] Blaming: PLUGS\l4d2_custom_commands.smx
L 06/16/2021 - 16:38:31: [SM] Call stack trace:
L 06/16/2021 - 16:38:31: [SM]   [0] SetFailState
L 06/16/2021 - 16:38:31: [SM]   [1] Line 269, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\PLUGS\l4d2_custom_commands.sp::OnPluginStart
L 06/16/2021 - 16:38:31: [SM] Unable to load plugin "PLUGS\l4d2_custom_commands.smx": Error detected in plugin startup (see error logs)
I don't have time to find signature.
I found this signature yesterday while fixing my server. I guess I'll share it here:
PHP Code:
/*
*     CTerrorPlayer::OnAdrenalineUsed(float)
*    
*     Float: Adrenaline Effect Duration
*
*  ->Search for string "%s used adrenaline\n", then 3 calls above. Thats the function. Param must be float.
*/
"CTerrorPlayer_OnAdrenalineUsed"
{
    
"library"    "server"
    "linux"        "@_ZN13CTerrorPlayer16OnAdrenalineUsedEf"
    "windows"    "\x55\x8B\xEC\x51\x53\x56\x8B\xF1\x8D\x9E\x80\x32\x00\x00"
    
/* 55 8B EC 51 53 56 8B F1 8D 9E 80 32 00 00 */

__________________
Psyk0tik is offline