[0.13.0] Power Switch Hack [reopened]

This subforum contains all the issues which we already resolved.
IronCartographer
Filter Inserter
Filter Inserter
Posts: 464
Joined: Tue Jun 28, 2016 2:07 pm
Contact:

[0.13.0] Power Switch Hack [reopened]

Post by IronCartographer »

Replay is enabled in the attached save file to show exact steps.

Power switch is placed between two connected poles, wired to each, then the poles are disconnected manually. At this point there is an invisible connection bypassing the power switch, which may be removed along with intermediate power poles without disconnecting the two networks.
Attachments
Virtual Grid.zip
(2.3 MiB) Downloaded 143 times
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5274
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.13.0] Power Switch Re-wiring Allows Invisible Grid

Post by Klonan »

Thanks for the report,

Can confirm wireless electricity hack

Loewchen
Global Moderator
Global Moderator
Posts: 9233
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.0] Power Switch Re-wiring Allows Invisible Grid

Post by Loewchen »

I can confirm that removing a pole of a connected, activated switch does not cut the connection.
Day
Night
Rseding91
Factorio Staff
Factorio Staff
Posts: 14304
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.0] Power Switch Re-wiring Allows Invisible Grid

Post by Rseding91 »

Fixed for 0.13.1
If you want to get ahold of me I'm almost always on Discord.
Neotix
Filter Inserter
Filter Inserter
Posts: 599
Joined: Sat Nov 23, 2013 9:56 pm
Contact:

Re: [0.13.0] Power Switch Re-wiring Allows Invisible Grid

Post by Neotix »

Wireless electricity. Tesla approve :D
chris13524
Fast Inserter
Fast Inserter
Posts: 207
Joined: Thu Jun 04, 2015 12:20 am
Contact:

Re: [0.13.0] Power Switch Re-wiring Allows Invisible Grid

Post by chris13524 »

This bug still exists, although the test case above is fixed.

Build the following setup, then remove the highlighted pole.

Image
Loewchen
Global Moderator
Global Moderator
Posts: 9233
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.0] Power Switch Re-wiring Allows Invisible Grid

Post by Loewchen »

Something is very wrong here (read the file comments):
Setup
Removed pole on the right
Network info of substation
Now I open and close again the switch
Network info of substation again
19wolf
Long Handed Inserter
Long Handed Inserter
Posts: 67
Joined: Fri May 06, 2016 3:49 pm
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by 19wolf »

I have the same problem
Image
Bizz Keryear
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Thu Oct 22, 2015 5:08 am
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by Bizz Keryear »

Haven't tried it with 0.13.1 but I had similar issues in 0.13.0
networks
networks
Screenshot_0301_2016_06_29-18_31_46.jpg (255.98 KiB) Viewed 9856 times
When maps runs longer 1 sometimes disconnects 2 as well, 2 can connect one als well (they are separated). Can be fixed by reloading map.

Edit:
19wolf wrote:Image
Image not visible, please fix (use imgur or board internal)
Bizz Keryear
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Thu Oct 22, 2015 5:08 am
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by Bizz Keryear »

Ok, in there something is really off ...
Grid failure
Grid failure
Screenshot_0302_2016_06_29-21_00_56.jpg (633.26 KiB) Viewed 9693 times
I have redrawn some of the lines cause the screeny got quite small
Blue 1 = coal power production
Blue 2 = off to main (at the moment so other power production)
Blue 3 = another sub grid
Red 1 +2 = Switches (both off)
Yet, main is still powered.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14304
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by Rseding91 »

Was this save file loaded in 0.13.0?

Can you reproduce the issue with a fresh save in 0.13.1 or a 0.12 save loaded in 0.13.1?

If so, please upload those associated save files and steps to reproduce.

0.13.0 had map corruption issues which could cause all kinds of problems (like these).
If you want to get ahold of me I'm almost always on Discord.
Loewchen
Global Moderator
Global Moderator
Posts: 9233
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by Loewchen »

Rseding91 wrote:Was this save file loaded in 0.13.0?

Can you reproduce the issue with a fresh save in 0.13.1 or a 0.12 save loaded in 0.13.1?

If so, please upload those associated save files and steps to reproduce.

0.13.0 had map corruption issues which could cause all kinds of problems (like these).
I just rebuild my setup that was made original on a .13.0 save completely new in 13.1 and I can replicate the issues I stated before (no power transfer from accu to radar through closed switch upon removal of pole; wireless connection of the two power networks (accu and main grid)) the assumption that I could create infinite power is wrong, its just the invisible connection to the main grid.

uploading save...done
Cheat.13.1.zip
(2.52 MiB) Downloaded 132 times
To do:
  1. remove pole marked with arrow (now the radar shuts down because of disconnect. Expected: Radar still working as it is still connected to the accu through the closed switch.
  2. open and close switch (now the radar is working again but it is not depleting the accu as the substation now thinks it is connected to the main grid for some reason)
Bonus: It crashed when I removed the substation but I could not reproduce it, never the less, log:
factorio-currentSubstRemovalCrash.log
(6.7 KiB) Downloaded 134 times
Greetings Loewchen
IronCartographer
Filter Inserter
Filter Inserter
Posts: 464
Joined: Tue Jun 28, 2016 2:07 pm
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by IronCartographer »

Graph theory with entire subgraphs becoming nodes and allowing arbitrary connectivity gets complicated. Good luck ironing this out guys!
chris13524
Fast Inserter
Fast Inserter
Posts: 207
Joined: Thu Jun 04, 2015 12:20 am
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by chris13524 »

Confirmed for 0.13.2.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by kovarex »

Hello, I fixed the internal logic of electric network merging related to power switch connections, so this probably shouldn't happen anymore, If it happens in 0.13.3, let me know.
chris13524
Fast Inserter
Fast Inserter
Posts: 207
Joined: Thu Jun 04, 2015 12:20 am
Contact:

Re: [0.13.0] Power Switch Hack [reopened]

Post by chris13524 »

Will do, thanks!
Post Reply

Return to “Resolved Problems and Bugs”