Page 1 of 1

[1.1.55] Crashes using "manual" type of equipment shape

Posted: Sun Mar 06, 2022 8:36 am
by _CodeGreen
I've made a mod that I haven't uploaded to the mod portal yet called "Tetris Armor," where the end goal (of making it) was to make crafting equipment give you a random tetromino in a random orientation. To accomplish this, I've generated an equipment prototype for every configuration of shape and orientation using the "manual" type in the shape properties. I could use "full" for a couple of the pieces, but for testing purposes I've just generated them all in the same way.

I've experienced numerous instantaneous crashes, either from placing equipment into the armor, or taking equipment out. Almost all of the crashes I've experienced have been caused by any of these actions:
- ctrl clicking several equipment into the armor at once
- shift clicking equipment one at a time
- clicking on each one and placing them into the armor individually
- ctrl clicking different shapes of equipment out of the inventory

I've only managed to get one crash that actually prompted me to save a copy of the log file, as all of the other ones have just booted me to my desktop.
I've attached the aforementioned mod and log file to this post, for obvious reasons.

In addition to the crashes, I've made two other observations using this mod that I believe to be either non-game crashing bugs or unintended behavior:
- Attempting to place an equipment without a point at {0,0} in it's shape next to another equipment that would be taking up the {0,0} point will not actually place said equipment, acting as if there is already one in the way. It doesn't happen with any other points in the width and height bounds, only when the hypothetical point at {0,0} is blocked.
- Equipment without pure rectangular shapes have a lot of flickering with the equipment's background color in the empty grid cells, as well as in some cases flickering on cells that should be solid. This only happens with pieces that are not rectangles, since the ones that are rectangles have the correct width and height for there not to be extras.

Re: [1.1.55] Crashes using "manual" type of equipment shape

Posted: Sun Mar 06, 2022 8:08 pm
by Rseding91
Thanks for the report. All of these issues should now be fixed for the next release.

Re: [1.1.55] Crashes using "manual" type of equipment shape

Posted: Wed Mar 09, 2022 5:23 pm
by Mernom
So there is at least 1 mod that's aware of this feature. This is 1 more than I thought there was. ;)