I have found a plugin conflict with
[L4D2] Gas Cans by disawar1.
After many tests, I noticed that on
c1m4_atrium map, when I enable the listen mode (
sm_input_listen), right after pressing the elevator button the server crashes.
Here is the
crash log.
I extracted the part from
disawar1 code that triggers the crash and made a short plugin to test it.
To reproduce: Go to
c1m4_atrium map, use
!input_listen and then
!testcrash.
Just reporting in case someone has the same problem.
Code snippet for testing below:
Spoiler
PHP Code:
#include <sourcemod>
#include <sdktools>
#pragma semicolon 1
#pragma newdecls required
public void OnPluginStart() { RegAdminCmd("sm_testcrash", Cmd, ADMFLAG_ROOT); }
public Action Cmd(int client, int args)
{
int entity = -1;
while ((entity = FindEntityByClassname(entity, "*")) != -1)
{
char name[17];
GetEntPropString(entity, Prop_Data, "m_iName", name, sizeof(name));
if (StrEqual("progress_display", name))
{
SetVariantInt(1);
AcceptEntityInput(entity, "SetTotalItems");
break;
}
}
}
EDIT: Fixed by
Silvers in newer versions.
__________________