Arcitectus / Sanderling

APIs and libraries to read information directly from the EVE Online game client.
https://forum.botlab.org
Apache License 2.0
259 stars 117 forks source link

Drones are not docked when retreating #32

Closed tetreum closed 7 years ago

tetreum commented 7 years ago

When retreat mode is started, there is no attempt to dock in space drones, leaving them behind: https://github.com/Arcitectus/Sanderling/blob/master/src/Sanderling/Sanderling.Exe/sample/script/Mine.ore.cs#L82

I understand that retreat usually means emergency exit, but i'm experiencing the execution of retreat mode while in sec space & having the drones in fight against simple npcs. Maybe we could add another config var like bool returnDronesToBayOnRetreat = false. If true, it would fire DroneEnsureInBay(); before executing InitiateDockToOrWarpToBookmark(RetreatBookmark);

Viir commented 7 years ago

I do not yet understand completely and have a question:

but i'm experiencing the execution of retreat mode while in sec space & having the drones in fight against simple npcs.

Is that behavior desireable in your case?

tetreum commented 7 years ago

When bot goes retreat mode, it doesn't attempt to return drones back to bay before jumping to retreat bookmark.

I usually experience retreat mode with no reason at all as my drones can easily destroy the NPCs, but i don't care about that, as usually it restores operations after a while. What i don't like is that it leaves the drones in the asteroid belt when running away. That's why i made that PR :)