Knuckle Cracker

Creeper World 4 => Support for Creeper World 4 => Topic started by: Vertu on May 27, 2022, 12:17:29 AM

Title: Inconsistent crash from destroyed units.
Post by: Vertu on May 27, 2022, 12:17:29 AM
Sorry to be a bother again but after hours of testing, this actual crash is something I can't figure out how to solve though I believe I know the cause of it.
In the event too many V-Rods explode in a chain reaction the game crashes. I tried reducing the amount of effects created on destruction (which would cause massive lag normally) but to no benefit (consider it becoming 1/3 the amount of effects).

Now although this is what I believe to be happening there are some issues.

I would appreciate if the cause of this crash can be identified.
I have spent hours testing what causes  the crash and can conclude, it is inconsistent but easily replicated.
Title: Re: Inconsistent crash from destroyed units.
Post by: GoodMorning on May 27, 2022, 11:32:28 AM
A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
* C:/Users/erykg/AppData/Local/Temp/Knuckle Cracker/Creeper World 4/Crashes


You are about to be asked for a copy of this file, if knu decides to take more time away from other things to look at this. Probably polite to be proactive about including that.
Title: Re: Inconsistent crash from destroyed units.
Post by: Vertu on May 29, 2022, 10:37:09 PM
Quote from: GoodMorning on May 27, 2022, 11:32:28 AM
A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
* C:/Users/erykg/AppData/Local/Temp/Knuckle Cracker/Creeper World 4/Crashes


You are about to be asked for a copy of this file, if knu decides to take more time away from other things to look at this. Probably polite to be proactive about including that.
Thanks.
I assume it was just quantity of things breaking the game, easy to fix in-game, but its inconsistency makes me wonder of otherwise.
I am very mindful of how it takes time to look at this kind of stuff from players. I would be more than happy to wait with my utmost patients for something minor like this.
Though I can't provide the Crash.dmp due to unsupported file type.
Title: Re: Inconsistent crash from destroyed units.
Post by: Builder17 on May 31, 2022, 10:07:36 AM
Quote from: Vertu on May 29, 2022, 10:37:09 PM
Though I can't provide the Crash.dmp due to unsupported file type.

Could try zipping it, but no idea if it's too big of a file though.
Title: Re: Inconsistent crash from destroyed units.
Post by: Vertu on May 31, 2022, 03:57:35 PM
Quote from: Builder17 on May 31, 2022, 10:07:36 AM
Quote from: Vertu on May 29, 2022, 10:37:09 PM
Though I can't provide the Crash.dmp due to unsupported file type.

Could try zipping it, but no idea if it's too big of a file though.
Good idea.
Title: Re: Inconsistent crash from destroyed units.
Post by: The Apocalyptic on June 09, 2022, 08:19:18 PM
In the meantime, a workaround is that you can warn players in advance about the crash and advise them to NEVER create rows of V-rods in excess of 4 structures without at least 1 tower-width in between.

Not an issue with my play style for using V-Grid in custom maps, though.
Title: Re: Inconsistent crash from destroyed units.
Post by: Vertu on July 11, 2022, 03:00:33 PM
The cause of this crash has been identified and a fix will be implemented.
http://knucklecracker.com/forums/index.php?topic=41409.0