Raised This Month: $ Target: $400
 0% 

Sourcemod Plug-in can freeze L4D2 server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MarshalZCC
Senior Member
Join Date: Feb 2010
Location: Alberta, Canada
Old 11-18-2010 , 12:02   Sourcemod Plug-in can freeze L4D2 server?
Reply With Quote #1

I've heard reports (mostly from Team Fortress or other OB games) of administrators experiencing server freezes. There is no crash - the game simply freezes and requires a manual reboot.

After coding a bunch of updates to the plug-ins I run on my servers, I've started experiencing these occasional freezes. Now my previous version of plug-ins, which I still run on an alternate server, don't cause any problems at all. It seems some sort of code change I've made has caused my main server to freeze on occasion. Do any sourcemod gurus know whether this is even possible, and if so where I should be looking in my code to diagnose this? Thanks.
MarshalZCC is offline
ReVide
Junior Member
Join Date: Sep 2011
Old 09-20-2011 , 14:09   Re: Sourcemod Plug-in can freeze L4D2 server?
Reply With Quote #2

Sorry that i reply to such an old Theard, but i have exact the same Problem, my CS:S Server doesnt Crash, it simply freezes BUT after a short time 20 secs for normal the server continues, i'v checked the root is fine, so its something with Sourcemod or its plugins.

Can it be that this is the thing what freeze the server?: (plugin):
Code:
new Float:finalvec[3];
        finalvec[0]=GetEntDataFloat(client,FindSendPropOffs("CBasePlayer","m_vecVelocity[0]"))*GetConVarFloat(hPush);
        finalvec[1]=GetEntDataFloat(client,FindSendPropOffs("CBasePlayer","m_vecVelocity[1]"))*GetConVarFloat(hPush);
        finalvec[2]=GetConVarFloat(hHeight)*50.0;
        SetEntDataVector(client,FindSendPropOffs("CBasePlayer","m_vecBaseVelocity"),finalvec,true);
Or Porb. this:
Code:
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)
{
    if (IsPlayerAlive(client))
    {
        if(bhopstatus[client] == 1){
            if (buttons & IN_JUMP)
            {
                if (!(GetEntityFlags(client) & FL_ONGROUND))
                {
                    buttons &= ~IN_JUMP;
                }
            }
        }
    }
    return Plugin_Continue;
}
Can it be that the Server freezes somehow, i have the latest stable Version of sourcemod and these Plugins:
Code:
 "MapChooser" (1.3.8) by AlliedModders LLC
 "RandomCycle" (1.3.8) by AlliedModders LLC
 "Rock The Vote" (1.3.8) by AlliedModders LLC
 "Basic Info Triggers" (1.4.0-dev) by AlliedModders LLC
 "Say Sounds (including Hybrid Edition)" (4.0.3) by Hell Phoenix|Naris|FernFerret|Uberman|psychonic|edgecom|woody|Miraculix|gH0sTy
 "StammVips" (1.0) by ReVide
 "Sound Commands" (1.4.0-dev) by AlliedModders LLC
 "Admin Help" (1.4.0-dev) by AlliedModders LLC
 "Nextmap" (1.4.0-dev) by AlliedModders LLC
 "Admin Menu" (1.4.0-dev) by AlliedModders LLC
 "Basic Comm Control" (1.4.0-dev) by AlliedModders LLC
 "Noblock players and Nades" (2.0) by Originally by Tony G. Fixed by Rogue
 "New Plugin" (1.0) by Unknown <<-- Plugin code above (parts) by ReVide :D
 "Stamm" (1.32) by Popoklopsi
 "Player Commands" (1.4.0-dev) by AlliedModders LLC
To see more, type "sm plugins 22"
 "Basic Commands" (1.4.0-dev) by AlliedModders LLC
 "SM Super Menu" (0.5) by pRED*
 "Admin List" (1.2) by Fredd
 "Admin File Reader" (1.4.0-dev) by AlliedModders LLC
 "Basic Chat" (1.4.0-dev) by AlliedModders LLC
 "Client Preferences" (1.4.0-dev) by AlliedModders LLC
 "SM Super Admin" (0.70) by TechKnow & Pred
 "Reserved Slots" (1.4.0-dev) by AlliedModders LLC
 "Vote Mute/Vote Silence" (1.0.105P) by <eVa>Dog/AlliedModders LLC
 "Map Nominations" (1.3.8) by AlliedModders LLC
 "RandMessages" (1.0) by ReVide
 "Fun Commands" (1.4.0-dev) by AlliedModders LLC
 "Basic Votes" (1.4.0-dev) by AlliedModders LLC
 "Basic Ban Commands" (1.4.0-dev) by AlliedModders LLC
 "Fun Votes" (1.4.0-dev) by AlliedModders LLC
 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
T
Can it be that any Plugin listed above can cause freezing server? Please help, thanks.

Last edited by ReVide; 09-21-2011 at 00:51.
ReVide is offline
Reply



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 19:12.


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