Page 1 of 1

[0.13.0] Power Switch Hack [reopened]

Posted: Tue Jun 28, 2016 2:39 pm
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.

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

Posted: Tue Jun 28, 2016 3:09 pm
by Klonan
Thanks for the report,

Can confirm wireless electricity hack


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

Posted: Tue Jun 28, 2016 3:09 pm
by Loewchen
I can confirm that removing a pole of a connected, activated switch does not cut the connection.
Day
Night

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

Posted: Tue Jun 28, 2016 3:27 pm
by Rseding91
Fixed for 0.13.1

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

Posted: Wed Jun 29, 2016 11:58 am
by Neotix
Wireless electricity. Tesla approve :D

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

Posted: Wed Jun 29, 2016 12:35 pm
by chris13524
This bug still exists, although the test case above is fixed.

Build the following setup, then remove the highlighted pole.

Image

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

Posted: Wed Jun 29, 2016 1:15 pm
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

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Wed Jun 29, 2016 2:59 pm
by 19wolf
I have the same problem
Image

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Wed Jun 29, 2016 4:55 pm
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 9737 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)

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Wed Jun 29, 2016 7:23 pm
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 9574 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.

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Wed Jun 29, 2016 11:43 pm
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).

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Thu Jun 30, 2016 12:21 am
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 125 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 131 times
Greetings Loewchen

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Thu Jun 30, 2016 1:24 am
by IronCartographer
Graph theory with entire subgraphs becoming nodes and allowing arbitrary connectivity gets complicated. Good luck ironing this out guys!

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Thu Jun 30, 2016 11:44 pm
by chris13524
Confirmed for 0.13.2.

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Fri Jul 01, 2016 2:05 pm
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.

Re: [0.13.0] Power Switch Hack [reopened]

Posted: Fri Jul 01, 2016 2:34 pm
by chris13524
Will do, thanks!