Page 1 of 1

Game crashes randomly on Player death in my mod

Posted: Mon Apr 06, 2015 1:17 pm
by loismustdie555
I'm working on converting a (currently private WIP) brutal doom sub mod called Project Brutality (I've posted loads of gameplay on YouTube if anyone wants to take a look, it's got tons and tons of new features) that was intended for GZDoom 2.1 and up only to a Zandronum 2.0 mod.

I have succeeded nearly completely, but there's a gamebreaking bug where randomly (about 10% to 15% of the time or so) the game will completely crash and give no error, and just freeze the server and everyone's client. The log has no errors whatsoever. And in my eyes this is absolutely unnacceptable

This issue is Zandronum specific (Multiplayer and SinglePlayer) and I need some people who are good with Zandronum to help out.

Here's the player's DECORATE script/lump Death states code. http://pastebin.com/ndPnEV5A
Is there any issues anyone sees?

Any help would be appreciated.
And if any other information is needed just let me know.

RE: Game crashes randomly on Player death in my mod

Posted: Mon Apr 06, 2015 9:24 pm
by Vincent(PDP)
Could be one of the scripts executed by the states too.

RE: Game crashes randomly on Player death in my mod

Posted: Tue Apr 07, 2015 7:04 pm
by loismustdie555
Vincent(PDP) wrote: Could be one of the scripts executed by the states too.
ACS Script 477 simply triggers ACS script 401 which just throws the player into the third person camera.

Is there any other explanation?

RE: Game crashes randomly on Player death in my mod

Posted: Wed Apr 08, 2015 12:01 am
by Arctangent
The code is taking revenge on you for making it ridiculously messy and is doing so by strangling servers.

More seriously, though, it could be caused by one of the million things the player spawns on death. You might want to post those, too.

RE: Game crashes randomly on Player death in my mod

Posted: Wed Apr 08, 2015 12:04 am
by loismustdie555
So whole player code? Or the gore code?