• Visit Rebornbuddy
  • AutoFlask 2.0

    Discussion in 'Archives' started by naut, Oct 12, 2014.

    1. thenotorious

      thenotorious Member

      Joined:
      Aug 23, 2014
      Messages:
      85
      Likes Received:
      0
      Trophy Points:
      6
      working now ;)
       
    2. powerpc

      powerpc New Member

      Joined:
      Nov 4, 2012
      Messages:
      38
      Likes Received:
      0
      Trophy Points:
      0
      Does this work with the unique granite flask?
       
    3. Lorre

      Lorre New Member

      Joined:
      Mar 30, 2014
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      0
      i still got a proble at Dominus, it uses the flask 2ce and to early .how can i fix it so it uses the pot on the kill?
       
    4. naut

      naut Community Developer

      Joined:
      Feb 9, 2012
      Messages:
      277
      Likes Received:
      21
      Trophy Points:
      18
      In the settings you can choose what percentage to trigger use.

      At least make an attempt to find the answer yourself..
       
    5. Lorre

      Lorre New Member

      Joined:
      Mar 30, 2014
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      0
      i know naut the percentage trigger but i cant figure it out on what % i need to put it. sorry to ask m8



      Found it thx! :)
       
      Last edited: Oct 25, 2014
    6. dingyskunk

      dingyskunk New Member

      Joined:
      Feb 10, 2010
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      Could you please add support for Jade Flask?
       
    7. thenotorious

      thenotorious Member

      Joined:
      Aug 23, 2014
      Messages:
      85
      Likes Received:
      0
      Trophy Points:
      6
      can you add support for Lavianga's Spirit ?

      thanks
       
    8. NGB101

      NGB101 New Member

      Joined:
      Apr 13, 2014
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      Thank you for providing this plugin. It helped immensely.

      I edited the code for my purposes and added sapphire/jade flask support. The resistance flasks are configured to be used on the proximity of monsters (1 monster within 40 units) rather than energy shield. Additionally, I modified the requirement for burning, frozen and/or shocked. This works better for my low-life, max critical chance, cast on critical strike build. With the Surgeon prefix, the resistance flasks are almost always up enabling me to keep over 90% resistances near full time. It is a really good defense against elemental reflect. I attached my edited version in case anybody is interested. I left the resistance flask health triggers in but it is kind of pointless as they will likely be triggering based on monster proximity before the health threshold triggers.

      -Topaz flask will be used when shocked OR below 90% hp
      -Topaz flask will be used when shocked OR when >=1 mob is within 40 units
      -Ruby flask will be used when ignited OR below 90% HP
      -Ruby flask will be used when ignited OR when >=1 mob is within 40 units
      -Sapphire flask will be used when frozen OR below 90% HP
      -Sapphire flask will be used when frozen OR when >=1 mob is within 40 units
      -Jade flask will be used when below 75% hp / 50% ES
       

      Attached Files:

      Last edited: Nov 4, 2014
    9. naut

      naut Community Developer

      Joined:
      Feb 9, 2012
      Messages:
      277
      Likes Received:
      21
      Trophy Points:
      18
      Added support for Jade flask, as well as Lavianga's Spirit.

      Changed the logic for atziri's flask to be based on life and es for the leach rather then boss presence for the damage boost.
       
    10. naut

      naut Community Developer

      Joined:
      Feb 9, 2012
      Messages:
      277
      Likes Received:
      21
      Trophy Points:
      18
      Changed the logic of all flasks that use both ES and Health triggers to allow for inputing 0 to ignore the use of flask on health or ES. This is to prevent unwanted use of flasks if you pick up 1 piece of gear with 30 random ES on it or whatever as a character that isn't stacking ES.

      Also noticed a few errors related to ES triggers, those have been fixed.

      New version posted.
       
    11. masterashh

      masterashh New Member

      Joined:
      Mar 15, 2014
      Messages:
      65
      Likes Received:
      0
      Trophy Points:
      0
      Hi.

      Its possible edit the code to use Rary Flask when have a any unique monster in the screen not just piety or dom?

      Thanks naut.
       
    12. naut

      naut Community Developer

      Joined:
      Feb 9, 2012
      Messages:
      277
      Likes Received:
      21
      Trophy Points:
      18
      I'm sorry but i've been asked probably 100 times the same question and since day 1 it has been answered in the original post.
       
    13. lancerx78

      lancerx78 New Member

      Joined:
      Sep 30, 2012
      Messages:
      108
      Likes Received:
      0
      Trophy Points:
      0
      I can never get my bot to use topaz flask, I would prefer that he just use it everytime its up really. He is a CoC lightning spec and can kill himself to reflect. But the topaz is surgeons and has almost 100% uptime, would be nice if the bot would use it. I don't think Iv ever saw the bot use the topaz once though. Is there something I can do to get it working more often?
       
    14. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      The AutoFlask plugin only contains basic logic for health/mana flasks. The API we have supports using any flask though. However, there's no set of default logic we could implement that covers all the possibilities in this game.

      With traditional development, features are coded in, and the gui is updated accordingly. If you try to do that in this game, what you'll end up with is having to constantly add more logic that checks for very specific scenarios before performing an action. This spirals out of control, as the number of possible scenarios might want to be handled is quite extensive in a game like this.

      So for example, consider the fact you have a very specific build, and are using a very specific flask (mods) that allows you to use it in ways that other people wouldn't be able to. With our current setup, you could modify the AutoFlask plugin to work the way you need it to, but we could not make that the default, since your needs vary from other people's. We couldn't start taking requests for features like those to include, because then the code becomes overly complex, and things are complicated for everyone else. This is pretty much the same issues with the way CRs currently work.

      I do think there's a solution though, and I talk about it in this reply. However, it's not possible to implement that anytime soon, and switch everything over, so it's something I'll be looking at for the future. For now, users have to do a bit of coding to get things working the way they need, because there's no other feasible way for us to do it with the current system. We have the tools to do it, but it's quite a large design change, and we'er already coming off of an entire project rewrite in September.
       
    15. lancerx78

      lancerx78 New Member

      Joined:
      Sep 30, 2012
      Messages:
      108
      Likes Received:
      0
      Trophy Points:
      0
      Thank you for your reply and explanation. But would it be possible to set it to use topaz flask for example every time your health hits a certain level like the health pots? It would be nice if my character would just pop topaz every time health dipped below 95% say.
       
    16. seankim

      seankim Member

      Joined:
      Dec 20, 2013
      Messages:
      115
      Likes Received:
      1
      Trophy Points:
      18
      Could you please add support for Rumi's Concoction?
      Thanks naut@
       
    17. naut

      naut Community Developer

      Joined:
      Feb 9, 2012
      Messages:
      277
      Likes Received:
      21
      Trophy Points:
      18
      Read the original post.. it uses topaz if your hp or ES falls below the threshhold and you are also shocked.

      The shock requirement is there to ensure your not blowing topaz on mobs that aren't doing lightning damage.
       
    18. naut

      naut Community Developer

      Joined:
      Feb 9, 2012
      Messages:
      277
      Likes Received:
      21
      Trophy Points:
      18
      Rumi's concoction will be used the same as any other granite flask.. I cannot think of a more specific way to use it then just using it in place of a normal granite.
       
    19. Farsight9

      Farsight9 New Member

      Joined:
      Jun 5, 2014
      Messages:
      22
      Likes Received:
      1
      Trophy Points:
      0
      Excellent. I will donate asap.
       
    20. naut

      naut Community Developer

      Joined:
      Feb 9, 2012
      Messages:
      277
      Likes Received:
      21
      Trophy Points:
      18
      Thanks bro :)
       

    Share This Page