Autominer .ahk script menu

User Tag List

Page 1 of 4 1234 LastLast
Results 1 to 15 of 58
  1. #1
    MACROS4LIFE's Avatar Active Member
    Reputation
    47
    Join Date
    Dec 2015
    Posts
    460
    Thanks G/R
    58/45
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Autominer .ahk script

    by "arcminer",

    ;detonate2.ahk
    #singleinstance force
    #ifwinactive Path of Exile

    x := a_screenwidth/0,0
    y := a_screenheight - 1500
    detonating := 0

    splashtexton, , , detonating
    winmove, detonating, , x, y
    winhide, detonating

    z::
    if (detonating) {
    detonating := 0
    winhide, detonating
    settimer, detonateloop, off
    } else {
    detonating := 1
    winshow, detonating
    settimer, detonateloop, 750
    }
    return

    f3::suspend

    detonateloop:
    send {d}
    return
    --------------

    This is a simple .ahk script that press "d" to autodetonate your mines evey 0,75seconds.

    Pros: Simple to install/use.
    Cons: No mine detection, manually need to activate it by pressing "z".

    -------------

    Sharing it for now, but still looking for that precious autominer plugin to detonate mines "only when there is X mines activated". Main problem with this is having to on/off it all the time, since the script still pressing "d" even while your're afk or in HO etc...

    If anyone know how to make this script better or with such option ( works only when mine is active ), please let me know. For now its a amateur feature but atleast my fingers are not broken anymore xd
    Last edited by MACROS4LIFE; 09-12-2019 at 11:10 PM.
    HUD it's like cocaine, once you used, you can't forget.

    Autominer .ahk script
  2. Thanks Forumuser1000 (1 members gave Thanks to MACROS4LIFE for this useful post)
  3. #2
    Forumuser1000's Avatar Active Member
    Reputation
    27
    Join Date
    Mar 2017
    Posts
    250
    Thanks G/R
    148/21
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Macros4life, much appreciated.

  4. #3
    MACROS4LIFE's Avatar Active Member
    Reputation
    47
    Join Date
    Dec 2015
    Posts
    460
    Thanks G/R
    58/45
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Forumuser1000 View Post
    Thanks Macros4life, much appreciated.
    enjoy ))))
    HUD it's like cocaine, once you used, you can't forget.

  5. Thanks Forumuser1000 (1 members gave Thanks to MACROS4LIFE for this useful post)
  6. #4
    Ugro_PNZ's Avatar Member
    Reputation
    4
    Join Date
    Nov 2009
    Posts
    53
    Thanks G/R
    0/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use pixelsearch or colorsearch or img search for position where d button apper
    i just dont playing mines now but if you want something similar to have idea how it works
    i may post something similar
    just google for ahk documentation and those commands

  7. #5
    MACROS4LIFE's Avatar Active Member
    Reputation
    47
    Join Date
    Dec 2015
    Posts
    460
    Thanks G/R
    58/45
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ugro_PNZ View Post
    use pixelsearch or colorsearch or img search for position where d button apper
    i just dont playing mines now but if you want something similar to have idea how it works
    i may post something similar
    just google for ahk documentation and those commands
    not sure what you talking about but yeah, this is setted to 1920x1080 resolution.

    Would be nice some option to active the script only when there is "X" mines activated. Because is a pain in the ass to turn it on/off all the time. ( afk, HO, chatting, etc ).

    But well, that's what I have for now.

    Still waiting for the plugins update but it seems people here its too busy playing necro and nobody care with mines ROFL xD

    I hate the necromancer gameplay where I just walk around and my zombies/spectre do the job. I guess I never played necro and never will. xD
    Last edited by MACROS4LIFE; 09-14-2019 at 08:53 PM.
    HUD it's like cocaine, once you used, you can't forget.

  8. #6
    chingchong's Avatar Member
    Reputation
    2
    Join Date
    Jun 2018
    Posts
    3
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a script i wrote for my own personal use. It has an auto flask in it as well. I use X for detonate keybind, Q for flasks, W for main mine skill and D for smoke mine.
    F2 - toggles the script on/off
    Q - Press 1, 2, 3, 4, 5 in sequence with a random delay between key presses
    W - Main mine skill key, if you hold down the key, mines will start auto detonating after ~2.5 secs and every ~2.5 secs while holding down the W key, upon releasing detonate is executed ~0.25 and ~1.25 seconds later
    D - Smoke mine, press detonate after ~200 ms


    ;this line makes the script only work when Path of Exile is the active window
    #IfWinActive, ahk_class POEWindowClass

    ;The key (or mouse button) you press to activate the script. For a list of supported "keys" and combinations, see Hotkeys - Definition & Usage | AutoHotkey
    ;XButton1 = "Back"-Button on my mouse. For a complete list of special keys, see List of Keys (Keyboard, Mouse and Joystick) | AutoHotkey

    F2::Pause
    return

    Q::
    {
    if A_IsPaused
    {
    return
    }

    random, delay1, 35, 65
    random, delay2, 35, 65
    random, delay3, 35, 65
    random, delay4, 35, 65

    send, 1
    sleep, %delay1%
    send, 2
    sleep, %delay2%
    send, 3
    sleep, %delay3%
    send, 4
    sleep, %delay4%
    send, 5
    }
    return

    ~W::
    {
    if A_IsPaused
    {
    return
    }

    random, delay6, 2625, 2725

    sleep, %delay6%
    send, X
    }
    return

    ~W Up::
    {
    if A_IsPaused
    {
    return
    }

    random, delay7, 275, 325
    random, delay8, 975, 1025

    sleep, %delay7%
    send, X

    sleep, %delay8%
    send, X
    }
    return

    ~D Up::
    {
    if A_IsPaused
    {
    return
    }

    random, delay9, 185, 215

    sleep, %delay9%
    send, X
    }
    return

  9. #7
    Ugro_PNZ's Avatar Member
    Reputation
    4
    Join Date
    Nov 2009
    Posts
    53
    Thanks G/R
    0/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    F8::ExitApp
    ~$d:ause
    #IfWinActive, ahk_class POEWindowClass

    RandomSleep(min, max) {
    Random, rand, %min%, %max%
    Sleep rand
    }

    f2::

    loop
    {
    PixelGetColor, color, 2181, 1234
    if color= 0xE8E8E8
    {
    randomsleep(10,15)
    SendInput {Numpad5}
    randomsleep(50,70)
    }
    }
    return
    d is for pause/unpause
    f2 start it
    f5 terminate process

    keybind for mines is num 5
    it checks white color on detonate mine icon (on buttom right)
    for 2k res(cos im playing at 2k res)
    if you want to use with any other res just use window spy in ahk and check whats your pixel position and color

    so you basically need to change 2 lines

    PixelGetColor, color, 2181, 1234
    if color= 0xE8E8E8

  10. #8
    miracle1's Avatar Active Member
    Reputation
    37
    Join Date
    Jun 2014
    Posts
    263
    Thanks G/R
    111/30
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I like to make things simple xD
    Code:
    F8::ExitApp
    ~$F2::suspend
    #IfWinActive, ahk_class POEWindowClass
    ~RButton Up::Send, d
    Last edited by miracle1; 12-15-2019 at 12:19 PM.

  11. #9
    Araitz's Avatar Member
    Reputation
    1
    Join Date
    Oct 2017
    Posts
    50
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by miracle1 View Post
    Well, I like to make things simple xD
    Code:
    F8::ExitApp
    ~$F2::suspend
    #IfWinActive, ahk_class POEWindowClass
    ~RButton Up::Send, d


    Done,working good!
    Last edited by Araitz; 12-18-2019 at 08:39 AM.

  12. #10
    Miluk's Avatar Banned
    Reputation
    1
    Join Date
    Jan 2018
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ugro_PNZ View Post
    d is for pause/unpause
    f2 start it
    f5 terminate process

    keybind for mines is num 5
    it checks white color on detonate mine icon (on buttom right)
    for 2k res(cos im playing at 2k res)
    if you want to use with any other res just use window spy in ahk and check whats your pixel position and color

    so you basically need to change 2 lines

    PixelGetColor, color, 2181, 1234
    if color= 0xE8E8E8
    Don't work for me :c

  13. #11
    Ugro_PNZ's Avatar Member
    Reputation
    4
    Join Date
    Nov 2009
    Posts
    53
    Thanks G/R
    0/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lets start then with simple thing do you playing in 1080p or 2k?
    and did you changed what i told to change or not?

  14. #12
    Unknown_B's Avatar Member
    Reputation
    12
    Join Date
    Aug 2017
    Posts
    41
    Thanks G/R
    3/10
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Here is another very simple auto mines detonator. Took like 2 minutes to make, but it works very well. This one is made for 1920 x 1080 resolutions. Very easy to change tho if needed. This is made in AutoIT not AutoHotkey btw.

    Adjust $Detonate_Mines_Timer_Expiration_Time value to whatever delay you want to use between triggering the mines.
    Code:
    #include <Misc.au3>
    
    $Detonate_Mines_Timer_Expiration_Time = 500 
    $Detonate_Mines_Timer = TimerInit()
    $Detonate_Mines = 1
    
    While 1
    
    	If Not WinExists ("Path of Exile") Then
    		Exit
    	EndIf
    
    	While WinExists ("Path of Exile") And WinActive ("Path of Exile")
    	
    			If $Detonate_Mines = 1 Then
    			Local $Detonate_Mines_Available = PixelSearch(1632, 929, 1632, 929, 0xFEFEFE, 10, 1, "Path of Exile")
    				If Not @error And TimerDiff($Detonate_Mines_Timer) >= $Detonate_Mines_Timer_Expiration_Time Then 
    					Send ("d")
    					$Detonate_Mines_Timer = TimerInit()
    					Sleep (10)
    					ExitLoop
    				EndIf	
    			EndIf		
    					
    		Sleep (10)
    	WEnd
    WEnd

  15. #13
    E4gle's Avatar Member
    Reputation
    5
    Join Date
    Jul 2017
    Posts
    6
    Thanks G/R
    10/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1920x1080

    created an edited form of this with a pixelsearch for the white in the D on detonate mines
    also a settings config file, cause i like the exe versions more.
    also added the option to press shift for stacking mines

    F9 Start/Stop
    F10 Exit
    B Pause/Suspend

    hold shift for stack mines

    Code:
    Code:
    #singleinstance force
    #ifwinactive Path of Exile
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Settings
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    global PixelSearchX = 1632
    global PixelSearchY = 920
    global PixelSearchXDelve = 1516
    global Tick = 333
    global detonatecolor = 0xFEFEFE
    global detonating = 0
    global Gui2X=1580
    global Gui2Y=933
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Standard ini read
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    If FileExist("Settings.ini"){ 
    
    	;~ General
    	IniRead, Tick, Settings.ini, General, Tick
    	;~ Coordinates
    	IniRead, Gui2X, Settings.ini, Coordinates, GuiX
    	IniRead, Gui2Y, Settings.ini, Coordinates, GuiY
     	
    } else {
    	
    	;~ General
    	IniWrite, %Tick%, Settings.ini, General, Tick
    	;~ Coordinates
    	IniWrite, %Gui2X%, Settings.ini, Coordinates, GuiX
    	IniWrite, %Gui2Y%, Settings.ini, Coordinates, GuiY
    
    }
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Ingame Overlay
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Gui 2:Color, 0X130F13
    Gui 2:+LastFound +AlwaysOnTop +ToolWindow
    WinSet, TransColor, 0X130F13
    Gui 2: -Caption
    Gui 2:Font, bold cFFFFFF S10, Arial
    Gui 2:Add, Text, x+1 y+2.5 BackgroundTrans vT1, Detonate: OFF
    
    IfWinExist, ahk_class POEWindowClass
    {
        WinGetPos, X, Y, Width, Height
    	varX:=X + Round(Width / 1920 * Gui2X)
    	varY:=Y + Round(Height / 1080 * Gui2Y)
    	Gui 2: Show, x%varX% y%varY%
    }
    return
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Script Start
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    ~F9::
    if (detonating) {
    detonating := 0
    settimer, detonateloop, off
    GuiControl, 2:, T1, Detonate: OFF
    } else {
    detonating := 1
    settimer, detonateloop, %Tick%
    GuiControl, 2:, T1, Detonate: ON
    }
    return
    
    ~B::suspend
    
    ~F10::ExitApp
    
    detonateloop:
    IfWinActive, ahk_class POEWindowClass
    {
    	if (GetKeyState("shift", "p")){
    		return
    	}else{
    		PixelSearch, Px, Py, %PixelSearchX%, %PixelSearchY%, %PixelSearchX%, %PixelSearchY%, %detonatecolor%, 1, Fast
    		if ErrorLevel{
    			PixelSearch, Px, Py, %PixelSearchXDelve%, %PixelSearchY%, %PixelSearchXDelve%, %PixelSearchY%, %detonatecolor%, 1, Fast
    			if ErrorLevel
    				return
    			else
    				send {d}
    		}
    		else
    			send {d}
    	}
    }
    return
    Overlay.png
    works in delve too

    Detonate_Mines.rar
    Virustotal
    Last edited by E4gle; 12-19-2019 at 12:21 AM.

  16. Thanks MACROS4LIFE, Dant121 (2 members gave Thanks to E4gle for this useful post)
  17. #14
    Ugro_PNZ's Avatar Member
    Reputation
    4
    Join Date
    Nov 2009
    Posts
    53
    Thanks G/R
    0/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im just saying for those ppl who playing on w/e res main problem can be actually color
    cos of different vidia drivers setting or somthing else so you actually may have different color (since there exact color or not range or tone variation)

    so like PixelSearch, Px, Py, %PixelSearchX%, %PixelSearchY%, %PixelSearchX%, %PixelSearchY%, %detonatecolor%, 1, Fast
    is nice but id try change 1 for more( or check color yourself) if something not working



    PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID , Variation, Mode

    Variation
    A number between 0 and 255 (inclusive) to indicate the allowed number of shades of variation in either direction for the intensity of the red, green, and blue components of the color (can be an expression). This parameter is helpful if the color sought is not always exactly the same shade. If you specify 255 shades of variation, all colors will match. The default is 0 shades.
    Last edited by Ugro_PNZ; 12-19-2019 at 05:22 AM.

  18. Thanks E4gle (1 members gave Thanks to Ugro_PNZ for this useful post)
  19. #15
    armory236's Avatar Active Member
    Reputation
    57
    Join Date
    Apr 2013
    Posts
    301
    Thanks G/R
    340/53
    Trade Feedback
    1 (100%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    PoEHUD has "Auto Skill" plugin, you can insert your D button there and mines will be detonated automatically too when out of peace zones
    I tried it with Convocation skill and Detonate mines, both are gucci

Page 1 of 4 1234 LastLast

Similar Threads

  1. GW2 able to detect AHK scripts ?
    By taquito86 in forum Guild Wars 2
    Replies: 6
    Last Post: 10-27-2020, 01:29 PM
  2. Simple "hold to spam attacks" AHK script.
    By Winsane in forum SWTOR Bots and Programs
    Replies: 16
    Last Post: 05-08-2018, 04:55 PM
  3. AHK script for the ZK exploit (runs in background on VM's!)
    By seafunk in forum Diablo 3 Exploits
    Replies: 3
    Last Post: 06-25-2012, 01:10 PM
  4. need help with .ahk script for showing users input text
    By lovemymuffin in forum Programming
    Replies: 0
    Last Post: 03-21-2011, 02:11 AM
  5. [AHK Script] Multi-directional Hunter Disengage
    By CrazyCactuaR in forum World of Warcraft Bots and Programs
    Replies: 2
    Last Post: 04-03-2009, 09:11 AM
All times are GMT -5. The time now is 12:58 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search