Miniloader

by therax

Compact and UPS-friendly 1x1 loaders. Works with train cargo wagons, circuits, filters, and modded belts from Bob's, Krastorio, FactorioExtended Plus, Space Exploration, and Ultimate Belts.

Content
7 months ago
0.15 - 1.1
177K
Logistics

b When trying to place an object I get this error: Unknown key: "entity-name.miniloader-target-chest" is in the way

4 years ago

Hello! I'm not sure what happened but I'm getting this error when trying to place an item in an empty space:

Unknown key: "entity-name.miniloader-target-chest" is in the way

I'm not able to right click to pick up and decunstruct planner doesn't see anything on the ground. Driving into causes my vehicle to explode.

Any help would be appreciated. Thanks!

miniloader version 1.11.0
factorio version 0.18.18
screenshot: https://imgur.com/kfa0TZo

4 years ago

Sounds like there was a Miniloader there that was removed but left part of itself behind. Do you remember having a Miniloader in this location, and did you remove in some way other than usual mining or construction not?

4 years ago

Good idea. I checked and I think I know what's going on. When I use the 'Picker Dollies' mod (https://mods.factorio.com/mod/PickerDollies) I'm able to move the miniloader but it leaves behind that artifact that I can't build over. I'm not able to move the miniloader back either. I'll post under that mod as well to see if there's a quick fix for it. I can always just remember not to move minloaders in that way. Here's a full list of the mods I'm using on this save: https://pastebin.com/U2qm6FvV

Thanks!

4 years ago

Ah, looks like someone already ran into this issue: https://mods.factorio.com/mod/PickerDollies/discussion/5c8ddc37b52b53000c8e03c5

"It is because mini loaders is not listening for the event and updating accordingly"

Is this something that can be added in the future? Sorry to put this on you but I'm not sure what to do about the current miniloader artifacts that are on my map now. I can stop creating new ones though and I can wall off where they exist. Thanks for your time on this.

4 years ago

Not sure if this helps. From the control.lua in PickerDollies_1.1.1:
--[[
Event table returned with the event
{
player_index = player_index, -- The index of the player who moved the entity
moved_entity = entity, -- The entity that was moved
start_pos = position -- The position that the entity was moved from
}

-- In your mods on_load and on_init, create an event handler for the dolly_moved_entity_id
-- Adding the event registration in on_load and on_init you do not have to add picker as an optional dependency

if remote.interfaces["PickerDollies"] and remote.interfaces["PickerDollies"]["dolly_moved_entity_id"] then
script.on_event(remote.call("PickerDollies", "dolly_moved_entity_id"), function_to_update_positions)
end
--]]
Event.generate_event_name('dolly_moved')
interface['dolly_moved_entity_id'] = function()
return Event.generate_event_name('dolly_moved')
end

I removed the miniloader mod from my game and it deleted all the invisible entities that were causing the issue. I re-activated it and just have to replace all the miniloaders I had.

PickerDollies has a blacklist in the mod that I'm going to use for now and add miniloader to it so that I'm unable to accidentally move it for the time being.

4 years ago

I’ll look into it. Compatibility with PickerDollies has always been a pain in the rear.

4 years ago

This should be fixed now, and there should now be a migration to remove stray miniloader-target-chests that may be scattered around the map, so they don't get in your way.

4 years ago

Updated and all works great! Thanks for taking the time to add support.

New response