Arcitectus / Sanderling

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

Mining script doesn't seem to target asteroids #43

Closed ghost closed 4 years ago

ghost commented 6 years ago

I've got it running up to the point where it's supposed to select a target and start mining, but it won't do that.

Log:

20.00.49 |   |   | status transition from None to Running.
-- | -- | -- | --
20.00.49 | 70 |   | ore hold fill: 40%, mining range: 0, mining modules (inactive): 0(0), shield.hp: 100%, retreat: , JLA: , overview.rats: 0, overview.roids: 19, offload count: 0, nextAct: MainStep
20.00.50 | 226 |   | return drones to bay.
20.00.57 | 595 |   | measure tooltips of all modules.
20.00.58 | 70 |   | ore hold fill: 40%, mining range: 0, mining modules (inactive): 0(0), shield.hp: 100%, retreat: , JLA: , overview.rats: 0, overview.roids: 19, offload count: 0, nextAct: InBeltMineStep
20.01.08 | 70 |   | ore hold fill: 40%, mining range: 0, mining modules (inactive): 0(0), shield.hp: 100%, retreat: , JLA: , overview.rats: 0, overview.roids: 19, offload count: 0, nextAct: InBeltMineStep
20.01.18 | 70 |   | ore hold fill: 40%, mining range: 0, mining modules (inactive): 0(0), shield.hp: 100%, retreat: , JLA: , overview.rats: 0, overview.roids: 19, offload count: 0, nextAct: InBeltMineStep
20.01.28 | 70 |   | ore hold fill: 40%, mining range: 0, mining modules (inactive): 0(0), shield.hp: 100%, retreat: , JLA: , overview.rats: 0, overview.roids: 19, offload count: 0, nextAct: InBeltMineStep
20.01.38 | 70 |   | ore hold fill: 40%, mining range: 0, mining modules (inactive): 0(0), shield.hp: 100%, retreat: , JLA: , overview.rats: 0, overview.roids: 19, offload count: 0, nextAct: InBeltMineStep

config:

//  Bookmarks of places to mine. Add additional bookmarks separated by comma.
string[] SetMiningSiteBookmark = new[] {
    "Mining_Ommaerrer_VI.2",
    };

//  Bookmark of location where ore should be unloaded.
string UnloadBookmark = "Station_Ommaerrer_VIII";

//  Name of the container to unload to as shown in inventory.
string UnloadDestContainerName = "Item Hangar";

//  when this is set to true, the bot will try to unload when undocked.
bool UnloadInSpace = false;

//  Bookmark of place to retreat to to prevent ship loss.
string RetreatBookmark = UnloadBookmark;

//  The bot loads this preset to the active tab. 
string OverviewPreset = "MiningRats";

var ActivateHardener = false; // activate shield hardener.

//  bot will start fighting (and stop mining) when hitpoints are lower. 
var DefenseEnterHitpointThresholdPercent = 85;
var DefenseExitHitpointThresholdPercent = 90;

var EmergencyWarpOutHitpointPercent = 60;

var FightAllRats = true;    //  when this is set to true, the bot will attack rats independent of shield hp.

var EnterOffloadOreHoldFillPercent = 95;    //  percentage of ore hold fill level at which to enter the offload process.

var RetreatOnNeutralOrHostileInLocal = false;   // warp to RetreatBookmark when a neutral or hostile is visible in local.

bool returnDronesToBayOnRetreat = true; // when set to true, bot will attempt to dock back the drones before retreating

//  <- end of configuration section
Viir commented 6 years ago

Log:

20.00.49 | 70 |   | ore hold fill: 40%, mining range: 0, mining modules (inactive): 0(0), shield.hp: 100%, retreat: , JLA: , overview.rats: 0, overview.roids: 19, offload count: 0, nextAct: MainStep

This log entry means there are no mining modules detected. First question about this: What is the modules title displayed when you move the mouse cursor on a mining module in the ship UI?