Page 1 of 1

[posila] [1.1.1] Crash upon ctrl+z power pole overlapping ghost power pole: EntityGhost::setup

Posted: Thu Nov 26, 2020 4:10 am
by xenal
Crash upon ctrl+z a power pole which is placed over the ghost of a different power pole (after doing it twice, it takes 2 times to crash). No mod installed, crash in a brand new world.

Step to reproduce:
  • Create a new world (sandbox or use cheats to get the items) or open existing world
  • Place one of the setups as shown below
  • CtrlZ OR Remove the power pole and replace the ghost again
  • Place it again in the same way
  • CtrlZ
Screenshots don't have to pole placed just to see the ghost, what remains do to is to place it, ctrl+z, remove it, replace it, ctrl+z.
Setup for 1x1 power pole: A power pole must replace a the ghost of a different type of power pole (aka metal/wood)
1x1pole.png
1x1pole.png (587.47 KiB) Viewed 1895 times
Setup for 2x2 power pole (large pole/substation): Replace the ghost tile by moving one block on either side
2x2pole.png
2x2pole.png (443.18 KiB) Viewed 1895 times
Setup for 1x1 + 2x2 power pole (a mix): A mix also works, as long as the pole replace the ghost (a 2x2 must cover the 1x1 tile or the 1x1 must be within the 2x2 tiles when placing)

Re: [posila] [1.1.1] Crash upon ctrl+z power pole overlapping ghost power pole: EntityGhost::setup

Posted: Sat Nov 28, 2020 9:57 am
by posila
Thanks for the report and including steps how to reproduce this on the new world.
Fixed for 1.1.2