carsonkemery
New Member
- Joined
- Jun 24, 2016
- Messages
- 15
i did download the lib and placed it into my 3rd party file still getting same prob
I've got health and mana flasks working right, but I can't seem to figure out my Bismuth Flask usage. It does not seem to want to work.
Here is an image of what it looks like. I went through error verification when standing near mobs and it checked out as true, but it never actually uses the flask.
![]()
EDIT: Anddddd right after I uploaded this, I noticed the missing closing parenthesis ie. ")" at the end. Added that back and now it works.
wowdid you write those lines all by yourself ?
Because i am a mature person with like no exp with coding ... can someone post what lines i need to put in to make it work with speed flask /rumi etc ? ty in advance !
Or some guide how yo set this up and runing plzzz?!
View attachment 205373
because this picture showed dont exist in reality
Edit 2: ok blah i got this to work tx to WIN ! ty so much bro dunno why info you posted is not on front page by default .... instead i had to read 50+ pages for 1 damn info post
Do you mind linking the page you are referencing?
NVM, found it. For anyone else its on the first page on the second post by Tony
This is an amazing plugin with huge possibilities - awesome contribution from toNyx - making the bot one step closer to its true manifestation Skynet! As my very small contribution I am going to show you how to create some default flask settings.
NOTE: If you are using Flask nodes to extend the length and power of your Flasks, then you can probably set all of the values below lower as your Flasks effects will last longer, giving them more time to recharge.
The default settings below are mainly for melee characters, for casters you would still use the same conditions, but mostly increase the distance values.
So - here we go - once you have the plugin enabled lets start easy with Life Flask:
Life Flasks
Pick "Life Flask" from the drop down.
IGNORE the box with Selector and a line of code in it - we DON'T want to touch that or things will go crazy and you will die! (this line of code is simply the bots way of identifying the flask)
Simply Tick Enable Usage - now the bot knows you have a Life Flask.
Next we need to tell it when to use them - so click in the table (blank space) just underneath CONDITION and paste the following:
Then tick ENABLED next to it.
Now when your health goes below 80% the bot uses your life flask.
![]()
Instant Life Flasks
Do the same for Instant Life Flask, but change 80 to 65. If you find you are still dying because you are too squishy, then up the values.
Mana Flask
If you have mana reserved, then you need to adjust this so that it is less than your reserved percentage otherwise the bot will keep using your Mana Flask:
Quicksilver Flask
If you only want to use this when you get value from it - we check there are no mobs within 70f and hit it:
If you have quick refills with Surgeons on Crit, then you might want to spam Quicksilver off cooldown:
Diamond Flask, Vessel of Vinktar (And most other offensive flasks)
We want our Crit boosted when there are a few mobs, or tough mobs so:
If you find you are always at max flask charges, then lower the 2,4 (you will spend flasks charges more quickly) if you keep running out of charges during a fight then increase them. For Vessel of Vinktar you will also want Energy Shield Detection:
Granite Flask (And most other defensive flasks)
Defensive flasks we want to increase the range a bit because of those annoying jumping things and other fast moving mobs.
You will also want some health or Energy shield protection:
or
Dispelling (Remove xxxxx)
Each of your flasks should have some kind of dispel e.g. Burning, Shocked, Poisoned etc - to make the bot use the dispel you should paste the relevant condition below into to the flask conditions for the flask it is on:
So if your Life Flask has Removes Bleeding, then you add FH.IsBleeding as a condition to the Life Flask.
Resistance Flasks (Ruby, Topaz etc)
Resistance Flasks are very dependent upon the Map level and danger level you are running - increase the mob count an the distance if you are running EZ game EZ life settings, reduce them if you are pushing higher Maps where insta-death is a regular occurrence. If you are running a CI build you want to have these up before pretty much any fight and any time that you experience the related debuff like Burning etc. I have used the mobs more than >2 setting along with the Unique and Rares - smaller distances as hopefully most stuff is dead before it gets within 8f, you should increase or decrease this depending on how much of the time you are out of Flask Charges.
Ruby Flask
You should also add your Flasks's Dispel e.g. Removed Shock on Use
It is worth adding in an "O Shit" press all flasks button for low health:
or low Energy Shield
Spamming Flasks Off Cooldown
If you are OP, then you probably just want to spam resistance and quicksilver all the time, so this is one way you can do that:
Essentially telling the bot to use the flask if there are no mobs within 70f or if there is 1 or more mobs within 70f i.e. all the time. FlaskHelper will detect when your buff has expired and recast appropriately - awesome right!?
NOTE: If you are using Flask nodes to extend the length and power of your Flasks, then you can probably set all of the values below lower as your Flasks effects will last longer, giving them more time to recharge.
I will update this post with more as I set them up.
if (LokiPoe.Me.HasAura(Aura))
if (Name != "Instant Life Flask" && LokiPoe.Me.HasAura(Aura))
Can't get instant life flasks to work, it just says "[FlaskHelper][Instant Life Flask] Use function returned AlreadyHasAura". I obviously don't have a flask aura because instant flasks don't give you one, it's just saying that I do. Unless it won't use instant flasks while regular life flasks are active?
e: Fixed by changing
to
in FlaskEntry.cs. Not sure why I needed to though, surely other people use instant life flasks without problems?