• Clients keep crashing
    7 replies, posted
Hello Facepunch, on one of my servers, I have a problem where clients are crashing randomly. If one client crashes, there are 2 or more other clients that crash too. I have no errors serverside. The problem only occurs since 1 week or so. Here's a crashdump: [url]http://dumps.metastruct.uk.to/dumper.py?dump=hl2_151216_crash_2016_1_13T17_56_1C0.mdmp&key=UxLW2M88orGoiRpsrz52A7JVu4i0Qr3oq0lcgJQjFCzy0Uqg6Qwm6wrTnaoUv583tMlvLpEhF17CiL0y3Y-8dWLMzzJMXQfJrAZOIwP7C-kxhc49gIRogzXeVidTg3IhIZCfuEJXWOGGJnhuU0XjkO0etToJjAbiJ_UE9RhwhUg[/url] Does anyone have an idea what I can do to find out what's crashing the game? If you need any further information, I will be happy to supply them. I hope somebody has a solution, Regards, Pascal. [editline]13th January 2016[/editline] Since those crashes occur, the only thing I added is this: [url]https://steamcommunity.com/sharedfiles/filedetails/?id=586299394&searchtext=battlefront[/url] Can those lead to a crash? EDIT: Nope, I removed them and it still appears. [editline]13th January 2016[/editline] There's only this clientside error: [ERROR] addons/egm_entities_swrp/lua/entities/wt_rocketboots_thinker/cl_init.lua:23: Tried to use a NULL entity! 1. IsOnGround - [C]:-1 2. unknown - addons/egm_entities_swrp/lua/entities/wt_rocketboots_thinker/cl_init.lua:23 This is line 23: self.Dead = self.DieTime<CurTime() or self.Player:IsOnGround()
Instead of self.player you could try to call LocalPlayer()
[QUOTE=warlock123;49529188]Instead of self.player you could try to call LocalPlayer()[/QUOTE] I don't think so, because self.Player is not always equal to LocalPlayer() in this context. Also, this error did come up earlier with no crashing issues. Any idea what can lead to those crashes? [editline]14th January 2016[/editline] Seems like the crashes often occur after noclipping.
Check if self.Player is valid before doing all of those things
It's a bit early to be completely sure, but we had no crashes so far. Seems like CustomHQs coding skills were able to do this :v:
A Lua error like that isn't the problem for the crashes. Think of that like a warning saying you're throwing in a NULL entity and it has stopped running at that line number. I recommend using a tool like x64dbg, attach the process, and wait for your client to crash to trigger the exception. Then look through the call stack for anything that seems familiar. That has solved a case of mine similar to this.
[QUOTE=Maravis;49531090]A Lua error like that isn't the problem for the crashes. Think of that like a warning saying you're throwing in a NULL entity and it has stopped running at that line number. I recommend using a tool like x64dbg and wait for your client to crash to trigger the exception. Then look through the call stack for anything that seems familiar. That has solved a case of mine similar to this.[/QUOTE] Yeah I also thought that such a Lua Error can't crash a client. That's why I reverted all the changes, made since the Problem occured and it turned out that the defibrillator from CustomHQ, can crash clients. It is making ragdolls really weird. I really hope those crashes are resolved now. I will pist here again tomorrow, after some testing.
Yeah, the crashes are solved. It was the Defibrillator from CustomHQ, so if anyone is having a similar issue, try removing it.
Sorry, you need to Log In to post a reply to this thread.