-
[AutoHotKey]Devilian -- Remote quest accept and turn in + Auto run to quest script
I was making a pixel reader so it would work for everyone and not hardcode any coords into it, but AHK was all like "**** you, I do what I want." and wasn't behaving the same every time I ran it. So I decided to just make it as efficient as possible and hardcode values.
Instructions to modify the code are commented. --- See the script on pastebin for easier readability with syntax highlight: [Autohotkey] Parog @ OwnedCore - Pastebin.com
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Made by Parog of OwnedCore.com
;;
;; This script moves your mouse to specific coords. Run it once,
;; then left click the autohotkey icon on the taskbar and select
;; "Window Spy". Mouse over where you want it to click.
::
;; Run the script as admin
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Mouse button 4 will launch this part of the script
XButton1::
;Save the mouse position for later so it returns at the same coords
MouseGetPos, xpos, ypos
;Moves the mouse for the first click, change coords if needed. (Coords: The remote new quest(s) and quest(s) to turn in button)
DllCall("SetCursorPos", int, 1770, int, 425)
Click down, 1770, 425
sleep 50
Click up
;Waits for the window to pop up so we don't click before it shows
sleep 100
;Moves the mouse for the second click, change coords if needed. (Coords: Quest accept and Quest Complete from the remote quest window after the first click)
DllCall("SetCursorPos", int, 338, int, 819)
Click down, 338, 819
sleep 50
Click up
;Returns the mouse where it originally was
DllCall("SetCursorPos", int, xpos, int, ypos)
return
;Mouse button 5 will launch this part of the script
Xbutton2::
;Save the mouse position for later so it returns at the same coords
MouseGetPos, xpos, ypos
;Moves the mouse for the first click, change coords if needed. (Coords: "AutoRun" for the first quest of the quest tracker -- All the side quests you pick up are in the same area anyway)
DllCall("SetCursorPos", int, 1870, int, 497)
Click down
sleep 50
Click up
;Returns the mouse where it originally was
DllCall("SetCursorPos", int, xpos, int, ypos)
return
What's a Parog?
Looking for competitive Valorant team!
-
Post Thanks / Like - 1 Thanks
Augury13 (1 members gave Thanks to Parog for this useful post)
-
Member
What quest is this still useful for? I thought they fixed these
-
For the 2nd hotkey; Any quest, they all have an "Autorun" button.
For the 1st hotkey; Any remote quests that pops up on the quest tracker.
If you don't understand what this does, don't use it. Simple as that.
What's a Parog?
Looking for competitive Valorant team!
-
Post Thanks / Like - 1 Thanks
Iuri Matos (1 members gave Thanks to Parog for this useful post)
-
Member
Apologies if that came across the wrong way, I was just curious, I thought you meant it was for the refining stone kind of exploit. My bad.
-
Post Thanks / Like - 1 Thanks
Parog (1 members gave Thanks to Kash6 for this useful post)
-
Member
Originally Posted by
Parog
For the 2nd hotkey; Any quest, they all have an "Autorun" button.
For the 1st hotkey; Any remote quests that pops up on the quest tracker.
wow, nice!!
i know autohotkey its better than autoit
use to remaping keys
Devilian no have possible use my mouse buttons (gamer mouse)..
when need autohotkey to solution this.
Thanks alot!!
Last edited by Iuri Matos; 01-13-2016 at 10:09 PM.
-
Member
Can this be rewritten to do something like dungeons? like low level dungeons (ie Ruined Citadels, Silent Convent)
-
Member
Wtf i'm geting banned after use it!! :/ :/
-
Member
Originally Posted by
pewpewpew28
Can this be rewritten to do something like dungeons? like low level dungeons (ie Ruined Citadels, Silent Convent)
Its abit more complicated than that because in dungeons there is no autopathing and you have to deal with your character being displaced/stunned so predetermined coordinates are not very usefull XD.
-
Post Thanks / Like - 1 Thanks
Parog (1 members gave Thanks to Anomie for this useful post)