Sorry for answering so late. I haven't been playing the game for about half a year now. And as a result I didn't check the forums any more. I don't know if I will have time to fix the bugs in the near future but thank you for pointing them out.
Jaga_Telesin wrote:Then it flies to the ship to be collected. This now happens automatically. M2 owners now no longer have to collect the drones manually.
My freight drones are having problems with this particular step - they never dock back at the ship they launched from. They'll fly to within transporter range and unload, but then sit there with empty freight (1 shield only, installed), and not move.
Great script, I'd consider it essential to gameplay.. if I could get it working 100%.
Edit: I think I found the bug not allowing this to complete. If you move the ship that the drone is following/transferring to outside of transporter range, it breaks the current action, and the drone simply reverts to "follow" mode. It will never dock correctly. I just tested with two drones, and for the second one my ship didn't move at all. The drone unloaded and docked correctly. Sounds like some error checking is needed in that routine is all. Otherwise, excellent script.
I had this problem, too. But the reason was this: The drone unloaded its cargo into the ship, which then didn't have enough space left to fit the drone itself into. When I unloaded some wares, the drone docked. Perhaps you checked this already, but you never know...
Jaga_Telesin wrote:Found another bug just now, separate post so it can be referenced separately..
When the ship sending out a freight drone is within a short distance of the factory the drone is visiting, the drone will dock, load wares, undock, transfer to main ship, and then sit there like in the first bug I found. It never tries to dock with it's main ship.
Note: I'm using a Split Panther for this testing, which being a M7 should be big enough not to have any size or class issues for the script.
Perhaps the reason is the same? I normally use the drones on other ships while I'm not in the sector. In these cases I let the ship fly exactly to the location of the factory (-hub) and the issue the drone command. In these cases, everything works fine.
Robert Foster wrote:I am going to try this.
This is something I am looking for.
I hope it works
Question though., If I suddenly get into a dog fight with the enemies,
Will these drones stay put docked within my ship I am piloting.?
I do not want them to all of a sudden fly out and start fighting.
because then I will have more problems than I really want.
The script has no effect on the behaviour of your drones while they are docked. When they are, they are another ware in your cargo hold behaving exactly in the way Egosoft intended. That means, they won't start fighting because they aren't fighting drones. But this doesn't have anything to do with my script
BlackDemon wrote:I didn't see anyone thank you for this yet, so I just want to say thank you SO much for this script! I seriously mean it!
Thank You, man. I really appreciate that!