I have created an automatic flask use macro for Path of Exile (PoE). It allows you to set the duration of each flask (0 to disable) and allows you to add a buff to be automatically kept active, as well (such as Blood Rage). The macro can easily be enabled/disabled from within PoE and only sends keystrokes while in combat (note, this operation would need to be modified for an "always on" style such as an RF Build). The default uses the mouse Right Button for sensing attacks, but can easily be changed to support any attack key, such as "q".
This is pretty much a setup and forget it macro for flask usage. Anytime you enter combat, using the defined attack key, your flasks will begin to trigger and they will each be used again based on the flasks individual duration.
You can find the full source for the script on github at: https://github.com/JoelStanford/PoEAutoFlask.
Path of Exile (PoE) Auto Flask Macro
-
- Posts: 1
- Joined: 03 Jun 2019, 16:21
Re: Path of Exile (PoE) Auto Flask Macro
Amazing work man. I like GGG, but I am not trying to keep track of my flasks when playing Flicker Strike lol. One question though since I have basically no knowledge of AHK, would I be able to use the Right Mouse Button, and using the scroll wheel button to activate the auto flask macro? Since my RMB is Flicker Strike, and my scroll wheel button is Blade Flurry. If not that is okay, thank you.
Re: Path of Exile (PoE) Auto Flask Macro
Yea, that’s a very simple change. I’m in a meeting at work, so can’t look up the keycode for the middle bouse button, but I can do it i later today. I’ll send another reply here with the change to make to the file.
Re: Path of Exile (PoE) Auto Flask Macro
I have updated the post on GitHub with documentation that tells you how to change which mouse button to use to activate the macro. It's a very simple change in the code - basically, I currently use "Rbutton" for Right Click activation. You can change that to "MButton" and now the macro will trigger based on using the middle mouse button. You could also use the Left mouse button by changing to "LButton". I also updated the post with some additional inventory management features, such as moving a large block of items from inventory to stash or vice versa.
Re: Path of Exile (PoE) Auto Flask Macro
i set the times in ms, but when i go to run it, it will only work for 1 map then i must close and re-start the script, then also it has a small white box that shows on screen when running ( kinda new to this so i have no idea what im doing)
Re: Path of Exile (PoE) Auto Flask Macro
after loading the macro, you always have to alt+f12 to enable it (do again to disable the macro). Once enabled, it should ALWAYS run until you disable it.
Re: Path of Exile (PoE) Auto Flask Macro
Where exactly in the code can i change what keys are used for flasks/pots.
As weird as it may seem, i use numpad 1 to 5
As weird as it may seem, i use numpad 1 to 5
Re: Path of Exile (PoE) Auto Flask Macro
Not working for me anymore since the last PoE update (Vulkan) sadly
Re: Path of Exile (PoE) Auto Flask Macro
Re: Path of Exile (PoE) Auto Flask Macro
It's working again since last update but now it dont show the "on/off" tooltip
Re: Path of Exile (PoE) Auto Flask Macro
Is there a way to turn off the hover white box that displays "UseFlasks On" "UseFlasks Off" when activating the script with the alt+f12? I can't seem to find anything in the script file unless this is just a AHK thing. I play in Windowed Fullscreen because of Trade Companion Macro so maybe that is why its showing where is it would normally just be in the background?
-
- Posts: 1
- Joined: 22 Jun 2020, 15:21
Re: Path of Exile (PoE) Auto Flask Macro
I've problems with buffauto. It doesn't work. Flasks are normal. But buff - not. Do you have any ideas how fix it?
-
- Posts: 1
- Joined: 15 Sep 2016, 22:47
Re: Path of Exile (PoE) Auto Flask Macro
Auto flasks not working for me despite using the default right click attack key. Anybody else have the same problem?
Re: Path of Exile (PoE) Auto Flask Macro
Tooltip line "ToolTip, UseFlasks Off" to "ToolTip, "Krut0n wrote: ↑21 Jun 2020, 00:23Is there a way to turn off the hover white box that displays "UseFlasks On" "UseFlasks Off" when activating the script with the alt+f12? I can't seem to find anything in the script file unless this is just a AHK thing. I play in Windowed Fullscreen because of Trade Companion Macro so maybe that is why its showing where is it would normally just be in the background?
Re: Path of Exile (PoE) Auto Flask Macro
Make sure to enable the macro with Alt+F12shadowfuri wrote: ↑11 Jul 2020, 22:01Auto flasks not working for me despite using the default right click attack key. Anybody else have the same problem?
Re: Path of Exile (PoE) Auto Flask Macro
I have been having issues with a finger I injured recently and moved my main skill to W is there a way to set this up so that I can replace W with the mouse button?
Re: Path of Exile (PoE) Auto Flask Macro
Hello, thank you for creating this! When changing the primary attack button, you have listed LButton, RButton, and MButton. However, I have a Logitech G502 mouse and use one of the side buttons for my primary attack. PoE logs it as Mouse 5 in the input settings. How would I change this in the script?
Thank you!
Thank you!
Re: Path of Exile (PoE) Auto Flask Macro
XButton1Eldo47 wrote: ↑16 Jan 2021, 13:19Hello, thank you for creating this! When changing the primary attack button, you have listed LButton, RButton, and MButton. However, I have a Logitech G502 mouse and use one of the side buttons for my primary attack. PoE logs it as Mouse 5 in the input settings. How would I change this in the script?
Thank you!
XButton2
Try those. Just guessing.
-
- Posts: 1
- Joined: 19 Apr 2021, 15:25
Re: Path of Exile (PoE) Auto Flask Macro
Hello thanks for this cript. I have a problem though.
When using "q" as primary attack key only the flasks will trigger.
the key section looks like this:
[Mod edit: [code][/code] tags added.]
i would love for this to work
When using "q" as primary attack key only the flasks will trigger.
the key section looks like this:
Code: Select all
~q::
; pass-thru and capture when the last attack (Right click) was done
; we also track if the mouse button is being held down for continuous attack(s) and/or channelling skills
HoldRightClick := true
LastRightClick := A_TickCount
return
~q up::
; pass-thru and release the right mouse button
HoldRightClick := false
return
i would love for this to work
Re: Path of Exile (PoE) Auto Flask Macro
Great script, ty.
Is it possible to modify the script/code to add a macro key that will activate a flask multiple times with one press? Like press Xbutton2 to activate "1" three times rapidly, to use hp pot three times in quick succession. Sorry i got no coding background.
edit: nvm i think i actually figured it out lol.
Is it possible to modify the script/code to add a macro key that will activate a flask multiple times with one press? Like press Xbutton2 to activate "1" three times rapidly, to use hp pot three times in quick succession. Sorry i got no coding background.
edit: nvm i think i actually figured it out lol.
Return to “Gaming Scripts (v1)”
Who is online
Users browsing this forum: No registered users and 59 guests