DavidHGillen / Satisfactory_AB-CableChoices

The Satisfactory mod AB_CableChoices
4 stars 1 forks source link

Powerlines going off to infinity #4

Closed azariah001 closed 9 months ago

azariah001 commented 3 years ago

Hello, My friend and I recently started using this mod and ran into a few issue with the Paintable Power Line in particular and... the behaviour for the multiplayer guest is... random. Got a few screenshots.

Guest ( GTX 1060 1440p ) image

Host ( GTX 3080 4k ) image

Also Guest image

Source of the last images cables..... our power distribution station.

Host image

Guest image

Note that all of the random cables are selectable by the guest as if they are actually there, ie, not just visual, and the cables are destructible and the host sees the cable removed from its actual location. My guess as a software dev is that the origin of the cables is being sent to the guest but not the other end and thus the coordinate is defaulting to "0".

Weirdly this doesn't exist for new cables, but only for cables loaded off of the save file, only for the guest, and only for Power Pole to Power Pole. Wall Power to Power Pole works just fine.

If you'd like a copy of the save file I can send that through.

DavidHGillen commented 3 years ago

When placing a powerline I'm using the blueprint system to lookup the connections and place my spline between them. The BP functions I have access to aren't exactly reliable https://www.youtube.com/watch?v=Svqw-rw9l-4 I thought I'd prevented it from doing this, but apparently there's some client side ones I missed.

For a variety of reasons I'll probably be moving the spline generation and the position lookup to C++, which will be the next thing I try to do after I'm finished adding C++ to my Packing machine in my other mod. So hold tight till then and apologies for the inconvience.

mikeloeven commented 2 years ago

This issue may be caused when a mod is removed and the connected machine is deleted on save load. The cable will remain and render as a max length cable going off into the distance. I started seeing this after I had to pull the X3 mods when they lost compatibility with U5 this resulted in a lot of these phantom cables appearing in locations where the missing drone ports and lights used to be. These can be deconstructed without causing issues although it would be nice for the cables to run some checks and self delete if they cannot find the item they were previously connected to.

DavidHGillen commented 9 months ago

Fixed with base game changes in U8