First of all, I don't recommend mining in wormhole space, even with this script, because there is no way for any program or person to do it safely. Determined people (like Wingspan) will sit cloaked in your system and wait for you to come back. At this point, it serves more as an example of how to have bots communicate/synchronize through VMs and interact basically with Eve using AutoHotkey.
So, I just thought I'd share this in case anyone wants to try it out. When I last used it a few months ago it worked perfectly. I just updated it a little to conform to the new Eve updates with the new D-Scan hotkeys. I haven't tried it out recently though.
This is built to allow your bots to use the D-Scanner to look for danger. It supports mining in groups of bots, even if they are on different VMs, where each bot shares whether the system is safe or dangerous. (Tank option doesn't work on different VMs, of course.) If one bot scans something that isn't a friendly, all of them will warp back to home. Once they warp back to home they will close eve and wait for 60 minutes or so before trying to log back in. Logging out is better because they are more likely to hang out cloaked at your POS if you are AFK there. But most of all, logging off clears the Local chat which is checked in case someone stupid talks.
Instructions: As with everything, test first in a safe space...
Install AutoHotkey AutoHotkey.com
Place the two files in your scripts folder. The easy way to open this is to go to EP's tools icon at the top, click the "Data Folder" button, and open the scripts folder.
Before running this, you need to configure two things in DScan2.ahk. Right click and edit it to set the correct paths for strLocalSettingsIni and strSharedSettingsPath.
Then, after EP is rebooted you can select the custom button and choose the WH Miner in the dropdown.
Next, setup the character's D-Scan window. Start the bot and pause it after it selects the character. Open the D-Scanner window and move it to a good place where a small part of the results section will never be covered by other windows. I have always put it at the bottom left. It doesn't matter if the button is visible, only part of where the results show.
Go to Eve's shortcuts, combat section, and set "Refresh Directional Scan" hotkey to Ctrl-Shift-S.
Create an overview group, via "Open Overview Settings", and call it whatever you want, like WH Dangers. Configure it so that it ONLY shows player ships and probes. When done, make sure to SAVE IT with whatever name!
In the D-Scan window, select the filter for the overview setting you just made. DO NOT put it on "Use Active Overview", as it would scan and find roids while it is mining.
In the Eve Pilot interface, go to the Tools icon at the top, in there click "Eve Settings Operations" and "Copy Current Eve Settings Locally". Now it will login with everything configured. (Copy Current Eve Settings Locally is by far the most handy utility BTW...)
The first time this is run on each bot, you need to be at the computer to configure the settings.
Login with each bot one at a time and follow the prompts, it is recommended to use copy/paste because it is case sensitive for the ship types and names.
I don't remember what the leader does, but it may be needed and definitely won't hurt anything. Just designate a leader because I said so... Or read the .ahk code and figure it out.
One of the setup prompts mentions probes, I never completed that part, so don't worry about it and say no.
When prompted, make sure to have your mouse over the small bit of the D-Scan results area that is never covered.
I forgot how to get anomalies working, I think you can only have one or two bookmarks or something, and there are some specific settings in the EP UI to select.
The forums won't accept the ".ahk" extension, so you'd need to change "DScan2.txt" to "DScan2.ahk" after downloading it. This was my first attempt at writing macros for EP, and I just wanted to get something working quickly, so if you can read code don't judge me too harshly.
File Attachment: File Name:
DScan2.txtFile Size: 20652