rodin 26 Report post Posted November 29, 2013 (edited) Menu, Tray, Icon, quicksilver.bmp loop { IfWinActive, Path of Exile { ImageSearch, posx, posy, 5, 25, 210, 60, *30 hatred.bmp ; If Errorlevel = 1 Sleep 200 Else { ImageSearch, posx, posy, 5, 25, 210, 60, *30 quicksilver.bmp If Errorlevel = 0 Sleep 200 Else { Send {3} Sleep 6000 Send {4} Sleep 6000 } } } } hatred.bmp = Some img of some aura you use that will trigger the usage of quicksilver potion. If you use some other aura you will need to get a new img for the search. quicksilver.bmp = Img of the quicksilver potion so the script dont overlap usage. 5 , 25 , 210, 60 = Coords for the imagesearch in the client window Send {3} and Send {4} = Keys where your quicksilver flasks are, jut change the number inside according to your setup. Created some txt file and put the code inside, rename to autoQuick.ahk and put this file and both imgs in the same directory. You problably will have to get new imgs so it can match your specs, just use print screen, open mspaint, paste , zoom in all you can, select the midle of the aura/quicksilver img and make a new one. To optimize the rendiment of this script you pretty much have to use Warlords Marks and some % increased charge recovery mod, using this I have 80% uptime. Open this tool to get your coords if mine dont match your specs. Just right click some ahk script thats already running. The red coords are the coords you want. You have to get two sets of coords, first at the PURPLE DOT, second at BLACK DOT. Just replace the ones in the script. Here is some example of how to get your img for search, you will use the selected area, just cut and save in a new file. If you have any doubts feel free to ask, but this shit is very smple and you guys are smart to figure out just reading this usefull link and using google. Usefull links: http://www.autohotkey.com/docs/commands/ImageSearch.htm Edit. THIS IS ANOTHER SCRIPT MADE BY IMMO, working as good as mine. All the "how to make it work" are inside the code in the commented line (the one after the ; User Config _name_poe_win = Path of Exile ; Name of the window when you run game exe _qsDuration = 6 ; enter your Quicksilver Flask duration !in seconds! _firstQuicksilver = 4 ; inGame Hotkey for your first Quicksilver Flask _secondQuicksilver = 5 ; inGame Hotkey for your second Quicksilver Flask _outOfTown = 0x506D8B ; In order to get your correct Pixelcolor please press F5 ; !!! before pressing F5 make sure your character is currently not in any town! (you must be able to use a skill) !!! ; some needed calculations _qsDurationTrue := (_qsDuration * 1000) + 250 ; introduction TrayTip, QS-Script loaded!, Options:`n> F8: Get the needed Pixelcolor!`n> F9: Start the Script (if already configured correctly)! , 2, 2 Pause On ; Main loop for activating the Quicksilver Flask loop { IfWinActive, %_name_poe_win% { PixelSearch, Px, Py, 655, 582, 655, 582, %_outOfTown%, 0, Fast If Errorlevel = 1 Sleep 100 Else { PixelSearch, Px, Py, 5, 25, 210, 60, 0xEFFF10, 0, Fast If Errorlevel = 0 Sleep 100 Else { Send {%_firstQuicksilver%} Sleep %_qsDurationTrue% PixelSearch, Px, Py, 655, 582, 655, 582, %_outOfTown%, 0, Fast If Errorlevel = 0 { Send {%_secondQuicksilver%} Sleep %_qsDurationTrue% } else { sleep 100 } } } } } ; get the needed pixel color for checking if in town or not F8:: WinActivate, %_name_poe_win% PixelGetColor, color, 655, 582 _outOfTown = %color% TrayTip, Individual Pixelcolor found!, Define ''_outOfTown'' by using this color:`n`n >> %color% <<`n`nBut for this time you can simply press F9 to start the script... , 10, 1 return ; Simple Pause/Unpause Function F9:: if A_IsPaused { Pause off TrayTip, QS-Script unpaused!, 1, 2 } else { TrayTip, QS-Script paused!, Press F9 to resume... , 1, 2 Pause On } return ; Exitfunction F10:: TrayTip, , terminating QS-Script! , 2.5 sleep 3000 ExitApp return quicksilver.bmp hatred.bmp Edited December 2, 2013 by rodin 2 Quote Share this post Link to post Share on other sites
mbxnir 5 Report post Posted December 1, 2013 was dreaming about this! Will test it tomorrow thx for share Quote Share this post Link to post Share on other sites
ImTotalyDrunk 2 Report post Posted December 1, 2013 Add it to the main client... or I kill you! (Ahmed The Dead Taliban voice here) Quote Share this post Link to post Share on other sites
rodin 26 Report post Posted December 2, 2013 (edited) So it is working fine for you guys? Let me know if any1 need any help, this has improved my exp/h immensely. Not hat is hard to make it work, it is so simple. Edited December 2, 2013 by rodin Quote Share this post Link to post Share on other sites
rodin 26 Report post Posted December 2, 2013 Will add you solution to the main post so people have options, really nice. Quote Share this post Link to post Share on other sites
hongthai 3 Report post Posted December 5, 2013 will it work if I have a lot more buffs beside aura? Quote Share this post Link to post Share on other sites
rodin 26 Report post Posted December 6, 2013 Just get a bigger search area, should work. Quote Share this post Link to post Share on other sites
mbxnir 5 Report post Posted December 6, 2013 the 1st is working great. just run it and its work w/o any adjustments Quote Share this post Link to post Share on other sites
teppo 2 Report post Posted December 6, 2013 both are amazing, and definitely help to speed things up. thanks guys Quote Share this post Link to post Share on other sites
Ether88 9 Report post Posted December 7, 2013 Get all flasks with Adrenalin sufix and boost quicksilvers quality to 20% . Very good zone clear time -> now you just need to get best quantity/quality eq... Quote Share this post Link to post Share on other sites
nolifero 0 Report post Posted December 10, 2013 Sooo true! I'm using an similar Script which i created about a month ago and since using it i almost doubled my exp/h and even my currency/h. my AHK Solution looks like: (using pixelsearch instead of imagesearch, so no pictures needed) ; User Config _name_poe_win = Path of Exile ; Name of the window when you run game exe _qsDuration = 6 ; enter your Quicksilver Flask duration !in seconds! _firstQuicksilver = 4 ; inGame Hotkey for your first Quicksilver Flask _secondQuicksilver = 5 ; inGame Hotkey for your second Quicksilver Flask _outOfTown = 0x506D8B ; In order to get your correct Pixelcolor please press F5 ; !!! before pressing F5 make sure your character is currently not in any town! (you must be able to use a skill) !!! ; some needed calculations _qsDurationTrue := (_qsDuration * 1000) + 250 ; introduction TrayTip, QS-Script loaded!, Options:`n> F8: Get the needed Pixelcolor!`n> F9: Start the Script (if already configured correctly)! , 2, 2 Pause On ; Main loop for activating the Quicksilver Flask loop { IfWinActive, %_name_poe_win% { PixelSearch, Px, Py, 655, 582, 655, 582, %_outOfTown%, 0, Fast If Errorlevel = 1 Sleep 100 Else { PixelSearch, Px, Py, 5, 25, 210, 60, 0xEFFF10, 0, Fast If Errorlevel = 0 Sleep 100 Else { Send {%_firstQuicksilver%} Sleep %_qsDurationTrue% PixelSearch, Px, Py, 655, 582, 655, 582, %_outOfTown%, 0, Fast If Errorlevel = 0 { Send {%_secondQuicksilver%} Sleep %_qsDurationTrue% } else { sleep 100 } } } } } ; get the needed pixel color for checking if in town or not F8:: WinActivate, %_name_poe_win% PixelGetColor, color, 655, 582 _outOfTown = %color% TrayTip, Individual Pixelcolor found!, Define ''_outOfTown'' by using this color:`n`n >> %color% <<`n`nBut for this time you can simply press F9 to start the script... , 10, 1 return ; Simple Pause/Unpause Function F9:: if A_IsPaused { Pause off TrayTip, QS-Script unpaused!, 1, 2 } else { TrayTip, QS-Script paused!, Press F9 to resume... , 1, 2 Pause On } return ; Exitfunction F10:: TrayTip, , terminating QS-Script! , 2.5 sleep 3000 ExitApp return Just in case you're interested... aah yeah i quickly tested your script to give some feedback! After configuring the AuraPictures, everything was working as intended! Nice job! dont work for me, got bug with stash item. Can u make version with read image file ? maybe this work that. Quote Share this post Link to post Share on other sites
Tweety 3 Report post Posted December 10, 2013 Thx for the script. Will try it soon and give feedback if there's any issues with it. However it would be awesome of the EB team develop the bot so it uses it's quicksilver flasks, not to be needed AHK scripts. Because, for instance, if I get it correctly - the bot will use the flask even if he is attacking, not moving. Therefore, there will be inefficiency of the flask uses. Quote Share this post Link to post Share on other sites
nolifero 0 Report post Posted December 11, 2013 Please fix it... Quote Share this post Link to post Share on other sites
fraggle 3 Report post Posted December 11, 2013 Please fix it... Working fine for me!! Quote Share this post Link to post Share on other sites
rodin 26 Report post Posted December 12, 2013 Elaborate more and maybe I can "fix" your problem. Quote Share this post Link to post Share on other sites
nolifero 0 Report post Posted December 12, 2013 Elaborate more and maybe I can "fix" your problem. Well if bot try stash items, sometime cant, becouse if try stash item, keep other in hand and try stash other item. I dont know how to write but I think u know what i mean. Ex. Try stash alternation but in hand keep scouring and dont put scouring first (idk why), keep scouring in hand and try stash alternation always. And keep keep keep in hand. And this is answer why i need fix it. Quote Share this post Link to post Share on other sites
nolifero 0 Report post Posted December 17, 2013 mhmm I do not think that your stashing problem is caused by one of the two scripts. Both scripts only use Quicksilver Flasks if Char is outside town. In town these scripts should do nothing... If you're using my solution be sure to have the correct pixelcolor! For me the pixelcolor changed since the latest PoE Patch. Start the script go outside town (u have to be able to cast skills!) press F5 note down the pixelcolor shown in the tooltip edit "_outOfTown = 0x506D8B" to the correct value and save the ahk-file restart the script press F9 works perfect for me and so it should for you. I make it and bot use flask but have problem with stash item in town. Sometime keep item in hand and try stash other item. Tested it and always this same error. Can't use this script : < Quote Share this post Link to post Share on other sites
Ether88 9 Report post Posted December 18, 2013 @nolifero This is not connected directly to the script - I've observed this kind of behaviour while using auto-flask scripts. I didn't see this kind of effect without using AHK scripts. So this is probably AHK - but need to be checked. Try to observe if this occurs without the scripts. 1 Quote Share this post Link to post Share on other sites
dasnon 1 Report post Posted December 25, 2013 (edited) thanks for sharing. also for me script is not usable for now. too often happens that bot tries to stash. i used Immo's edit: i tried the other and this works without the stash bug. i think its up to the vmware version. can someone write me a blood rage script? i tried it minimum 3 hours . the fucking shit isnt working. Menu, Tray, Icon, bloodrage.bmp loop { IfWinActive, Path of Exile { ImageSearch, posx, posy, 5, 25, 210, 60, *30 hatred.bmp ; If Errorlevel = 1 Sleep 200 Else { ImageSearch, posx, posy, 5, 25, 210, 60, *30 eye.bmp If Errorlevel = 0 Sleep 200 Else { Send {Q} Sleep 5000 } } } } any suggestions? sometimes it sends Q sometimes not. im fucking raging..... ( i think its obvious that the code is copy and pasted ^^. thanks for sharing again) Edited January 6, 2014 by dasnon Quote Share this post Link to post Share on other sites
Xeandro 0 Report post Posted January 10, 2014 (edited) nvm delete pls. I found my failure. Good work! Xeandro Edited January 10, 2014 by Xeandro Quote Share this post Link to post Share on other sites
benis 2 Report post Posted January 12, 2014 (edited) mhmm I do not think that your stashing problem is caused by one of the two scripts. Both scripts only use Quicksilver Flasks if Char is outside town. In town these scripts should do nothing... But it does try to use flasks in town. When I am in town and I have one of the scripts on and I enter the chat I automatically start typing 4545454545 (those are slots for flasks). Edited January 12, 2014 by benis Quote Share this post Link to post Share on other sites
benis 2 Report post Posted January 12, 2014 when using my script which Pixelcolor does the script finds outside of a town (press F9)? When I press F8 either in the Library or in the Sarn Encampment I get "0x2A3D63". Quote Share this post Link to post Share on other sites
benis 2 Report post Posted January 12, 2014 And you entered that value (0x2A3D63) into the script at the correct location?! So line 6 of the script should look like the following for you: _outOfTown = 0x2A3D63 ; In order to get your correct Pixelcolor please press F5 after you edited the script correctly you saved & restarted it and pressed F9 to start it?! And still the script tries to use flasks in town? I got the wrong line. Now everything seems to be working. Thank you! 1 Quote Share this post Link to post Share on other sites
Sicnarf 0 Report post Posted January 17, 2014 So if my maurauder don't use any aura (Blood Magic enabled) I cannot use that script? Quote Share this post Link to post Share on other sites
stef 30 Report post Posted January 17, 2014 So if my maurauder don't use any aura (Blood Magic enabled) I cannot use that script? why is that? its a script for the quicksilver flask (faster running), has nothing to do with char type or aura Quote Share this post Link to post Share on other sites