[2.0.17] Mining through remote view is usually slower than using character

Bugs that are actually features.
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 437
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

[2.0.17] Mining through remote view is usually slower than using character

Post by Stringweasel »

What happened
Mining most entities entity while in remote view is slower than while mining normally. Mining in remote view meaning marking something for deconstruction. For example, with Steel Axe researched and mining a medium electric pole:
  • Mining by hand takes 7 ticks
  • Marking for decon takes 16 ticks
What did you expect to happen
I also expected the mining time to be consistent between character and remote-view. Or at least marking-for-decon through remote view to be at least as fast as mining by hand.

Thoughts
It seems like marking-for-decon doesn't follow the prototype's mining time, and it hardcoded to 16 ticks (according to my little script).

You spend a lot of time in remote view now, and your muscle memory of fast building entities is slightly of the whole time which can get really frustrating. Especially since it's not clear why it's slightly off, and that I would expect marking it for decon should be the same, or at the very least faster.

And 9 ticks difference doesn't seem like much, but it's 150 ms! This becomes very noticable when you've mined thousands of entities.

Reproduction
Use this script and mine something manually, and then the same thing through remote view. Of course after researching Steel Axe.

Code: Select all

/c
local player = game.player
local mining = false
local start
script.on_event(defines.events.on_tick, function(e)
    if not mining and player.mining_state.mining then
        mining = true
        start = e.tick
    elseif mining and not player.mining_state.mining then
        mining = false
        game.print("Mining took "..(e.tick - start).." ticks")
    end
end)
Alt-F4 Author | Factorio Modder
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
computeraddict
Filter Inserter
Filter Inserter
Posts: 250
Joined: Sat Oct 07, 2023 6:44 am
Contact:

Re: [2.0.17] Mining through remote view is usually slower than using character

Post by computeraddict »

Stringweasel wrote: Wed Nov 13, 2024 9:20 pm And 9 ticks difference doesn't seem like much, but it's 150 ms! This becomes very noticable when you've mined thousands of entities.
I hadn't actually noticed this since my reflex after getting bots is to always just deconstruction planner everything, and I've mostly been appreciating the remote view mining time as a "accidentally right clicking on a ghost doesn't force a ctrl z" feature.

But yeah it's kind of weird to have the same button take different times for an equivalent action.
User avatar
Neutronium
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Thu Oct 19, 2023 4:16 pm
Contact:

Re: [2.0.17] Mining through remote view is usually slower than using character

Post by Neutronium »

In case you don't know, holding the right mouse button once you get past that decon timer allows you to decon multiple items at a time. Just be sure to have good mouse control. ;)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14896
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.17] Mining through remote view is usually slower than using character

Post by Rseding91 »

Thanks for the report however none of this is a bug. All of these things were specifically programmed to work how they're working.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”