• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] FlaskHelper

    Discussion in 'Archives' started by toNyx, May 26, 2014.

    1. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      It should use the first flask matching the selector, so any flask removing bleed :)
       
    2. Unknown Buddy

      Unknown Buddy Member

      Joined:
      May 20, 2015
      Messages:
      603
      Likes Received:
      17
      Trophy Points:
      18
      Good to know, thats how i figured it would work :D

      Can you tell me what i am doing wrong here?

      Code:
          {
            "Enabled": true,
            "Name": "Life Flask",
            "Aura": "flask_effect_life",
            "Selector": "f.Rarity != Rarity.Unique and f.HealthRecover > 0",
            "Conditions": [
              {
                "Enabled": true,
                "Condition": "me.HealthPercent < 70"
              },
              {
                "Enabled": false,
                "Condition": "me.Health < 2000"
              }
            ]
          },
          {
            "Enabled": true,
            "Name": "Life Flask - Instant",
            "Aura": "",
            "Selector": "f.IsInstantRecovery or f.Name.Contains(\"Bubbling\") or (f.Name.Contains(\"Panicked\") and me.HealthPercent <= 55",
            "Conditions": [
              {
                "Enabled": true,
                "Condition": "me.HealthPercent < 55"
              },
              {
                "Enabled": false,
                "Condition": "me.Health < 2000"
              }
            ]
          },
      I had been running with 2 instant flasks for awhile, but recently trying out 1 instant heal and 1 heal over time.

      The issue im having is the normal heal flask will never get used until the instant flask is out of charges, regardless of what HP values i tell each to use. So if im running over degen / fire / etc, the normal heal flask thats set to trigger at 70% simply will not trigger unless my instant flask (which is set to trigger at 55%) is out of charges.

      Im lost!
       
    3. Skuz76

      Skuz76 Member

      Joined:
      Dec 28, 2015
      Messages:
      70
      Likes Received:
      1
      Trophy Points:
      8
      I really don't understand this new Flaskhelper ='(
      Gimme back the old one or expland me in french or easy english :p
       
    4. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      The selector for the instaflask is missing a parenthesis.

      You have 2 conditions matching the same situation, you should modify the me.Health < 2000 for instaflasks

      Je ne tiendrais pas les anciennes versions à jour quoi qu'il arrive. En ce qui concerne la nouvelle version, l'idée c'est juste d'ajouter des conditions dans les flasks pour qu'elles soient utilisée. Win a fait un très beau post à ce sujet (regarde le deuxième post du thread). De cette façon il est beaucoup plus facile pour moi de tenir la route rapidement et facilement pour les prochains patchs pourris de GGG à venir.
       
    5. Necrolithis

      Necrolithis New Member

      Joined:
      May 8, 2016
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      1
      I tried to get basalt flasks to run with this, but I seem wholly incompetent into doing so =P I even resorted to changing every instant of the word Ruby to Basalt in the hopes that would work. Am I being a moron?
       
    6. ggoff

      ggoff New Member

      Joined:
      May 26, 2016
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      1
      Hello guys,

      im having a strange issue.

      My sulphur flask work fine, but when i upgrade him to the unique sulphur flask (The Overflowing Chalice Sulphur Flask), its not working anyomore.

      I have not change anything on my conditions and stuff, but the bot just dont use the unique one.

      Anyone can solve this? ty
       
    7. widds

      widds Member

      Joined:
      Nov 12, 2014
      Messages:
      316
      Likes Received:
      3
      Trophy Points:
      18
      Tony I think there's an issue with "Using Energy Shield for life threshold."

      I have -> me.HealthPercent < 60 with that box checked. If I run the error verification at like 20% ES it returns false. If I change it to a static "me.Health < xxx" it returns true (since I have 1 life as CI).

      Pretty much has halted my leveling in maps as I can't selectively use Vintkar's to leech back ES.
       
    8. widds

      widds Member

      Joined:
      Nov 12, 2014
      Messages:
      316
      Likes Received:
      3
      Trophy Points:
      18
      Tiss because Overflowing Chalice isn't built in (plugin wasn't updated with it). Just make a new flask..

      Flask Name: The Overflowing Chalice
      Flask Aura: Overflowing Chalice
      Selector (after you create it): f.Rarity == Rarity.Unique and f.FullName.Contains("Overflowing Chalice")

      Works for me.
       
    9. ggoff

      ggoff New Member

      Joined:
      May 26, 2016
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      1
      Thanks widds!

      working fine right now.
       
    10. Tormiasz

      Tormiasz Community Developer

      Joined:
      Jun 16, 2014
      Messages:
      701
      Likes Received:
      5
      Trophy Points:
      18
      Im 99.9% sure it's not proper Flask Aura for this flask. It'll spam it.
       
    11. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      ^ This

      the proper aura name is

      Code:
      overflowing_chalice
       
    12. gogo134

      gogo134 Member

      Joined:
      Jun 10, 2016
      Messages:
      98
      Likes Received:
      0
      Trophy Points:
      6
      If you are in a map with "players cursed with something" IsCursed still returns true anyone else experiencing this?

      Also I cant make work my mana flask idk why.
       
    13. widds

      widds Member

      Joined:
      Nov 12, 2014
      Messages:
      316
      Likes Received:
      3
      Trophy Points:
      18
      Definitely doesn't spam and only triggers on what I have put in there. Maybe it's a bug that it works that way, but it works lol.

      Also tony, do you see anything that may cause issues with CI?

      Code:
       public static float GetRessourceToUse => FlaskHelperSettings.Instance.UseEnergyShieldForThreshold ? LokiPoe.Me.EnergyShieldPercent : LokiPoe.Me.HealthPercent;
      That's the only thing that mentions EnergyShield. I assume how that's written is if you have the box checked it's supposed to use your ES as a direct replacement for health?
       
    14. widds

      widds Member

      Joined:
      Nov 12, 2014
      Messages:
      316
      Likes Received:
      3
      Trophy Points:
      18
      Nevermind, I just straight up used me.EnergyShieldPercent instead and it works fine now. Not sure why that CI thing is an option, maybe I'm just dumb.

      Okay reading first post, yes I'm dumb. Vinktars should really be enabled as a threshold flask, as it's primarily used (i would think) as leech (so.. healing). That's why I could never get it to fire using HealthPercent (even with CI checked). Funny enough though that using EnergyShieldPercent will fire it either way.
       
      Last edited: Jun 13, 2016
    15. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      IsCursed check for specific affixes in map like this, it'll return false if the map has "Player is cursed with ..." so you don't empty your flasks.

      for the mana flask, take a look at the selector, remove "&&" and put "and" instead
       
    16. gogo134

      gogo134 Member

      Joined:
      Jun 10, 2016
      Messages:
      98
      Likes Received:
      0
      Trophy Points:
      6

      But it doesnt it still empy my curse flask in a curse affixed map
       
    17. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      will try to investigate
       
    18. gogo134

      gogo134 Member

      Joined:
      Jun 10, 2016
      Messages:
      98
      Likes Received:
      0
      Trophy Points:
      6
      ty buddy:)
       
    19. gogo134

      gogo134 Member

      Joined:
      Jun 10, 2016
      Messages:
      98
      Likes Received:
      0
      Trophy Points:
      6

      Also it doesnt use immunity to curse flasks if you are silenced
       
    20. kalanikila

      kalanikila Member

      Joined:
      Nov 28, 2012
      Messages:
      293
      Likes Received:
      5
      Trophy Points:
      18
      is there a way so that just this runs while i play the game? i keep trying to start it and it goes to grind bots settings.
       

    Share This Page