View Single Post
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 02-22-2015 , 06:27   Re: [L4D] Infected No Block On Ladder
Reply With Quote #2

If I'm not wrong, then this plugin can cause the physical mayhem bug. Thats because you're changing an entities collision group after it spawned.
To fix this bug the server needs to be restarted. Maybe its fixed in l4d, but I doubt it.

Code:
public OnStartTouch(const String:output[], ent, client, Float:delay)
{
    if (client)
        SetEntProp(client, Prop_Data, "m_CollisionGroup", 2);
    if (GetConVarInt(ShowNoBlock))
        PrintToChat(client, "Start Touch!");
}

public OnEndTouch(const String:output[], ent, client, Float:delay)
{
    if (client && IsClientInGame(client))
        SetEntProp(client, Prop_Data, "m_CollisionGroup", 6);
    if (GetConVarInt(ShowNoBlock))
        PrintToChat(client, "End Touch!");
}
Infos about the physical mayhem bug:
https://forums.alliedmods.net/showthread.php?t=99819
http://forums.steampowered.com/forum....php?t=1386759
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]

Last edited by Chanz; 02-22-2015 at 06:29.
Chanz is offline