PleXy 0 Report post Posted June 29, 2013 Hey guys, I came up with an idea to script a "quickfix" on auras, which I believe many wants to get going. This script looks for the color of a non-activated skill, and if it's inactive, it presses the wanted button. At first, you need the program AutoHotKey, then you need to edit the script, see the instruction within the code. I hope this will be useful for you as well. I'm also attaching the script as a file. (Unpack it, Zipped because extension AHK wasn't allowed to upload) ; Copy this script file into multiple script files if you're using multiple auras. ; You can only use one aura for each script file. ; 1. First of all, remove the ; of the aura you whish to use below. ; 2. Then, set which button you use the aura on, e.g. button E. WinActivate, ahk_class Direct3DWindowClass Loop { CoordMode, Pixel, Relative ; // Below are the auras I've added to this script. Remove the ; before one of them! ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x002749, 0, Fast RGB ;Discipline ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xAA99FA, 0, Fast RGB ;Clarity ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xA5BFFE, 0, Fast RGB ;Determination ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x012144, 0, Fast RGB ;Hatred ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xC23603, 0, Fast RGB ;Anger ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xA502A6, 0, Fast RGB ;Wrath ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x3E0018, 0, Fast RGB ;Purity ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x7B1731, 0, Fast RGB ;Vitality ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x0A331C, 0, Fast RGB ;Haste ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x312E1A, 0, Fast RGB ;Grace If ErrorLevel = 0 Send {w} ; // Set which button to activate Sleep, 1000 } Enjoy! Aura-script.zip Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted June 29, 2013 See the first post! Please remove this thread. Quote Share this post Link to post Share on other sites
3raser 0 Report post Posted June 29, 2013 Thank you so much. This is great! I will try it out tomorrow EDIT. Do you think it is possible to make a script for every aura out there? And all the different bound key possibilities? Like anger on e, r and t Clarity on e r and t And So on. Thanks Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted June 29, 2013 Thank you so much. This is great! I will try it out tomorrow EDIT. Do you think it is possible to make a script for every aura out there? And all the different bound key possibilities? Like anger on e, r and t Clarity on e r and t And So on. Thanks Yeap! I'm working on that right now Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted June 29, 2013 Alright, I edited the first post. Should work with all auras. Tell me if there's anything thats not working properly. Enjoy! Quote Share this post Link to post Share on other sites
Guest Report post Posted June 30, 2013 Useful as fuck Great work. Stickied ! Quote Share this post Link to post Share on other sites
alkpone 1000000 Report post Posted July 1, 2013 Yep thanks a lot for sharing your work PleXy!! btw I'm going to work on improving skills handling and implement aura, totems and revives during next days. Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted July 1, 2013 Useful as fuck Great work. Stickied ! Thanks! Yep thanks a lot for sharing your work PleXy!! btw I'm going to work on improving skills handling and implement aura, totems and revives during next days. No problems, glad I could help. Great to hear!! Quote Share this post Link to post Share on other sites
Phoenixholland 0 Report post Posted July 1, 2013 i cant get it to work with vitality every time he uses the aura then turns it off , any ideas ? Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted July 1, 2013 i cant get it to work with vitality every time he uses the aura then turns it off , any ideas ?You probably haven't changed the "Send {w} ;" to the key you use for Vitality.Or if you're using multiple auras and u have the same "Send {w} ;" on both. Can you re-check? Quote Share this post Link to post Share on other sites
username1001101 11 Report post Posted July 2, 2013 Hmmm, I tried last night and couldn't get it to work.... probably my mistake because I was tired... will try again today. Quote Share this post Link to post Share on other sites
FerroKarr 0 Report post Posted July 2, 2013 Wont work for me too..... Do nothing??!! Quote Share this post Link to post Share on other sites
Phoenixholland 0 Report post Posted July 2, 2013 i found the problem , he couldnt find the collor i edited the collor and coordinates to have a rectangle around w skill en search for white 0xffffff and when the skill is active the white would be all gone and works perfeclty now even with multiple aura's thank you Quote Share this post Link to post Share on other sites
username1001101 11 Report post Posted July 2, 2013 @phoenix: can you post the new version? Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted July 2, 2013 One problem I found: It seems like the coordinates can't find any aura that's in the Q slot I'm not home atm so I can't make new coordinates to make it work on this slot. Also, it could be that you don't have the same colors as I do, might be different depending on your quality settings etc... So if doesn't work even if you try on any other slot than Q, use Autohotkey window spy to get another color code. And please, if it's not working, tell me which slot and which aura you're using. Also post the script to make things clear. Quote Share this post Link to post Share on other sites
zantetsu 0 Report post Posted July 2, 2013 Hey, i try your script but, it's not work properly. I dont use official GUI, atm i use shrek_III GUI and its work really nice, maby is that ? But thx for share dude Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted July 2, 2013 Hey, i try your script but, it's not work properly. I dont use official GUI, atm i use shrek_III GUI and its work really nice, maby is that ? But thx for share dude And please, if it's not working, tell me which slot and which aura you're using. Also post the script to make things clear. Nope, doesn't have anything to do with the GUI Quote Share this post Link to post Share on other sites
zantetsu 0 Report post Posted July 3, 2013 Yeap sorry i dont mention bcs, its not a problem but i try to use Hatred, with all slot, i must marke aura and autocast ? Quote Share this post Link to post Share on other sites
username1001101 11 Report post Posted July 3, 2013 I tried to run it with grace... it just turned it on and off.... Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted July 3, 2013 Can both of you paste your script here please? Quote Share this post Link to post Share on other sites
username1001101 11 Report post Posted July 3, 2013 ; Copy this script file into multiple script files if you're using multiple auras. ; You can only use one aura for each script file. ; 1. First of all, remove the ; of the aura you whish to use below. ; 2. Then, set which button you use the aura on, e.g. button E. WinActivate, ahk_class Direct3DWindowClass Loop { CoordMode, Pixel, Relative ; // Below are the auras I've added to this script. Remove the ; before one of them! ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x002749, 0, Fast RGB ;Discipline ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xAA99FA, 0, Fast RGB ;Clarity ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xA5BFFE, 0, Fast RGB ;Determination ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x012144, 0, Fast RGB ;Hatred ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xC23603, 0, Fast RGB ;Anger ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xA502A6, 0, Fast RGB ;Wrath ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x3E0018, 0, Fast RGB ;Purity ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x7B1731, 0, Fast RGB ;Vitality ;PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0x0A331C, 0, Fast RGB ;Haste PixelSearch, FoundX, FoundY, 526, 595, 680, 625, 0xffffff, 0, Fast RGB ;Grace If ErrorLevel = 0 Send {d} ; // Set which button to activate Sleep, 1000 } As said, it activates the aura and then deactivates it again... haven't tried with the others though. Quote Share this post Link to post Share on other sites
Phoenixholland 0 Report post Posted July 3, 2013 Here are my versions of the aura bot, only working on W and E Here's W ; Copy this script file into multiple script files if you're using multiple auras. ; You can only use one aura for each script file. ; 1. First of all, remove the ; of the aura you whish to use below. ; 2. Then, set which button you use the aura on, e.g. button E. WinActivate, ahk_class Direct3DWindowClass Loop { CoordMode, Pixel, Relative ; // Below are the auras I've added to this script. Remove the ; before one of them! ;PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB ;Discipline ;PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB ;Clarity ;PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB ;Determination ;PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB ;Hatred ;PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB ;Anger ;PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB ;Wrath ;PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB ;Purity ;PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB ;Haste PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB Grace If ErrorLevel = 0 Send {w} ; // Do not chance this put your aura on W Sleep, 1000 } and here is E ; Copy this script file into multiple script files if you're using multiple auras. ; You can only use one aura for each script file. ; 1. First of all, remove the ; of the aura you whish to use below. ; 2. Then, set which button you use the aura on, e.g. button E. WinActivate, ahk_class Direct3DWindowClass Loop { CoordMode, Pixel, Relative ; // Below are the auras I've added to this script. Remove the ; before one of them! ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Discipline ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Clarity ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Determination ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Hatred ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Anger ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Wrath ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Purity PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB Vitality ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Haste ;PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB ;Grace If ErrorLevel = 0 Send {e} ; // Do not chance this put you aura on E Sleep, 1000 } these uses the white of the letters when its inactive the letters are white and when active they will be gray if u want to use these on other letters you have to chance the x1,y1 and x2,y2 i hope this will help Quote Share this post Link to post Share on other sites
username1001101 11 Report post Posted July 4, 2013 So, I had a look and I see that the horizontal values just differ by 26 px each. Due to that I had a look at how autohk actually works and I tried to come up with a generic aura casting tool. My basic idea is to 1) define what key your skills belong to 2) then loop through each possible skill and check for aura 3) if aura is not active, activate I came up with this here but I have no PoE installation here, so I cannot test it. ; Define below what keys represent your lower skill bar (from left to right, 5 keys) ; Comment out keys that don't have an aura or an aura you don't wish to use by adding a ; in front of the line aHK1 = a aHK2 = s aHK3 = d aHK4 = f aHK5 = g ; BELOW BE DRAGONS ; Function to check if a variable exists varExist(ByRef v) { ; Requires 1.0.46+ return &v = &n ? 0 : v = "" ? 2 : 1 } WinActivate, ahk_class Direct3DWindow Class Loop { ; Get active window title WinGetActiveTitle, Title if (Title = "Path of Exile") { if varExist("aHK1") = 1 { CoordMode, Pixel, Relative PixelSearch, FoundX, FoundY, 536, 597, 563, 625, 0xffffff, 0, Fast RGB if ErrorLevel = 0 { Send {%aHK1%} ; } } if varExist("aHK2") = 1 { CoordMode, Pixel, Relative PixelSearch, FoundX, FoundY, 562, 597, 589, 625, 0xffffff, 0, Fast RGB if ErrorLevel = 0 { Send {%aHK2%} ; } } if varExist("aHK3") = 1 { CoordMode, Pixel, Relative PixelSearch, FoundX, FoundY, 588, 597, 615, 625, 0xffffff, 0, Fast RGB if ErrorLevel = 0 { Send {%aHK3%} ; } } if varExist("aHK4") = 1 { CoordMode, Pixel, Relative PixelSearch, FoundX, FoundY, 614, 597, 641, 625, 0xffffff, 0, 0, Fast RGB if ErrorLevel = 0 { Send {%aHK4%} ; } } if varExist("aHK5") = 1 { CoordMode, Pixel, Relative PixelSearch, FoundX, FoundY, 640, 597, 667, 625, 0xffffff, 0, 0, Fast RGB if ErrorLevel = 0 { Send {%aHK5%} ; } } } Sleep, 1000 } Quote Share this post Link to post Share on other sites
username1001101 11 Report post Posted July 4, 2013 Ok, it seems my script works Quote Share this post Link to post Share on other sites
PleXy 0 Report post Posted July 4, 2013 Great stuff man, job well done! I'll use this right away. One note: For me it didnt work with any aura on aHK5, so I changed my coordinates to 649, 597, 679, 625 to make it work. Quote Share this post Link to post Share on other sites