How to use
First make sure that you have Autohotkey installed on your system, if now you can Get Autohotkey here](https://www.autohotkey.com/download/).
After downloading and installing you can get the script to run by:
-
Create a new file for example on your desktop, call the file "PoE_AutoDetonateMines.ahk" or something else but ensure it has the
.ahk
extension. Alternatively you can also just download this giist as a zip file and extract the script(.ahk file)
-
Paste the content of the gist into the file.
-
Close the file, right click on it and select
Compile Script
, this will compile the script into an executable you can (re-) use to run the script in the background. -
Double-Click on the newly created file (
PoE_AutoDetonateMines.exe
) -
Launch PoE and see if everything works.
Script Modes & Settings
If you want to change the settings on the script then open the .ahk file with the text-editor of your choice and see the section market with SET PREFERENCES HERE
. See the comments there.
Mode 0
This mode will pause the script. When paused, the script will not do anything and ignore all hotkeys.
This mode can be used for pre-laying mines on bosses if you don't want to auto-detonate them. Once the fight starts and the mines exploded, you can swap to another mode using F5.
Mode 1
In this mode, the script will listen for an RButton UP
event. If for example, the variable delayBeforeMinesExplodeInMs_State1 is set to '2000'
then the script will detonate all existing mines (using the d
button) after 2000 milliseconds (2 seconds), AFTER the user has RELEASED the right mouse button.
Mode 2
Does the same as mode one, but you can specify another time interval here. For example, 500
which will - just as mode one - detonate all placed mines after 500 ms after releasing the right mouse button.
Mode 3
Probably the most used mode? In this mode, as long as you hold down right-click, mines will be detonated as well. Run and Gun style.
This script will automatically detonate mines for you. Press F5 to pause the script or change between modes (auto-detonate with delay, instantly detonate etc.)