Game crashes randomly on Player death in my mod

Discuss all aspects related to modding Zandronum here.
Post Reply
loismustdie555
New User
Posts: 15
Joined: Thu Jan 15, 2015 5:28 pm

Game crashes randomly on Player death in my mod

#1

Post by loismustdie555 » Mon Apr 06, 2015 1:17 pm

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.
Last edited by loismustdie555 on Mon Apr 06, 2015 1:18 pm, edited 1 time in total.

User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

RE: Game crashes randomly on Player death in my mod

#2

Post by Vincent(PDP) » Mon Apr 06, 2015 9:24 pm

Could be one of the scripts executed by the states too.
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

loismustdie555
New User
Posts: 15
Joined: Thu Jan 15, 2015 5:28 pm

RE: Game crashes randomly on Player death in my mod

#3

Post by loismustdie555 » Tue Apr 07, 2015 7:04 pm

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?

Arctangent
 
Posts: 82
Joined: Mon Nov 24, 2014 8:19 am

RE: Game crashes randomly on Player death in my mod

#4

Post by Arctangent » Wed Apr 08, 2015 12:01 am

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.

loismustdie555
New User
Posts: 15
Joined: Thu Jan 15, 2015 5:28 pm

RE: Game crashes randomly on Player death in my mod

#5

Post by loismustdie555 » Wed Apr 08, 2015 12:04 am

So whole player code? Or the gore code?

Post Reply