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

This subforum contains all the issues which we already resolved.
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Mar 05, 2022 11:30 am
Contact:

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

Post 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.
Attachments
factorio-current.log
(8.97 KiB) Downloaded 140 times
tetris-armor_0.0.1.zip
(1.42 KiB) Downloaded 133 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14591
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. All of these issues should now be fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Mernom
Fast Inserter
Fast Inserter
Posts: 123
Joined: Sun Jul 15, 2018 10:05 pm
Contact:

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

Post by Mernom »

So there is at least 1 mod that's aware of this feature. This is 1 more than I thought there was. ;)
Post Reply

Return to “Resolved Problems and Bugs”