SirPlease / L4D2-Competitive-Rework

Just refreshing and optimizing the core files a bit, eh?
GNU General Public License v3.0
242 stars 130 forks source link

Server crashes #19

Closed LuckyServ closed 5 years ago

LuckyServ commented 5 years ago

I will post here crash logs as they happen.

Server files: Here

LuckyServ commented 5 years ago

SetRes

Config: Promod Elite 1.1 Crash log: https://crash.limetech.org/6lnszcku54y7

Electr0 commented 5 years ago

try recompile all these plugins with 1.9 compilier (if they used) : double_getup l4d2_sound_manipulation l4d2_melee_shenanigans l4d2_nosey_parker si_fire_immunity l4d2_slowdown_control l4d2_melee_fix

i was have same crash

SirPlease commented 5 years ago

According to A1m, as he reported it to me through Steam, The issue is related to l4d2_melee_fix. I can't currently check if it's just Promod's elite version, but he provided me with a fix for it made by sheo: http://pastebin.com/9YcpGbym

I'll look into it when I get home.

LuckyServ commented 5 years ago

Config: NextMod (based on Zonemod 1.9.3) https://crash.limetech.org/qmz6cvqxva4d

Electr0 commented 5 years ago

LuckyServ,

https://github.com/Attano/Left4Downtown2/blob/944994f916617201680c100d372c1074c5f6ae42/extension.cpp#L236

Detours::TerrorWeaponHit::OnTerrorWeaponHit =>g_pFwdOnTerrorWeaponHit => L4D2_OnEntityShoved

its around this stuff used this native L4D2_OnEntityShoved, but may be problem in Left4Downtown2, personaly i am use this fork https://github.com/Accelerator74/Left4Downtown2 (but recompiled on ubuntu 14.04) try it

Also list zonemod plugins what use L4D2_OnEntityShoved 324342342

LuckyServ commented 5 years ago

I've recompiled the plugins you listed in your second comment with sourcemod 1.9 + replaced them in all the configs and I'm now using Accelerator's version of Left4Downtown2. Thank you for the suggestions Electr0, we'll see if any more crashes happen.

SirPlease commented 5 years ago

I'll mark this as resolved for now, thank you very much for your elaborate comment @Electr0

LuckyServ commented 5 years ago

https://crash.limetech.org/fsorjrfnmboj

Electr0 commented 5 years ago

https://crash.limetech.org/fsorjrfnmboj engine_srv.so!Sys_Error_Internal(bool, char const, char) + 0x119

can you search in console log some errors before crash i think it may be CLagCompensationManager::StartLagCompensation with NULL CUserCmd!!!\n

this also in sdk:

const CUserCmd *cmd = player->GetCurrentUserCommand(); 
if ( !cmd )
{
        // This can hit if m_hActiveWeapon incorrectly gets set to a weapon not actually owned by the local player 
        // (since lag comp asks for the GetPlayerOwner() which will have m_pCurrentCommand == NULL, 
        //  not the player currently executing a CUserCmd).
        Error( "CLagCompensationManager::StartLagCompensation with NULL CUserCmd!!!\n" );
}
LuckyServ commented 5 years ago

Yes, it is this:

CLagCompensationManager::StartLagCompensation with NULL CUserCmd!!!

It seems to happen shortly after match load on diescraper redux.

Electr0 commented 5 years ago

i am was have this issue on fun servers using this plugin https://forums.alliedmods.net/showthread.php?p=1548627 before rewrite this plugin, crashes was because this shit was not have checks what prop they equip to player after switch weapons, this crash easy repduce just equip non weapon prop to player and they crash server, i don't know what in your case