[2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
[2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
Using bots to deploy a spidertron from a landing pad effectively wipes all it's settings and grid contents.
Save file linked below. Go to gleba, Look at the spidertron in the landing bay. Has a name, a colour, and a full equipment grid. Use bots to ghost place this spidertron. Spidertron is placed with no colour, no name, no logistics requests, and most importantly, it's equipment grid completely wiped.
Ghost placing from my own inventory so my personal bots place it maintains all the above lost info and equipment.
https://drive.google.com/file/d/1CU_4a9 ... sp=sharing
Save file linked below. Go to gleba, Look at the spidertron in the landing bay. Has a name, a colour, and a full equipment grid. Use bots to ghost place this spidertron. Spidertron is placed with no colour, no name, no logistics requests, and most importantly, it's equipment grid completely wiped.
Ghost placing from my own inventory so my personal bots place it maintains all the above lost info and equipment.
https://drive.google.com/file/d/1CU_4a9 ... sp=sharing
Re: 2.0.21 - Deploying a spidertron with bots destroys all its equipment (and colour and name)
Most likely not a bug and duplicate of 118257.
Spidertrons placed by bots are altered to match the attributes of the ghost that requested them. You can place a ghost that matches the attributes of your customized item by blueprinting it before you mine it, or by shift-clicking with the actual customized item in your cursor. Pipetting any spidertron, or selecting it from the remote view inventory, will always place an unconfigured spidertron ghost.
Spidertrons placed by bots are altered to match the attributes of the ghost that requested them. You can place a ghost that matches the attributes of your customized item by blueprinting it before you mine it, or by shift-clicking with the actual customized item in your cursor. Pipetting any spidertron, or selecting it from the remote view inventory, will always place an unconfigured spidertron ghost.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Re: 2.0.21 - Deploying a spidertron with bots destroys all its equipment (and colour and name)
Except I Pressed Q on THE spider. So the ghost should match.
If I do the same with one in MY inventory, it picks up the one in my inventory and places it correctly.
If I do the same with one in MY inventory, it picks up the one in my inventory and places it correctly.
- IsaacOscar
- Filter Inserter
- Posts: 670
- Joined: Sat Nov 09, 2024 2:36 pm
- Contact:
Re: 2.0.21 - Deploying a spidertron with bots destroys all its equipment (and colour and name)
I believe q only copies the entity type, not any settings.
Ctrl-c, ctrl-x, and alt-b however should copy the settings (or at least they do for buildings)
Re: 2.0.21 - Deploying a spidertron with bots destroys all its equipment (and colour and name)
I had posted here (Another dupe of this): viewtopic.php?p=634658#p634658
The problem is Q only does grab the entity type. My sticking point is that even if you just grab the entity, it shouldn't ever remove the grid, just leave it intact. You and many others also fell for this trap, and I feel like it's worth a reconsideration into the logic. There is no easy way to deploy a spidertron after it's been loaded into a container, unless you've already pre copied it into a blueprint previously.
The problem is Q only does grab the entity type. My sticking point is that even if you just grab the entity, it shouldn't ever remove the grid, just leave it intact. You and many others also fell for this trap, and I feel like it's worth a reconsideration into the logic. There is no easy way to deploy a spidertron after it's been loaded into a container, unless you've already pre copied it into a blueprint previously.
- IsaacOscar
- Filter Inserter
- Posts: 670
- Joined: Sat Nov 09, 2024 2:36 pm
- Contact:
Re: 2.0.21 - Deploying a spidertron with bots destroys all its equipment (and colour and name)
Sorry, I must've misread this,
I don't have access to factorio right now, so I can't test it, but what I think your saying is this:
- If you have a spidertron in the players inventory, use q on it, then use shift to place a ghost of it. The construction robots will then take your spidertron and plop it down with its equipment, colour, name, etc. the same as it was when in your inventory.
- if you do the exact same thing as 1., but the spidertron is in a logistic chest and not your player's inventory, the spidertron places by the construction bots will have default settings (empty equipment grid, white colour, etc.)
If however #1 acts as I described for #2, then it's just annoying/surprising behaviour, but is consistent with the way q works for buildings. (albeit buildings don't remember there settings when you manually pick them up and put them down again)
Re: [2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
When you press Q on the item in your inventory, it does not put a ghost in your cursor. It puts the actual spidertron item, with stack size 1, in your cursor. If you then shift-click with that item, it places a ghost of the configured spidertron, which I think makes sense. There is no way to do this operation in remote view. Pipetting a configured spidertron item in another inventory places a *ghost spidertron* in your cursor. This always places an unconfigured spidertron ghost.
There is no inconsistency here, unless you think shift-clicking with a configured spidertron item should place an unconfigured ghost. The desire for a way to create a blueprint from a remotely-located configured vehicle item is a very good feature request, not a bug.
There is no inconsistency here, unless you think shift-clicking with a configured spidertron item should place an unconfigured ghost. The desire for a way to create a blueprint from a remotely-located configured vehicle item is a very good feature request, not a bug.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Re: [2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
Q (as in pipette) will not take the spider item you actually click on though, it will always pick the one in the first slot instead. If you ghost place that the bots will then pick the last one in inventory and clear the grid to create one with the first ones grid...robot256 wrote: ↑Sat Nov 23, 2024 4:21 pm When you press Q on the item in your inventory, it does not put a ghost in your cursor. It puts the actual spidertron item, with stack size 1, in your cursor. If you then shift-click with that item, it places a ghost of the configured spidertron, which I think makes sense.
Re: 2.0.21 - Deploying a spidertron with bots destroys all its equipment (and colour and name)
Correct, that is what is happening.IsaacOscar wrote: ↑Sat Nov 23, 2024 7:15 amIf the above is indeed how it is behaving, then this is clearly a bug due to the inconsistency.
- If you have a spidertron in the players inventory, use q on it, then use shift to place a ghost of it. The construction robots will then take your spidertron and plop it down with its equipment, colour, name, etc. the same as it was when in your inventory.
- if you do the exact same thing as 1., but the spidertron is in a logistic chest and not your player's inventory, the spidertron places by the construction bots will have default settings (empty equipment grid, white colour, etc.)
If however #1 acts as I described for #2, then it's just annoying/surprising behaviour, but is consistent with the way q works for buildings. (albeit buildings don't remember there settings when you manually pick them up and put them down again)
Fair, though it's silly that Q on a specific spidertron is different in the two cases. Q on a specific spider shouldn't be different based on where that spider is.When you press Q on the item in your inventory, it does not put a ghost in your cursor. It puts the actual spidertron item, with stack size 1, in your cursor. If you then shift-click with that item, it places a ghost of the configured spidertron, which I think makes sense
- IsaacOscar
- Filter Inserter
- Posts: 670
- Joined: Sat Nov 09, 2024 2:36 pm
- Contact:
Re: [2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
Oh god, now I see what's happening. The confusion then is caused by "shift" clicking to make a ghost when you have an entity in hand, does not create a ghost with default settings.Loewchen wrote: ↑Sat Nov 23, 2024 5:16 pm Q (as in pipette) will not take the spider item you actually click on though, it will always pick the one in the first slot instead. If you ghost place that the bots will then pick the last one in inventory and clear the grid to create one with the first ones grid...
Personally, I think q on vehicles should always preserve the settings, but that would be an "Ideas and Suggestions" not a bug.
Re: [2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
I would make a mod that does this, but the API does not give any way to know what item slot was selected when the pipette tool was used.IsaacOscar wrote: ↑Sat Nov 23, 2024 10:29 pm Personally, I think q on vehicles should always preserve the settings, but that would be an "Ideas and Suggestions" not a bug.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Re: [2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
How about just not removing equipment when an empty spidertron is placed?robot256 wrote: ↑Sat Nov 23, 2024 10:34 pmI would make a mod that does this, but the API does not give any way to know what item slot was selected when the pipette tool was used.IsaacOscar wrote: ↑Sat Nov 23, 2024 10:29 pm Personally, I think q on vehicles should always preserve the settings, but that would be an "Ideas and Suggestions" not a bug.
Re: [2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
Turns out it wasn't impossible to do in a mod after all, let us know if this works of if there are side-effects we didn't think of: https://mods.factorio.com/mod/RobotVehicleDeploymentdanbopes wrote: ↑Sun Nov 24, 2024 2:28 pmHow about just not removing equipment when an empty spidertron is placed?robot256 wrote: ↑Sat Nov 23, 2024 10:34 pmI would make a mod that does this, but the API does not give any way to know what item slot was selected when the pipette tool was used.IsaacOscar wrote: ↑Sat Nov 23, 2024 10:29 pm Personally, I think q on vehicles should always preserve the settings, but that would be an "Ideas and Suggestions" not a bug.
What you're really asking for is something like the AAI Programmable Vehicles "Vehicle Deployer", which literally "places" the given vehicle item as though the player did, so all settings are preserved. You don't want or need a blueprint to be involved at all. Blueprints are great for copying customized vehicles, but placing blueprints of unconfigured vehicles isn't necessarily useful when you have configured vehicle items available. But unfortunately right now the only way to get robots to do anything is with a complete blueprint.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Re: [2.0.21] Deploying a spidertron with bots destroys all its equipment (and colour and name)
I close this now, for suggestions see viewforum.php?f=6.