[0.14.4] [vehicle grid] Disappearing construction bots.

Bugs that are actually features.
credomane
Filter Inserter
Filter Inserter
Posts: 321
Joined: Tue Apr 12, 2016 6:21 pm
Contact:

[0.14.4] [vehicle grid] Disappearing construction bots.

Post by credomane »

So I've noticed a bug with construction bots in vehicles.

If they, the bots, are damaged and there are no repair packs they stack together into a single stack. Just like repair packs, ammo, science packs do.

To replicate setup a vehicle with 10 bots, a personal roboport and no repair packs. Command the bots do something. Force shoot the bots to damage them pretty good but do NOT kill any. Wait for them to recharge and enter the vehicle.

The result, if you damaged them enough, is you will be missing a bot or three . "Enough" damage is spreading 100+ damage (the max hp of a single bot) across multiple bots.
The expected result is to instead have the bots appear in the vehicle inventory much like the player inventory where each damaged bot is an individual item.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15912
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.4] [vehicle grid] Disappearing construction bots.

Post by Rseding91 »

Are you sure you're not killing the robots?

The logic of a robot going into a vehicle is identical to that of going into the player vs a roboport.
If you want to get ahold of me I'm almost always on Discord.
credomane
Filter Inserter
Filter Inserter
Posts: 321
Joined: Tue Apr 12, 2016 6:21 pm
Contact:

Re: [0.14.4] [vehicle grid] Disappearing construction bots.

Post by credomane »

I thought at first bugs were getting them, the forest fire was, or they were drained and inching to me but after a few hours and 40 missing bots later I figured it out. Only vehicle bots vanish. Player roboport bots work the same as always.

construction bots in vehicles are definitely stacking like they are ammo or something causing damaged ones to combine into a single full health bot.

Try it for yourself. Open the vehicle inventory count how many are "entering" the vehicle and how many actually appear in the inventory. Note that none of the damaged ones actually appear as damaged bots in the vehicle and what not. It is 2AM here or I'd record you a video. If someone else hasn't already made one after I get off work tonight I'll make one.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15912
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.4] [vehicle grid] Disappearing construction bots.

Post by Rseding91 »

When a robot "goes into" a player, roboport, or vehicle it doesn't carry over its health. It gets full health back and will stack like any other robot in a vehicle. That's expected and how it has always worked.
If you want to get ahold of me I'm almost always on Discord.
credomane
Filter Inserter
Filter Inserter
Posts: 321
Joined: Tue Apr 12, 2016 6:21 pm
Contact:

Re: [0.14.4] [vehicle grid] Disappearing construction bots.

Post by credomane »

Rseding91 wrote:When a robot "goes into" a player, roboport, or vehicle it doesn't carry over its health. It gets full health back and will stack like any other robot in a vehicle. That's expected and how it has always worked.
Then my Factorio is bugged. Whenever a robot goes into a player they have always kept their health if it isn't 100% just like any other damaged entity in the player inventory each taking up their own inventory slot.
I haven't tested this disappearing robots with roboports but I will tonight. So I've never noticed them vanishing there. Always had repair packs handy so they could heal to 100% before entering the roboport.
Rseding91 wrote:It gets full health back and will stack like any other robot in a vehicle. That's expected and how it has always worked
I'm not debating that as that just makes thing easier for all. I'm having an issue where I'm counting 10 damaged bots enter the vehicle but then less than 10 are actually IN the inventory of the vehicle.

Let's just wait until tonight I'll get a video of it and we'll get to the bottom of it then.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [0.14.4] [vehicle grid] Disappearing construction bots.

Post by Nexela »

I just tested with .14.4, VW Transporter mod, and this script using 50 bots
/c p=game.player; s=p.surface; bots=s.find_entities_filtered{name="construction-robot"}; for _, bot in pairs(bots) do bot.health=10 end

Ordered 50 bots to deconstruct some trees, ran the command, when they finished I had 50 full health bots in the vw.
Which according to rseding is exactly how it is supposed to work
Rseding91
Factorio Staff
Factorio Staff
Posts: 15912
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.4] [vehicle grid] Disappearing construction bots.

Post by Rseding91 »

credomane wrote:
Rseding91 wrote:When a robot "goes into" a player, roboport, or vehicle it doesn't carry over its health. It gets full health back and will stack like any other robot in a vehicle. That's expected and how it has always worked.
Then my Factorio is bugged. Whenever a robot goes into a player they have always kept their health if it isn't 100% just like any other damaged entity in the player inventory each taking up their own inventory slot.
I haven't tested this disappearing robots with roboports but I will tonight. So I've never noticed them vanishing there. Always had repair packs handy so they could heal to 100% before entering the roboport.
Rseding91 wrote:It gets full health back and will stack like any other robot in a vehicle. That's expected and how it has always worked
I'm not debating that as that just makes thing easier for all. I'm having an issue where I'm counting 10 damaged bots enter the vehicle but then less than 10 are actually IN the inventory of the vehicle.

Let's just wait until tonight I'll get a video of it and we'll get to the bottom of it then.
If you mine the robot that's different then letting it automatically go back into your inventory. Mining it will preserve the health.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”