[1.1.53] Mark for deconstruction not working
[1.1.53] Mark for deconstruction not working
Whenever I mark something for deconstruction, the red x marks disappear. It's not instant, if I do a large area some of it gets deconstructed. It's as if there is something scanning and undoing the marks. I've turned off all mods and loaded the game and it still does it.
- Attachments
-
- 55_dangOreus_NOmod.zip
- (37.25 MiB) Downloaded 124 times
Re: [1.1.53] Mark for deconstruction not working
Why was this moved to Gameplay help? This is a technical issue, not a gameplay issue.
Re: [1.1.53] Mark for deconstruction not working
Can someone confirm the deconstruction isn't working on this save? Just load it, mark stuff for deconstruction and watch the red X's start disappearing.
Re: [1.1.53] Mark for deconstruction not working
I did "/time" just after loading the save and it said "828 days, 12 hours and 4 seconds". That's a few minutes less than 2^32 ticks.
The deconstruction orders probably disappear because of an overflow in computing the tick at which they expire (see deconstruction_time_to_live), so they are seen as already expired and removed. It looks like only a single order is checked each tick, so they are not removed instantly.
The root cause seems to be that ~2^32 ticks is the end of time in Factorio.
The deconstruction orders probably disappear because of an overflow in computing the tick at which they expire (see deconstruction_time_to_live), so they are seen as already expired and removed. It looks like only a single order is checked each tick, so they are not removed instantly.
The root cause seems to be that ~2^32 ticks is the end of time in Factorio.
Re: [1.1.53] Mark for deconstruction not working
Thanks for the info! I guess I can't just leave the game running forever. Is it possible to reset the time?
Re: [1.1.53] Mark for deconstruction not working
So I just found /c game.reset_time_played() and reset my game time, saved, reloaded game and confirmed /time was 17 seconds. Tried to deconstruct and same thing, the Xs just disappear.
Re: [1.1.53] Mark for deconstruction not working
Perhaps there is an internal tick count, and reset_time_played() doesn't actually reset it, just sets the base (initially zero) for computing ticks played. I can imagine various things breaking if it actually reset the tick count (for example, existing deconstruction orders would expire "too late").
There is a lot of guesswork on my part here. I would like to think it is educated guesswork, but it is still guesswork.
There is a lot of guesswork on my part here. I would like to think it is educated guesswork, but it is still guesswork.
- ickputzdirwech
- Filter Inserter
- Posts: 770
- Joined: Sun May 07, 2017 10:16 am
- Contact:
Re: [1.1.53] Mark for deconstruction not working
Maybe this thread helps you solve the problem: 101341
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write
Re: [1.1.53] Mark for deconstruction not working
That did it! Thanks for finding the solution! Also thanks SoShootMe for finding that the cause was the game's max tick value.ickputzdirwech wrote: ↑Sat Feb 19, 2022 9:12 amMaybe this thread helps you solve the problem: 101341