Mining Script problem using a Venture

I had similar problems. VMWare doesn’t work for me even without Sanderling. Eve is so slow that mouse swipe over overview leads to slow wave of selection focus getting over it. My machine is not that modern though. I wonder if I need to upgrade what should I aim for first… CPU is not loaded… GPU usage by VMWare Player is limited, can it be the problem?..

Another problem touched in the thread - misclicks. I’ve never seen script clicking column headers. But I had other type of misclicks a lot, especially since I modified the script, so my Venture would always move (less damage from rats). It leads to frequent changes in overview and sometimes the lines there switch places. That’s when script can click wrong target. It may also happen and happens a lot when a rat is on approach and moves through overview up quickly. Scripts sometimes target asteroid instead of the rat. I tried several approaches to fix the problem and it seems that it finally works flawlessly. I guess there is three parts in the solution.
First, I changed locking so it’d use ctrl+click instead of menu and I put a pause between pressing “ctrl” and clicking. Eve client “locks” overview and doesn’t change the order of lines when keys (including ctrl) are held.
Second, sometimes order of lines can change after last measurement’s taken and before the lock. So, in my lock method I take id of target (or overview entry to be more specific) and traverse overview once more looking for that id (“ctrl” being held) which leads to another measurement and updates coordinates of entry.
Third, before trying to lock I check if there is something being locked in overview right now and if there is something I skip new locking.
Here is my lock method (covers first and second):

    void executeLock(IUIElement overviewEntry) {
        var id = overviewEntry?.Id;
        Sanderling.KeyDown(VirtualKeyCode.CONTROL);
        Host.Delay(1000); // lock overview distance
        var toLock = WindowOverview.ListView.Entry.Where(t => t.Id == id).FirstOrDefault();
        Sanderling.MouseClickLeft(toLock);
        Sanderling.KeyUp(VirtualKeyCode.CONTROL);
}
1 Like