Knuckle Cracker

Creeper World 4 => Farsite Colonies => Topic started by: AutoPost on July 10, 2022, 05:42:11 PM

Title: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: AutoPost on July 10, 2022, 05:42:11 PM
This topic is for discussion of map #3306: VPAC Advaced Defenses
(https://knucklecracker.com/creeperworld4/queryMaps.php?query=thumbnailid&id=3306)

Author: Vertu
Size: 256x160
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Vertu on July 10, 2022, 05:42:57 PM
There used to be Fighters on this map.
They where too effective.
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: BuffDove on July 10, 2022, 06:46:02 PM
This map caused my first ever crash in cw4. About 35 minutes in. Very sad, as it was a fun map. No autosave...
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Smiteudown on July 10, 2022, 07:20:36 PM
Quote from: BuffDove on July 10, 2022, 06:46:02 PM
This map caused my first ever crash in cw4. About 35 minutes in. Very sad, as it was a fun map. No autosave...
same
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Vertu on July 10, 2022, 07:47:52 PM
Please tell me how. Was it when the V-Reactor exploded?
Specifying when it crashed is very important.
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Hatsee on July 10, 2022, 09:08:57 PM
18 minutes in, pretty much done, crashed.

Second a nuke hit, maybe don't make the stupid things white out the screen?
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Vertu on July 10, 2022, 09:25:06 PM
Quote from: Hatsee on July 10, 2022, 09:08:57 PM
18 minutes in, pretty much done, crashed.

Second a nuke hit, maybe don't make the stupid things white out the screen?

That's a start but more is needed, did it land onto a V-Reactor or some other volatile thing like V-Rods? Or did it land on a corner, or more specifically, did it land on a bunch of Creeper units like Emitters?

Crashes are a very well known thing right now and I have made a thread about it asking for help. Until a conclusion is made there the information you all provide to me will give me details and insight to how these crashes behave and most likely to happen. I understand that it can be very sudden so you can easily have no idea how it happened, so please look out for when a nuke lands and a V-Reactor is about to explode along with V-Rods.
http://knucklecracker.com/forums/index.php?topic=41409.0

If the crashes are far too frequent and my run was somehow a cherry picking scenario I will upload a separate edition of the map.
The SML (Nuke) has proven to not be a complete hazard so it will stay, the V-Reactor however I will force it to be unable to cause shrapnel. wait... wait wait wait.
*Looks at V-Reactor code*
I think I know the problem now but theoretically it shouldn't be an issue. What has caused Stack Overflow crashes before was in my last map which had up to 6 SMLs firing Strategic Missiles to nuke you with. When the missiles hit the same area, the explosion would damage the released shrapnel and cause the crash. This was solved by having the missile not be able to damage the shrapnel.
The V-Reactor also has the ability to do this I just now looked at but the SML caused crashes doing this when multiple missiles land in the same area, the V-Reactor is alone on this map, not clumped.
This means I can probably fix this depending on how frequent it is. So it would be very helpful if you can specify when the crash happens to the exact moment, with great interest for when you destroy a V-Reactor.

Sorry for the crashes.
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: BuffDove on July 10, 2022, 09:42:30 PM
I had 1 v reactor destroyed before it crashed. Those events were a couple of minutes apart though. So for mine, I'm not sure it was related. I'll start another run with some more manual saves and try to recreate it.
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Vertu on July 10, 2022, 10:23:57 PM
Quote from: BuffDove on July 10, 2022, 09:42:30 PM
I had 1 v reactor destroyed before it crashed. Those events were a couple of minutes apart though. So for mine, I'm not sure it was related. I'll start another run with some more manual saves and try to recreate it.
Yeah. sadly the kind of crashes I am aware of are hard crashes. So auto saving will be impossible as the game suddenly experiences a lethal error and has to force close.
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: BuffDove on July 10, 2022, 10:34:05 PM
Made it through on the second attempt with no crashes. Weird. As you and others have said, It must be when a specific unit is targeted by some weapon. Great level though!
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Hatsee on July 11, 2022, 12:18:45 AM
Alright I see it, they nuked on the V reactor because that's where the creeper was highest.  So those things are breaking when combined? 

Also with the flying thing that shoots the circle of creeper deleting it seems to break the advanced emitters as they don't gain any bonus output after it's done.  I forget the name of it, but it's the only one that does that circle clearing.   Your names are too odd, HPPC or MBBP I don't know.
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Vertu on July 11, 2022, 01:17:46 AM
Quote from: Hatsee on July 11, 2022, 12:18:45 AM
Alright I see it, they nuked on the V reactor because that's where the creeper was highest.  So those things are breaking when combined? 

Also with the flying thing that shoots the circle of creeper deleting it seems to break the advanced emitters as they don't gain any bonus output after it's done.  I forget the name of it, but it's the only one that does that circle clearing.   Your names are too odd, HPPC or MBBP I don't know.
That would 100% qualify in how crashes happened with the SML before I fixed it.
I think you have confirmed my suspicions though thankfully it should not be a big deal as it is a very specific scenario but if the normal person tends to use Flow Controllers onto V-Reactors and attract the SML to nuke the V-Reactor while it is still up, I will still fix it and release an updated version of the map.

This may also solve the issues I have been having on another map which has been paused until a solution to Stack Overflows is found (and I made this map to vent out my frustrations). If the V-Reactor is causing the crashes the same way the SML did in my last map before fixing, then it is a very fixable crash and you can expect a swift next map tomor- *ahem*, today.

Thank you everyone for informing me of this. I believe this is case closed.
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Hatsee on July 11, 2022, 02:14:53 AM
Hmm, now it crashed when they nuked the corner near where you start with nothing else nearby.

Oh well.
Title: Re: Custom Map #3306: VPAC Advaced Defenses. By: Vertu
Post by: Vertu on July 11, 2022, 02:46:34 AM
Quote from: Hatsee on July 11, 2022, 02:14:53 AM
Hmm, now it crashed when they nuked the corner near where you start with nothing else nearby.

Oh well.
That I can't fix until I get more information from my forum post of Stack Overflow crashes. At least that type of crash happening is very, very rare, at least 1/100 chances at most frequent.
Expect this type of crash to be solved in any future map of mine. This includes V-Rods, V-Reactors, and literally all of my units. Not just the Strategic Missile Launcher.