Page 1 of 1

ghosts created upon destruction dont retain wire connections

Posted: Thu Aug 16, 2018 1:56 am
by ownlyme
when an entity gets destroyed and a ghost is created, the ghost doesn't save what he was connected to by circuit wires.
if it was a combinator he already saves his configuration but it would be very nice if you could also fix the wire problem
thx

Re: ghosts created upon destruction dont retain wire connections

Posted: Thu Aug 16, 2018 7:27 am
by Rseding91
Thanks for the report however: yes they do.

Are you using any mods? If so, try disabling them and it will fix the issue.

Re: ghosts created upon destruction dont retain wire connections

Posted: Thu Aug 16, 2018 8:09 am
by eradicator
I was a bit suprised when i tried this but he seems to be right.

Start a new game.
Enable cheat mode.
Place two substations. (or whatever)
Connect them with a circuit wire.
Shoot one of the substations.
Have it rebuild by robots.
-> The circuit wire is missing.

Edit1:
Ok. For the sake of double checking i removed all mods and now it actually works. Didn't think i had any mods that affect this....*sigh*. Will update when i find the culprint...

Edit2:
Looks like a bug in miniloader. Probably something in his on_wire_placed handler. Reporting to author...

Re: ghosts created upon destruction dont retain wire connections

Posted: Thu Aug 16, 2018 8:18 am
by posila
eradicator wrote:I was a bit suprised when i tried this but he seems to be right.

Start a new game.
Enable cheat mode.
Place two substations. (or whatever)
Connect them with a circuit wire.
Shoot one of the substations.
Have it rebuild by robots.
-> The circuit wire is missing.
Tried it, circuit wire was never missing. I tried destroying different substation, destroying both of them, connecting them with red wire, green wire, building more substations connected with a wire. Always worked.

Re: ghosts created upon destruction dont retain wire connections

Posted: Thu Aug 16, 2018 8:21 am
by eradicator
See edit above. Looking for culprint...


Edit2:
Looks like a bug in miniloader. Probably something in his on_wire_placed handler. Reporting to author...

Re: ghosts created upon destruction dont retain wire connections

Posted: Fri Aug 17, 2018 6:19 pm
by ownlyme
thanks for figuring out the cause :)