CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.31k stars 4.14k forks source link

Autosave / Quicksave disconnects distant Wind Turbines #75487

Open Kryyss opened 1 month ago

Kryyss commented 1 month ago

Describe the bug

When Autosaving or Quicksaving any Wind Turbines, connected to your grid by Outdoor Extension Cables, but are not within your currently active tile area get discconected from the grid.

Attach save file

Save file not available as Github's attatch files tool only uses image apps not file browsers.

Steps to reproduce

  1. Place a Wind Turbine at the highest Z-level and an Appliance on the ground level at least 133 tiles apart from each other
  2. Place Vehicle frames every 19 tiles between these two points
  3. Connect the Turbine to the first Vehicle frame using an Outdoor Extention Cord
  4. Repreat this processes to connect each Vehicle frame to the next
  5. Connect the last Vehicle frame to the Appliance and install a Car Battery into the nearest Vehicle frame to enable the power grid
  6. You should have a setup that looks like this : TURBINE - o - o - o - o - o - o - APPLIANCE
  7. Examine the Appliance and it will show there is power generated by the Wind Turbine.
  8. Quicksave
  9. Examine the Appliance again and it will not show any power generated by the Wind Turbine
  10. Walk over to the Wind Turbine and then go back to the Appliance
  11. Examine the Appliance and it will show the Wind Turbine is generating power again

Expected behavior

The expected behaviour is that the distant Wind Turbine should not be discconected from the power grid by the game saving.

Screenshots

Screenshot_20240806_172632_Cataclysm DDA Screenshot_20240806_172714_Cataclysm DDA Screenshot_20240806_173056_Cataclysm DDA Screenshot_20240806_173308_Cataclysm DDA

Versions and configuration

Android 0.G Stable (No mods)

Additional context

Keep up the hard work. As a fellow game dev I understand your pain :)

harakka commented 1 month ago

The detailed report is appreciated but this should already be fixed in current experimental and possibly also in 0.H release candidates.

Brambor commented 1 month ago

Is it resolved? If so, we could close this. It would be appreciated, if you checked it @Kryyss, if you feel like it.