Upgrade Builder and Planner

by Roang

Automatically upgrade buildings by hand or with construction robots.

Utilities
4 years ago
0.17 - 1.1
21.0K

b Crash caused by Autofilter when upgrading belt with Deadlock's stacked item on belt

4 years ago

Hi there, I know that Autofilter is to blame here but I wanted to post this here so that you were aware of the issue in case there could be anything done for your mod to harden against a crash like this in the future.

https://gist.github.com/jarquafelmu/896412920dbed2a96f6be85a36f0aecb

With the mod autofilter and deadlock's stacked items on a belt, trying to upgrade the belt causes this crash to happen

4 years ago

The deadlock stacked item has nothing to do with it. Recreated the error without the mod loaded.

4 years ago

Also, this happens with upgrading power poles as well. Something might be fishy with the on_built_entity event Upgrade Planner raises... This should not be grabbed by Autofilter, since I am filtering the event for inserters.

4 years ago

Fixed in Autofilter 0.18.4.

4 years ago

Thanks for the information. I'll look into what's up with the event.

4 years ago
(updated 4 years ago)

Someone in the Factorio Discord pointed me to the fact that it is fishy by design. Event filters do not apply to mod-raised events, so there is no bug on your side :)

4 years ago

Huh interesting good to know.

New response