• Ragdoll/crazy physics server crashes
    12 replies, posted
Hi, I've been struggling with the following server crashes for the last week: [quote]L 03/07/2014 - 01:02:58: [ULX] Lennon to admins: I told poor gentlemen to get away, his own fault. Crazy physics on [376][prop_physics] [Ang:-nan,nan,180.000000] [Pos:-nan,-nan,nan] - removing ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod"[/quote] [quote]L 03/07/2014 - 02:05:39: [ULX] Mandhond to admins: Kimber just RDM'ed as well Crazy physics on [328][prop_physics] [Ang:-nan,nan,180.000000] [Pos:-nan,-nan,nan] - removing ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod"[/quote] I followed the instructions I found on a TTT topic (link: [url]http://www.zombiemaster.org/smf/index.php?topic=13234.0[/url] ), quote: [quote] I currently have three commands to prevent the ragdolls from crashing and one script. The script let alone should do the job but all this it isn't normal behavior at all. Commands I have running: [code]sv_removecrazyphysics 0 cl_ragdoll_collide 0 ttt_ragdoll_collide 0 [/code] The script I have on the server currently(I have tried at least 3 to 4 versions of this script): [code]local freezespeed = 300 local removespeed = 3000 function corpse_identify(corpse) if corpse then local ply = player.GetByUniqueID(corpse.uqid) ply:SetNWBool("body_found", true) CORPSE.SetFound(corpse, true) end end hook.Add("Think","AMB_CrashCatcher",function() for k, ent in pairs(ents.FindByClass("prop_ragdoll")) do if IsValid(ent) then if ent.player_ragdoll then local velo = ent:GetVelocity( ):Length() local ply = false if IsValid(ent:GetOwner()) then ply = ent:GetOwner() end if velo >= removespeed then ent:Remove() ServerLog("[!CRASHCATCHER!] Caught ragdoll entity moving too fast ("..velo.."), removing offending ragdoll entity from world.\n") local messageToShow = "[CRASH PREVENTION] A ragdoll was removed to prevent server crashing. It was " if CORPSE.GetFound(ent, true) then PrintMessage(HUD_PRINTTALK, messageToShow .. "an unID'd body.") corpse_identify(ent); else PrintMessage(HUD_PRINTTALK, messageToShow .. ent:GetNWString("nick") .. "'s body.") end elseif velo >= freezespeed then AMB_KillVelocity(ent) ServerLog("[!CRASHCATCHER!] Caught ragdoll entity moving too fast ("..velo.."), disabling motion. \n") end end end end end) function AMB_SetSubPhysMotionEnabled(ent, enable) if not IsValid(ent) then return end ent:SetVelocity(vector_origin) if !(enable) then ent:SetColor(Color(255,0,255,255)) else ent:SetColor(Color(255,255,255,255)) end if !(enable) then if IsValid(ent:GetOwner()) then ent:GetOwner():GetWeapon("weapon_zm_carry"):Reset(false) end --ent:SetPos(ent:GetPos()+Vector(0,0,50)) end for i=0, ent:GetPhysicsObjectCount()-1 do local subphys = ent:GetPhysicsObjectNum(i) if IsValid(subphys) then subphys:EnableMotion(enable) if !(enable) then subphys:SetVelocity(vector_origin) subphys:SetMass(subphys:GetMass()*20) end if enable then subphys:SetMass(subphys:GetMass()/20) subphys:Wake() end end end ent:SetVelocity(vector_origin) end function AMB_KillVelocity(ent) AMB_SetSubPhysMotionEnabled(ent, false) timer.Simple(3, function() AMB_SetSubPhysMotionEnabled(ent, true) end) end [/code] The error I get when the server crashes: [code]Ignoring bogus angles (-1.#IND00,1.#QNAN0,180.000000) from vphysics! (entity prop_physics)[/code] [/quote] Now, after having said suggested changes, both settings & addon from the quote/topic above, crashes has decreased, but I'm getting these now, and it sounds like this and the entire thing is more your domain than scripters, and I failed to find much data at all on google, so I figured I'd report it, hopefully/probably this is a dupe of an existing report, but better reporting twice, or a hundred times than never. [quote]Clamping SetLocalVelocity(215.505051,725.792542,-8370.074219) on gmod_hands (1148) ServerLog: 03:12.31 - KILL: <something/world> killed Hiro [innocent] L 03/09/2014 - 01:03:24: 03:12.31 - KILL: <something/world> killed Hiro [innocent] Entity [0][worldspawn] bolargh ServerLog: [!CRASHCATCHER!] Caught ragdoll entity moving too fast (2221.1423339844), disabling motion. L 03/09/2014 - 01:03:24: [!CRASHCATCHER!] Caught ragdoll entity moving too fast (2221.1423339844), disabling motion. ServerLog: [!CRASHCATCHER!] Caught ragdoll entity moving too fast (768.14251708984), disabling motion. L 03/09/2014 - 01:03:27: [!CRASHCATCHER!] Caught ragdoll entity moving too fast (768.14251708984), disabling motion. ServerLog: [!CRASHCATCHER!] Caught ragdoll entity moving too fast (345.93377685547), disabling motion. L 03/09/2014 - 01:03:31: [!CRASHCATCHER!] Caught ragdoll entity moving too fast (345.93377685547), disabling motion. Ignoring bogus angles (-nan,nan,180.000000) from vphysics! (entity prop_physics) Thuggy: KOS HIRO L 03/09/2014 - 01:03:33: "Thuggy<110><STEAM_0:0:11738054><Team>" say "KOS HIRO" player/arctic.mdl (2) at nan nan nan in contact with *76 (2) at 4.1 18.0 56.9, crash. dist = -1, minq = 99999999999999997704951326524533662844684271992415000612999597473199345218078991130326129448151154688.000000 L 03/09/2014 - 01:03:34: Engine error: player/arctic.mdl (2) at nan nan nan in contact with *76 (2) at 4.1 18.0 56.9, crash. dist = -1, minq = 999999999999999977049513265245336628446842719924150006129995974731993452180789911303261294 48151154688.000000 player/arctic.mdl (2) at nan nan nan in contact with *76 (2) at 4.1 18.0 56.9, crash. dist = -1, minq = 99999999999999997704951326524533662844684271992415000612999597473199345218078991130326129448151154688.000000 ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod" Initializing Steam libraries for secure Internet server ...[/quote]
Holy shit did this genuinely never get fixed
Yeah, I tried to revise the script to just remove it if it's repetitively frozen, but no script can fix the issue. I've tried so many different methods and there's no sure-fire way of solving the issue. [editline]8th March 2014[/editline] There's just nothing anyone can do until Garry/_Killburn can fix the issue.
[quote] Ignoring bogus angles (-nan,nan,180.000000) from vphysics! (entity prop_physics) models/props_wasteland/kitchen_shelf001a.mdl (2) at nan nan nan in contact with models/props_wasteland/kitchen_shelf001a.mdl (2) at 35.5 -2.2 66.0, crash. dist = -1, minq = 999999999999999977049513265245336628446842719924150006129995 97473199345218078991130326129448151154688.000000 L 03/09/2014 - 03:01:02: Engine error: models/props_wasteland/kitchen_shelf001a.mdl (2) at nan nan nan in contact with models/props_wasteland/kitchen_shelf001a.mdl (2) at 35.5 -2.2 66.0, crash. dist = -1, minq = 999999999999999977049 51326524533662844684271992415000612999597473199345218078991130326129448151154688.000000 models/props_wasteland/kitchen_shelf001a.mdl (2) at nan nan nan in contact with models/props_wasteland/kitchen_shelf001a.mdl (2) at 35.5 -2.2 66.0, crash. dist = -1, minq = 999999999999999977049513265245336628446842719924150006129995 97473199345218078991130326129448151154688.000000 ConVarRef mat_dxlevel doesn't point to an existing ConVar [/quote] [quote] ServerLog: Round ended. L 03/09/2014 - 04:12:49: Round ended. ServerLog: Result: innocent win. L 03/09/2014 - 04:12:49: Result: innocent win. Bad vphysics swap for prop_ragdoll Overwriting physics object for prop_ragdoll Ignoring bogus angles (-nan,nan,180.000000) from vphysics! (entity prop_physics) player/leet.mdl (2) at -nan -nan -nan in contact with player/leet.mdl (2) at -nan -nan -nan, crash. dist = -1, minq = 99999999999999997704951326524533662844684271992415000612999597473199345218078991130326129448151154688.000000 L 03/09/2014 - 04:12:56: Engine error: player/leet.mdl (2) at -nan -nan -nan in contact with player/leet.mdl (2) at -nan -nan -nan, crash. dist = -1, minq = 9999999999999999770495132652453366284468427199241500061299959747319934521807 8991130326129448151154688.000000 player/leet.mdl (2) at -nan -nan -nan in contact with player/leet.mdl (2) at -nan -nan -nan, crash. dist = -1, minq = 99999999999999997704951326524533662844684271992415000612999597473199345218078991130326129448151154688.000000 ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod" [/quote] It's becoming so common I'm suspecting possible exploit to provoke it might exist, any way to give this some priority?
Garry isn't working on GMod at the moment, so no way of seeing this fixed soon.
Well what to do then? Checking my console logs I've had 4 crashes the last 3 hours on random maps (ran a quick log search now for map name prior to crash, it has no pattern to be cause.) And for instance, entire yesterday went by with not one crash, today we had 8 where 4 of them was within the past 3 hours. It's too weird to not have some kind of pattern, whether be intentional or unintentional exploit it must be bound to what some player is doing. Any tips is appreciated as I don't really see a future hosting servers on an unstable game. Hurts my community.
There really isn't anything you can do until it's fixed.
Garry's GMod touchup skills are getting rusty.
[QUOTE=Phoenixf129;44177287]Garry's GMod touchup skills are getting [u]rust[/u]y.[/QUOTE] I see what you did there. Any chance to get an official response to this? Because I wont keep the servers up if they crash randomly.
This problem has come up many times before. No response from Garry either since he's not even working on GMod atm.
[QUOTE=code_gs;44192098]This problem has come up many times before. No response from Garry either since he's not even working on GMod atm.[/QUOTE] This is unfixable due to the fact that we don't have access to vphysics.dll sources.
[QUOTE=Robotboy655;44192200]This is unfixable due to the fact that we don't have access to vphysics.dll sources.[/QUOTE] Yeah, Killburn told me. Is there a reason why you guys can't have it?
[QUOTE=code_gs;44192295]Yeah, Killburn told me. Is there a reason why you guys can't have it?[/QUOTE] Probably licensing issues or something.
Sorry, you need to Log In to post a reply to this thread.