[0.9.4] logistic brings from passive chest to storage

This subforum contains all the issues which we already resolved.
LoSboccacc
Filter Inserter
Filter Inserter
Posts: 253
Joined: Wed Feb 20, 2013 9:35 pm
Contact:

[0.9.4] logistic brings from passive chest to storage

Post by LoSboccacc »

I changed the startup script to convert my provider chest in passive provider chests, as I didn't want my storage to fill up with junk

after start the conversion happened, but logistic bots insist in moving stuff from the chest to the storage area

save at https://www.dropbox.com/s/r4xwbamh924stdh/0.zip
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.9.4] logistic brings from passive chest to storage

Post by slpwnd »

Hmmm this is a problem with the migrations. The thing is that the migration only changes the name of the entity (from provider chest to passive provider chest, because they are of the same type), but it doesn't migrate the properties properly. For instance the chest will stay in internal lists for the logistic systems. We will have a look at this for 0.9.5 as this is a general problem and could cause confusion also for modders.

For now you cannot use migration to passive provider chest (the migration to active provider chest works fine because it is the same type of object). Either you can rebuild the entities manually or write a lua code in your control.lua that will iterate through all the entities in the given bounding box and if they are active provider chests it will destroy them and build a passive provider chest instead.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.9.4] logistic brings from passive chest to storage

Post by kovarex »

So I fixed it for 0.9.5, so the migration will update the inclusion of the chest in the structures correctly, so it will do what would one expect.
We will release minimod containing this migration with 0.9.5, so anyone can activate it if they want to.
Post Reply

Return to “Resolved Problems and Bugs”