[Twinsen] [0.17.64] Desync caused by surface.clone_entities, surface.clone_area and entity.clone

This subforum contains all the issues which we already resolved.
Post Reply
PyroFire
Fast Inserter
Fast Inserter
Posts: 128
Joined: Tue Mar 08, 2016 8:18 am
Contact:

[Twinsen] [0.17.64] Desync caused by surface.clone_entities, surface.clone_area and entity.clone

Post by PyroFire » Sat Aug 10, 2019 12:31 am

Setup:

1. Place an accumulator.
2. Power pole (of any kind), it must be to the lower-right (or lower-left) of the accumulator.
3. Using a small steam engine setup, supply the accumulator with some power.
4. Clone the accumulator (don't have to include the power pole)
5. ????
6. Desync.

Proof:
Image

Mods installed:
Literally just the base game.

More Information:
This seems to be extremely weird.
If the power pole (or ANY power pole) is above the accumulator the desync doesn't happen.

Also.. the power pole next to the original accumulator MUST be the one that supplied power (or passed power through) to the accumulator.
For some reason, if you destroy and replace the power pole the desync no longer occurs.

This has got to be one of the weirdest bugs i've ever seen in any kind of game or piece of software, ever.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 496
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.17.64] Desync caused by surface.clone_entities, surface.clone_area and entity.clone

Post by boskid » Sat Aug 10, 2019 5:53 am

Indeed there are some heavy-mode diffs.
  1. I could not reproduce this position-dependent part. If accumulator is anywhere in supply range of first pole/substation there are diffs on clone
  2. Diffs are near <energy-source>. In "original" some bytes form "0", and in "reference" same bytes form value "5 000 000" (as double). Is this buffer_capacity [5MJ?]
  3. 74363-dumps.7z
    (52.03 KiB) Downloaded 13 times
  4. edit: looks like it is not buffer_capacity but something similar. buffer_charge?. When accumulator is charging, this value is less than 5 000 000
  5. Cloned accumulator will have different state of charge

Twinsen
Factorio Staff
Factorio Staff
Posts: 1067
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [Twinsen] [0.17.64] Desync caused by surface.clone_entities, surface.clone_area and entity.clone

Post by Twinsen » Mon Aug 12, 2019 2:40 pm

Fixed in Version: 0.17.65

Thanks for the report.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: Slasherbane