Raised This Month: $344 Target: $400
 86%   Almost there!

L4D2 Update 2.2.1.3 (2021-06-15)


Post New Thread Reply   
 
Thread Tools Display Modes
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 06-16-2021 , 09:18   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #61

Quote:
Originally Posted by lippnc View Post
Lux has his two servers working and listing on Steam. Maybe one of you that has contact with him could ask how. Pretty sure his servers are through a server rental company as they are in Germany. Lux lives in UK.
As I mentioned in my previous post, my server is also working and listing on Steam. Check it here...

http://api.steampowered.com/ISteamAp...137&format=xml

...or connect to it using the banner in my signature.
__________________
Click the banner below to join my L4D2 dedicated server...

[My Plugins]

Last edited by Mystik Spiral; 06-16-2021 at 09:19.
Mystik Spiral is offline
NiTro1
Member
Join Date: Sep 2015
Location: france
Old 06-16-2021 , 10:20   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #62

For Linux too there is error :

[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
********************************************* ***
* Unable to load Steam support library. *
* This server will operate in LAN mode only. *
********************************************* ***

L4DToolz : Broken & needs updating : Accelerator Is Working On That
Bugfixes Extension : CCharge::HandleCustomCollision_code : needs an update
Left4fix Extension : needs an update
NiTro1 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-16-2021 , 10:27   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #63

Quote:
Originally Posted by NiTro1 View Post
For Linux too there is error :

[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
********************************************* ***
* Unable to load Steam support library. *
* This server will operate in LAN mode only. *
********************************************* ***

L4DToolz : Broken & needs updating : Accelerator Is Working On That
Bugfixes Extension : CCharge::HandleCustomCollision_code : needs an update
Left4fix Extension : needs an update
The first one is just a warning and can be ignored.
  • L4DToolz - I can take a look.
  • BigFixes - Don't think we need this anymore. Try the plugins by Lux, if they don't do the trick then I might look into it, but this is not a priority.
  • Left4fix Extension - Try the gamedata below. I only checked Linux and It is untested, so no promises.

PHP Code:
"Games"
{
    
"left4dead2"
    
{
        
"Offsets"
        
{
            
"VersusCompletionScore"
            
{
                
"linux"        "996"
                "windows"    "1000"
            
}

            
"MarkerDivisor"
            
{
                
"linux"        "112"
                "windows"    "133"
            
}

            
"StatsDivisor"
            
{
                
"linux"        "409"
                "windows"    "297"
            
}

            
"PerPlayerCompletionDivisor"
            
{
                
"linux"        "75"
                "windows"    "47"
            
}

            
"TheDirector"
            
{
                
"windows"    "12"
            
}

            
"WarpGhost_GetPlayerByCharacter"
            
{
                
"linux"        "1309"
                "windows"    "304"
            
}

            
"WarpGhost_MaxPlayerCount"
            
{
                
"linux"        "1285"
                "windows"    "285"
            
}

            
"WarpGhost_GetPlayerByCharacter_inline_len"
            
{
                
"windows"    "40"
            
}

            
"Tiebreak_CheckCodeLen"
            
{
                
"linux"        "104"
                "windows"    "62"
            
}
        }

        
"Signatures"
        
{
            
"CTerrorPlayer_WarpGhostToInitialPosition"
            
{
                
"library"    "server"
                "linux"        "@_ZN13CTerrorPlayer26WarpGhostToInitialPositionEb"
                "windows"    "\x53\x8B\xDC\x83\xEC\x08\x83\xE4\xF0\x83\xC4\x04\x55\x8B\x6B\x04\x89\x6C\x24\x04\x8B\xEC\x83\xEC\x58\x56\x8B\xF1\x8B\x06\x8B\x2A\x2A\x2A\x2A\x2A\x57"
                
/* 53 8B DC 83 EC 08 83 E4 F0 83 C4 04 55 8B 6B 04 89 6C 24 04 8B EC 83 EC 58 56 8B F1 8B 06 8B ? ? ? ? ? 57 */
            
}

            
// int CTerrorPlayer::GetPlayerByCharacter(int SurvivorCharacterType)
            
"CTerrorPlayer_GetPlayerByCharacter"
            
{
                
"library"    "server"
                "linux"        "@_ZN13CTerrorPlayer20GetPlayerByCharacterE21SurvivorCharacterType"
                "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x08\x83\xF8\x08\x75\x06\x33\xC0"
                
/* ? ? ? ? ? ? 83 EC 08 83 F8 08 75 06 33 C0 */
            
}

            
"CTerrorGameRules_RecomputeVersusCompletion"
            
{
                
"library"    "server"
                "linux"        "@_ZN16CTerrorGameRules25RecomputeVersusCompletionEb"
                "windows"    "\x55\x8B\xEC\x83\xEC\x2A\x53\x33\xC0\x56\x57\x8B\xD9\x89\x2A\x2A\x89"
                
/* 55 8B EC 83 EC ? 53 33  C0 56 57 8B D9 89 ? ? 89 */
            
}

            
/*
             *    CGameRulesProxy::NotifyNetworkStateChanged(void)
             */
            
"CGameRulesProxy_NotifyNetworkStateChanged"
            
{
                
"library"    "server"
                "linux"        "@_ZN15CGameRulesProxy25NotifyNetworkStateChangedEv"
                "windows"    "\xA1\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x80\x78"
            
}

            
/*
             *    CTerrorPlayer::OnRevivedByDefibrillator(CTerrorPlayer* who_use_defib, CSurvivorDeathModel *)
             */
            
"CTerrorPlayer_OnRevivedByDefibrillator"
            
{
                
"library"    "server"
                "linux"        "@_ZN13CTerrorPlayer24OnRevivedByDefibrillatorEPS_P19CSurvivorDeathModel"
                "windows"    "\x55\x8B\xEC\x83\xEC\x2A\x53\x56\x8B\xF1\x8A\x86\x2A\x2A\x2A\x2A\x57\x6A\x2A\x88"
                
/* 55 8B EC 83 EC ? 53 56 8B F1 8A 86 ? ? ? ? 57 6A ? 88 */
            
}

            
"g_pDirector"
            
{
                
"library"    "server"
                "linux"        "@TheDirector"
            
}

            
/* Used solely to get the offset for TheDirector
            * CDirectorMusicBanks::OnRoundStart
            * Has unique string "Event.Reveal"
            */
            
"DirectorMusicBanks_OnRoundStart"
            
{
                
"library" "server"
                "windows" "\x55\x8B\xEC\x83\xEC\x2A\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x84"
                
/* 55 8B EC 83 EC ? 56 57 8B F9 8B 0D ? ? ? ? E8 ? ? ? ? 84 */
            
}

            
"CTerrorGameRules_GetVersusCompletion"
            
{
                
"library"    "server"
                "linux"        "@_ZN16CTerrorGameRules19GetVersusCompletionEP13CTerrorPlayer"
                "windows"    "\x55\x8B\xEC\x83\xEC\x2A\x53\x56\x8B\x75\x2A\x8B\xD9\x85\xF6\x2A\x2A\x2A\x2A\x2A\x2A\x8B\xCE"
                
/* 55 8B EC 83 EC ? 53 56 8B 75 ? 8B D9 85 F6 ? ? ? ? ? ? 8B CE */
            
}

            
"CTerrorGameRules_GetVersusCompletionByCharacter"
            
{
                
"library"    "server"
                "linux"        "@_ZNK16CTerrorGameRules31GetVersusCompletionPerCharacterE21SurvivorCharacterTypei"
                "windows"    "\x55\x8B\xEC\x8B\x45\x2A\x56\x50\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x8B\x4D\x2A\x8D\x44"
                
/* 55 8B EC 8B 45 ? 56 50 8B F1 E8 ? ? ? ? 8B 4D ? 8D 44 */
            
}

            
"CDirector_AreTeamsFlipped"
            
{
                
"library"    "server"
                "linux"        "@_ZNK9CDirector15AreTeamsFlippedEv"
                "windows"    "\x57\x8b\xf9\xe8****\x84\xc0\x75*\xf7\x05*******\x00\x56\x74*\xbe"
            
}

            
"CDirector_UpdateMarkersReached"
            
{
                
"library"    "server"
                "linux"        "@_ZN19CDirectorVersusMode20UpdateMarkersReachedEv"
                "windows"    "\x55\x8B\xEC\x83\xEC\x2A\x8B\x41\x2A\x89\x2A\x2A\x39\x41\x2A\x0F\x8D"
                
/* 55 8B EC 83 EC ? 8B 41 ? 89 ? ? 39 41 ? 0F 8D */
            
}

            
"CL4DGameStats_AddSurvivorStats"
            
{
                
"library"    "server"
                "linux"        "@_ZN13CL4DGameStats16AddSurvivorStatsEb"
                "windows"    "\x55\x8B\xEC\x83\xEC\x2A\x0F\xB6\x45\x2A\x53\x56\x33\xF6\xF7\xD8"
                
/* 55 8B EC 83 EC ? 0F B6 45 ? 53 56 33 F6 F7 D8 */
            
}

            
// CTerrorGameRules::GetChapterScore(int)
            // Multiple matches, but we need first
            
"CTerrorGameRules_GetChapterScore"
            
{
                
"library"    "server"
                "linux"        "@_ZN16CTerrorGameRules15GetChapterScoreEi"
                "windows"    "\x55\x8B\xEC\x8B\x45\x08\x8B\x2A\x2A\x2A\x2A\x2A\x2A\x5D\xC2\x04"
                
/* 55 8B EC 8B 45 08 8B ? ? ? ? ? ? 5D C2 04 */
            
}

            
// CTerrorGameRules::GetTeamScore(int, bool)
            
"CTerrorGameRules_GetTeamScore"
            
{
                
"library"    "server"
                "linux"        "@_ZN16CTerrorGameRules12GetTeamScoreEib"
                "windows"    "\x55\x8B\xEC\x8B\x2A\x2A\x85\xC0\x2A\x2A\x33\xC0\x5D\xC2"
                
/* 55 8B EC 8B ? ? 85 C0 ? ? 33 C0 5D C2 */
            
}

            
"CHECK_CODE_Tiebreak"
            
{
                
"library"    "server"
                "linux"        "\xC7\x44\x24\x04\x02\x00\x00\x00\x89\x04\x24\xE8\x2A\x2A\x2A\x2A\xC7\x44\x24\x04\x03\x00\x00\x00\x89\xC7\xA1"
                "windows"    "\x6A\x02\xE8\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x6A\x03\x8B\xF0"
            
}

            
"DIV_CODE_UpdateMarkersReached"
            
{
                
"library"    "server"
                "linux"        "\x89\x04\x24\xE8\x2A\x2A\x2A\x2A\xF3\x0F\x2A\xC6\x8B\x53\x4C\xC1"
                
//"windows"    "\xF3\x0F\x10\x45\xFC\xC1\xF8\x02"
            
}

            
"DIV_CODE_AddSurvivorStats"
            
{
                
"library"    "server"
                "linux"        "\x89\x04\x24\xE8\x2A\x2A\x2A\x2A\xC1\xF8\x02"
                
//"windows"    "\x0F\x57\xC0\xC1\xF8\x02"
            
}

            
"DIV_CODE_GetVersusCompletion"
            
{
                
"library"    "server"
                "linux"        "\xB8\x00\x00\x00\x00\xC1\xFE\x02\x85\xF6\x0F\x48\xF0"
                
//"windows"    "\x33\xC9\xC1\xF8\x02"
            
}
        }
    }

__________________
Spirit_12 is offline
NiTro1
Member
Join Date: Sep 2015
Location: france
Old 06-16-2021 , 10:38   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #64

Quote:
Originally Posted by Spirit_12 View Post
The first one is just a warning and can be ignored.
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.

Last edited by NiTro1; 06-16-2021 at 10:42.
NiTro1 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-16-2021 , 10:39   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #65

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.
__________________
Silvers is offline
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
SpaceWashingMachine
Junior Member
Join Date: Nov 2016
Old 06-16-2021 , 11:17   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #67

Quote:
Originally Posted by NiTro1 View Post
For Linux too there is error :

[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
********************************************* ***
* Unable to load Steam support library. *
* This server will operate in LAN mode only. *
********************************************* ***

L4DToolz : Broken & needs updating : Accelerator Is Working On That
Bugfixes Extension : CCharge::HandleCustomCollision_code : needs an update
Left4fix Extension : needs an update
For the bugfixes extension I went into a hex editor and IDA and I managed to get it to work, I didn't test it all that much but didn't seem to find any problems. (Linux only, have no clue how to do Windows sorry)
Attached Files
File Type: so l4d2_bugfixes.ext.so (30.8 KB, 84 views)
File Type: txt l4d2_bugfixes.txt (2.0 KB, 106 views)
SpaceWashingMachine is offline
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
Old 06-16-2021 , 12:02   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #68

Quote:
Originally Posted by TrueSurvivor View Post
The update reset your video settings, check if v-sync is on.
v-sync was off, but now fps lock is off too. I don't know what it was be...
BRU7US is offline
draxios
New Member
Join Date: Feb 2021
Old 06-16-2021 , 12:10   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #69

Anyone else seeing issues with l4d_tank_control_eq?

Seems like so far the tank is going to normal vanilla selection lottery for any player every tank, disregarding the plugin.

https://github.com/SirPlease/L4D2-Co..._control_eq.sp
draxios is offline
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
Old 06-16-2021 , 13:06   Re: L4D2 Update 2.2.1.3 (2021-06-15)
Reply With Quote #70

Quote:
Originally Posted by SpaceWashingMachine View Post
For the bugfixes extension I went into a hex editor and IDA and I managed to get it to work, I didn't test it all that much but didn't seem to find any problems. (Linux only, have no clue how to do Windows sorry)
Thank you!
BRU7US 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 15:11.


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