Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Regular reports on Factorio development.
User avatar
FactorioBot
Factorio Staff
Factorio Staff
Posts: 424
Joined: Tue May 12, 2015 1:48 pm

Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by FactorioBot »

ochrid-fact
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Apr 07, 2019 10:53 am
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by ochrid-fact »

Undo preview :o. With these quality of life improvements, they are setting the bar so very high, no other game will come close for decades.
Tooster
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Wed Mar 24, 2021 6:42 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Tooster »

This is the FFF I've been waiting for the most :P

First, a shameless plugs: viewtopic.php?t=104721 and https://t3st3ro.github.io/stuff/factorio-waypoints.html
and requests directly related to that:
Could you add some API for registering a bunch of actions as a single entry on the undo stack, basically a "transaction"? Just like in the linked thread, building one continuous strip of belts would be such a good QOL change I could add with a mod!

Secondly, some questions and proposals:
  • will the prompt for confirmation of old undo actions "remember" we confirmed last action or will it ask that every time we undo something older than X minutes? For example imagine I want to undo 10 actions from 15 minutes ago, does it mean 10 confirmation popups will show up?
  • is there some "undo stack window" which displays the undo stack and allow to preview each action and revert to this state with a simple button click? I imagine it would be very useful when we could for example see a list, click a position 15 entries ago and just click "undo everything up to this point".
A car latency improvement is an awesomely pleasant surprise!
Last edited by Tooster on Fri May 24, 2024 3:06 pm, edited 1 time in total.
Look mom, I made a mod ^^ Barrel Stages
User avatar
MEOWMI
Filter Inserter
Filter Inserter
Posts: 336
Joined: Wed May 22, 2019 12:21 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by MEOWMI »

These are some of the best improvements so far (but only some, because you've showcased some absolutely amazing ones previously too!)
Justderpingalong
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Wed Mar 08, 2017 3:34 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Justderpingalong »

OH MY GOD THEY'VE FIXED DRIVING.
Upserter
Inserter
Inserter
Posts: 35
Joined: Fri Oct 06, 2023 8:33 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Upserter »

Do you still get an undo preview if the relevant area is outside radar coverage?
Aqo
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri May 24, 2024 11:52 am
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Aqo »

this is my favorite FFF, thank you so much Wube, those are exactly the two things I wanted for years
Kyralessa
Filter Inserter
Filter Inserter
Posts: 575
Joined: Thu Sep 29, 2016 5:58 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Kyralessa »

Fantastic FFF. I've quite often undone something and heard the sound, but couldn't see anything, and wondered with trepidation just what I'd inadvertently destroyed in my factory. :shock: And of course I couldn't redo it. This is an excellent change.

I've also done multiplayer online with a guy in Australia before (I'm in Germany), and I had to give up on the car as completely unusable with the latency.

Very much looking forward to these updates. :D
kevincox
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Mar 15, 2024 5:36 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by kevincox »

Please support CTRL+Shift+Z redo for Windows and Linux as well. Not only is it a very common shortcut for redo but it is also one-handable which is very useful for a game like Factorio where you are often using the mouse in the other hand while building.
svalorzen
Inserter
Inserter
Posts: 21
Joined: Fri Mar 18, 2016 11:44 am
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by svalorzen »

I do wonder what's going to happen when you cross a railway in a car and there's a train coming. You'll think you can make it, but the car actually gets run over by the train? Doesn't sound like a lot of fun :(
User avatar
GregoriusT
Filter Inserter
Filter Inserter
Posts: 343
Joined: Wed Apr 10, 2019 6:42 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by GregoriusT »

Awesome, now please fix shooting weapons in Multiplayer, which is far worse than the Vehicles.


Like merely holding the "Shoot" Button causes the Game to lag like mad, if there is any latency, even if you dont have Ammo at all, its like its trying to send my mouse coordinates every game tick... (speaking from transatlantic multiplayer experience)
Last edited by GregoriusT on Fri May 24, 2024 12:38 pm, edited 2 times in total.
Don't underestimate Landmines!
Biters bite, Spitters spit, Spawners spawn and Worms... worm? - No, they throw their vomit! They even wind up to directly hurl it at you! friggin Hurlers...
Terrahertz
Fast Inserter
Fast Inserter
Posts: 132
Joined: Mon May 15, 2017 7:49 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Terrahertz »

Amazing work :D

Although I hope to never be in a position where I need the later improvement, it's good to know that it's there.

Seeing the undo, redo feature being fully implemented now, makes me wonder of there are other features usually associated with editors that could be added to the game.
FuzzyOne
Inserter
Inserter
Posts: 21
Joined: Fri Aug 02, 2019 10:20 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by FuzzyOne »

Oh my, now I'm undone!
But now my undoing is redone!!
User avatar
koliw_br
Burner Inserter
Burner Inserter
Posts: 13
Joined: Fri Nov 11, 2022 9:38 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by koliw_br »

Do these changes also apply to the Spidertron in manual control mode (not via remote control)?
jamaicancastle
Inserter
Inserter
Posts: 23
Joined: Fri Apr 26, 2024 12:57 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by jamaicancastle »

Previously, you showed a remote manual drive option for trains - will that be available for other vehicles? I ask, knowing how often I leave cars in weird places when I'm laying long rails/pipes/belts/power lines and have to walk all the way back to my car in order to get it back. (Or worse, I'm using the car to run between biter nests and I underestimate one of them... now I need a car, to get to my other car, to rescue my body in time.)
Kyralessa
Filter Inserter
Filter Inserter
Posts: 575
Joined: Thu Sep 29, 2016 5:58 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Kyralessa »

kevincox wrote: Fri May 24, 2024 12:17 pm Please support CTRL+Shift+Z redo for Windows and Linux as well. Not only is it a very common shortcut for redo but it is also one-handable which is very useful for a game like Factorio where you are often using the mouse in the other hand while building.
I agree. I think most actions in Factorio don't have a secondary shortcut set, but only a primary, but this seems like a case where it would make sense to make Control-Shift-Z the initial secondary shortcut (while still allowing reassignment, of course). A lot of software development tools use Control-Shift-Z to redo.
StrangePan
Factorio Staff
Factorio Staff
Posts: 131
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by StrangePan »

kevincox wrote: Fri May 24, 2024 12:17 pm Please support CTRL+Shift+Z redo for Windows and Linux as well. Not only is it a very common shortcut for redo but it is also one-handable which is very useful for a game like Factorio where you are often using the mouse in the other hand while building.
We generally try to make all controls configurable in settings, including undo and redo. I use a Mac normally, so when I play on Windows, I also remap it to Ctrl+Shift+Z.
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 184
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Lou »

svalorzen wrote: Fri May 24, 2024 12:22 pm I do wonder what's going to happen when you cross a railway in a car and there's a train coming. You'll think you can make it, but the car actually gets run over by the train? Doesn't sound like a lot of fun :(
Unfortunately, simulating train movements for latency hiding is currently a no-go
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 184
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by Lou »

GregoriusT wrote: Fri May 24, 2024 12:25 pm Awesome, now please fix shooting weapons in Multiplayer, which is far worse than the Vehicles.


Like merely holding the "Shoot" Button causes the Game to lag like mad, if there is any latency, even if you dont have Ammo at all, its like its trying to send my mouse coordinates every game tick... (speaking from transatlantic multiplayer experience)
Latency hiding in combat is generally problematic, because we would need to simulate a lot of expensive stuff.

I am not sure what do you mean by "lag", but currently when you are shooting, the latency hiding is dropped -> you should have a delay but not lag in the sense of minifreezes.
deso
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri May 24, 2024 2:00 pm
Contact:

Re: Friday Facts #412 - Undo/Redo improvements & Car Latency driving

Post by deso »

So, I have had a thought on something I would like to see as the topic for a Friday fact. I think showing all the ways you're improving performance in the base game and DLC could be interesting. I know that the game is already very optimized but there is still specific things that cause lots of time usage(specifically pumps, placing long belts, flame turrets, world file size, etc...). optimizing this could be the difference between 1000 SPM to 1500 SPM before you start to lag.
Post Reply

Return to “News”