ghosts created upon destruction dont retain wire connections

Bugs that are actually features.
Post Reply
User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 400
Joined: Thu Dec 21, 2017 8:02 am
Contact:

ghosts created upon destruction dont retain wire connections

Post 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
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance

Rseding91
Factorio Staff
Factorio Staff
Posts: 13204
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: ghosts created upon destruction dont retain wire connections

Post 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.
If you want to get ahold of me I'm almost always on Discord.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: ghosts created upon destruction dont retain wire connections

Post 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...
Last edited by eradicator on Thu Aug 16, 2018 8:29 am, edited 2 times in total.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: ghosts created upon destruction dont retain wire connections

Post 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.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: ghosts created upon destruction dont retain wire connections

Post 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...
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 400
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Re: ghosts created upon destruction dont retain wire connections

Post by ownlyme »

thanks for figuring out the cause :)
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance

Post Reply

Return to “Not a bug”