NebulaModTeam / nebula

A multiplayer mod for the game Dyson Sphere Program
GNU General Public License v3.0
835 stars 124 forks source link

Drone Syncing #632

Closed sp00ktober closed 9 months ago

sp00ktober commented 9 months ago

Adds syncing of Mecha and BattleBase construction/repair drones. As it still contains at least one bug and a lot of debug prints i'll set it as draft for now.

One issue i encounter is a deadlock in DroneManager PlayerDroneBuildingPlans and PendingBuildRequests leading to prebuilds that cant be completed by drones. This can be fixed by instant building broken parts or sometimes by building more stuff as some drones eventually will build the broken structures fixing the issue.

Im not yet sure whats causing it..

PhantomGamers commented 9 months ago

I posted this PR to add onto this https://github.com/sp00ktober/nebula/pull/2