Raised This Month: $51 Target: $400
 12% 

Anything that is Explosive..


Post New Thread Reply   
 
Thread Tools Display Modes
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 01-02-2014 , 07:26   Re: Anything that is Explosive..
Reply With Quote #11

This has nothing to do with sm or mm. I've had same issue with many mg maps, regardles of sm mm or even es.
https://forums.alliedmods.net/showthread.php?p=649456
http://www.sourcemod.net/plugins.php...tion=&search=1

Or edit/remove the map. Its mostley server settings that can fix this and editing the map.
checkster is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 01-02-2014 , 08:16   Re: Anything that is Explosive..
Reply With Quote #12

Yes, downgrade sm and mms to released version and then we can try to help you. I'm saying that sm and mms is always the problem there but it can be. I've had a lot of problems with dev versions.

I assume this is a CSS server. Have you checked screenlog.0 file for more details about the crash?
__________________
luki1412 is offline
Legitified
Member
Join Date: Jul 2013
Old 01-02-2014 , 08:51   Re: Anything that is Explosive..
Reply With Quote #13

Quote:
Originally Posted by luki1412 View Post
Yes, downgrade sm and mms to released version and then we can try to help you. I'm saying that sm and mms is always the problem there but it can be. I've had a lot of problems with dev versions.

I assume this is a CSS server. Have you checked screenlog.0 file for more details about the crash?
Yes this is a CS:S server, I have not checked that file, where could it be, I'll look for it and update the thread. I've downgraded although it doesn't seem to do anything to prevent the crash at all.

These are being spammed in console on that particular map with -condebug on the command line

Quote:
Bad SetLocalAngles(0.000000,360014.843750,0.00000 0) on spawn_rot
Quote:
DataTable warning: player: Out-of-range value (1500.000000) in SendPropFloat 'm_vecBaseVelocity', clamping.
Legitified is offline
Legitified
Member
Join Date: Jul 2013
Old 01-02-2014 , 08:56   Re: Anything that is Explosive..
Reply With Quote #14

Quote:
Originally Posted by checkster View Post
This has nothing to do with sm or mm. I've had same issue with many mg maps, regardles of sm mm or even es.
https://forums.alliedmods.net/showthread.php?p=649456
http://www.sourcemod.net/plugins.php...tion=&search=1

Or edit/remove the map. Its mostley server settings that can fix this and editing the map.
I don't really know how I would do this looking at those plugins seems like it can have an effect on the map and ruin the whole point of it, and I have never used those so I wouldn't know, but could you please explain?
Legitified is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 01-02-2014 , 09:03   Re: Anything that is Explosive..
Reply With Quote #15

screenlog.0 is in root dir of the server... console is logged in there with a reason, why server crashed
__________________
luki1412 is offline
Legitified
Member
Join Date: Jul 2013
Old 01-02-2014 , 09:23   Re: Anything that is Explosive..
Reply With Quote #16

Quote:
Originally Posted by luki1412 View Post
screenlog.0 is in root dir of the server... console is logged in there with a reason, why server crashed
Actually that file isn't there, it doesn't exist actually. All I have in there is the console log.

Also for entities on the usual map that crashes the server.
Code:
==== Entity List ====
[1] Count: 1327 Classname: .
Total entities: 1327.
Also this is being spammed:
Quote:
Attempted to create unknown entity type info_ladder!
Can't init info_ladder
Also I am NOT using 1.6 maps, they're all for CS:S.

Last edited by Legitified; 01-02-2014 at 09:30.
Legitified is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 01-02-2014 , 11:58   Re: Anything that is Explosive..
Reply With Quote #17

On mvm, pretty often when the bomb is delivered and the explosion kills clients, the server hangs. Likewise, when bots fire rockts/grenades, and they kill players, it hangs.

This has been happening for 1-2 months now, and it's really annoying. On a populated mvm server, it will crash on average, every 3 hours. It seems completely random when it does though.

Just had it happen again now, I was watching the rcon log.. Round triggrerd end, hatch exploded, human player was killed by world - server hangs here. World being the env explosion.

Now I have two nearly identical mvm servers, except one has rtd and supports 8 players, the other just has a custom game mode, that is kind of like hale.. Has a lot of event/damage hooks.

The 8 player version crashes a bit less frequently to stringtable errors. The other just hangs. This is really frustrating. Been over the code like 20 time, and I'm sure there is nothing there that could be causing it... Most of the ontakedamage stuff just hooks players, and if the attacker is a valid, ingame client, it increases or decreases// sets the damage and returns plugin changed... Sometimes it does addconds, if the player is alive, but don't see how that could be a problem.

The only thing I could see here is if it's addconding the on the same frame they die in some really rare cicumstances, but even then.. i doubt it would cause a crash/hang.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 01-02-2014 at 12:05.
friagram is offline
Legitified
Member
Join Date: Jul 2013
Old 01-02-2014 , 14:43   Re: Anything that is Explosive..
Reply With Quote #18

Would switching to Linux help?
Legitified is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 01-02-2014 , 16:09   Re: Anything that is Explosive..
Reply With Quote #19

You can try this; had to debug the issue for a client a while back, essentially any env_explosion was causing issues with a store module so easiest option was to just smite all env_explosions then manually fix the maps that broke because of it. The latter you'll have to handle.
PHP Code:
#pragma semicolon 1

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>

#define PLUGIN_VERSION "1.0.0"

new Handle:g_hMethod INVALID_HANDLE;

public 
Plugin:myinfo =
{
    
name "Anti Env Explosions"
    
author "Panduh (AlliedMods: thetwistedpanda)"
    
description "Potentially assists in resolving crashes relating to env_explosion entities."
    
version PLUGIN_VERSION
    
url "http://forums.alliedmods.net"
}

public 
OnPluginStart()
{
    
g_hMethod CreateConVar("env_explosions_method""0""Determines method for handling env_explosion entities. (0 = Nullify Effect, 1 = Kill in OnEntityCreated)"FCVAR_NONEtrue0.0true1.0);
    
AutoExecConfig(true"env_explosions");
}

public 
OnEntityCreated(entity, const String:classname[])
{
    if(
entity 0)
    {
        if(
StrEqual(classname"env_explosion"))
            
CreateTimer(0.0Timer_OnEntityCreatedEntIndexToEntRef(entity));
    }
}

public 
Action:Timer_OnEntityCreated(Handle:ownerany:ref)
{
    new 
entity EntRefToEntIndex(ref);
    if(
entity != INVALID_ENT_REFERENCE && IsValidEdict(entity))
    {
        if(
GetConVarBool(g_hMethod))
            
AcceptEntityInput(entity"Kill");
        else
        {
            
SetEntProp(entityProp_Data"m_iMagnitude"0);
            
SetEntProp(entityProp_Data"m_iRadiusOverride"0);
            
SetEntPropFloat(entityProp_Data"m_flDamageForce"0.0);
            
SetEntProp(entityProp_Data"m_nNextThinkTick", -1);
        }
    }

__________________
thetwistedpanda is offline
Legitified
Member
Join Date: Jul 2013
Old 01-02-2014 , 20:07   Re: Anything that is Explosive..
Reply With Quote #20

Quote:
Originally Posted by thetwistedpanda View Post
You can try this; had to debug the issue for a client a while back, essentially any env_explosion was causing issues with a store module so easiest option was to just smite all env_explosions then manually fix the maps that broke because of it. The latter you'll have to handle.
PHP Code:
#pragma semicolon 1

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>

#define PLUGIN_VERSION "1.0.0"

new Handle:g_hMethod INVALID_HANDLE;

public 
Plugin:myinfo =
{
    
name "Anti Env Explosions"
    
author "Panduh (AlliedMods: thetwistedpanda)"
    
description "Potentially assists in resolving crashes relating to env_explosion entities."
    
version PLUGIN_VERSION
    
url "http://forums.alliedmods.net"
}

public 
OnPluginStart()
{
    
g_hMethod CreateConVar("env_explosions_method""0""Determines method for handling env_explosion entities. (0 = Nullify Effect, 1 = Kill in OnEntityCreated)"FCVAR_NONEtrue0.0true1.0);
    
AutoExecConfig(true"env_explosions");
}

public 
OnEntityCreated(entity, const String:classname[])
{
    if(
entity 0)
    {
        if(
StrEqual(classname"env_explosion"))
            
CreateTimer(0.0Timer_OnEntityCreatedEntIndexToEntRef(entity));
    }
}

public 
Action:Timer_OnEntityCreated(Handle:ownerany:ref)
{
    new 
entity EntRefToEntIndex(ref);
    if(
entity != INVALID_ENT_REFERENCE && IsValidEdict(entity))
    {
        if(
GetConVarBool(g_hMethod))
            
AcceptEntityInput(entity"Kill");
        else
        {
            
SetEntProp(entityProp_Data"m_iMagnitude"0);
            
SetEntProp(entityProp_Data"m_iRadiusOverride"0);
            
SetEntPropFloat(entityProp_Data"m_flDamageForce"0.0);
            
SetEntProp(entityProp_Data"m_nNextThinkTick", -1);
        }
    }

Ok thank you I'll report back if it helps.
Legitified 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 03:24.


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