View Single Post
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 06-09-2020 , 04:09   Re: [L4D & L4D2] Left 4 DHooks Direct (1.16) [05-Jun-2020]
Reply With Quote #109

Quote:
Originally Posted by fbef0102 View Post
hey silvers, I found there might be a wrong offset.
in gamedata/left4dhooks.l4d2.txt
PHP Code:
            "m_PendingMobCount"
            
{
                
"windows"    "528"
                "linux"        "132"
            

but in here l4d2_horde_equaliser.sp
line 167
it writes 528 in linux
PHP Code:
SetPendingMobCount(count)
{
    return 
StoreToAddress(pZombieManager Address:528countNumberType_Int32);

I wonder which one is right
offset 528 looks to be correct for linux, i think silvers forgot about padding.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline