• Visit Rebornbuddy
  • [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
      Make sure you don't use nullroutine ;)
       
    2. dbuddy2

      dbuddy2 New Member

      Joined:
      Mar 6, 2015
      Messages:
      206
      Likes Received:
      0
      Trophy Points:
      0
      not working for me
      it started once or twice with a fresh EB install, but after some basic settings it makes EB crash
       
    3. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      only on your side, using it 10+ hours a day and it wiorks. Also, without log it doesnt help
       
    4. Unsupported

      Unsupported Member

      Joined:
      Apr 20, 2015
      Messages:
      77
      Likes Received:
      3
      Trophy Points:
      8
      With the newest Build 1091 the Buddy just closes:

      2015-08-17 17:32:43,177 [11] ERROR CustomLogger (null) - [Reload] An exception occurred.
      System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.TypeInitializationException: Der Typeninitialisierer für "FlaskHelper.Main" hat eine Ausnahme verursacht. ---> System.InvalidCastException: Das Objekt des Typs "Loki.Bot.Logic.Routines.NullRoutine.NullRoutine" kann nicht in Typ "OldRoutine.OldRoutine" umgewandelt werden.
      bei FlaskHelper.Helpers.RoutineHelpers..ctor() in \Plugins\FlaskHelper\Helpers\RoutineHelpers.cs:Zeile 12.
      bei FlaskHelper.Main..cctor() in \Plugins\FlaskHelper\Main.cs:Zeile 20.
      --- Ende der internen Ausnahmestapelüberwachung ---
      bei FlaskHelper.Main..ctor()
      --- Ende der internen Ausnahmestapelüberwachung ---

      Sorry!
       
    5. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Use something else than NullRoutine
       
    6. Unsupported

      Unsupported Member

      Joined:
      Apr 20, 2015
      Messages:
      77
      Likes Received:
      3
      Trophy Points:
      8
      Lol, and I have no clue how the Buddy changed to the NullRoutine... Sorry for my ignorance :)
       
    7. Laugh

      Laugh New Member

      Joined:
      Apr 26, 2014
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      0
      Very little to nitpick about this one. Works reliably.

      The ONE complaint I have with this plugins is that my curse flask is always down when running a map mod with EW,ENF,TC,etc as those are non-removable with curse immunity flasks. Not sure if possible, but a workaround would be nice.
       
    8. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      I need to figure out if we can check map affixes
       
    9. OneStopMMO

      OneStopMMO New Member

      Joined:
      Jul 29, 2013
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
    10. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Need to change stuff as for totemizer routine, but for Typhonis. Gonna try to make it generic instead really soon(tm)
       
    11. OneStopMMO

      OneStopMMO New Member

      Joined:
      Jul 29, 2013
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      Thanx for everything good sir.
       
    12. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Got it, also added a "Warden" affix update for maps with shitty mods like elemental weakness and such.

      Your routine has to be compatible with the new system, see the following :

      NOTE : Custom routines must have this implemented : http://puu.sh/jQREn/1839d597dc.txt
       
    13. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      How u gonna set the combat range without a type u twat. Unless you don't need to, aw well, next build everything fixed[SUP]tm[/SUP]
       
    14. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Why would I need a setter for combat range you crapfuck ? it's a flask plugin :D
       
    15. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      New version (1.0.1.1) online, tested and working. Now generic with every routine that have the shit implemented in that post : THIS ONE

      So if Flaskhelper spams something in about the routine that doesn't implement blablabla, blame the routine dev. tyvm :D
       
    16. Sebozz

      Sebozz Banned

      Joined:
      Aug 19, 2015
      Messages:
      398
      Likes Received:
      0
      Trophy Points:
      0
      what i must fill in here?

      Code:
      using Loki.Bot; 
      
      namespace FlaskHelper.Helpers 
      { 
          public class RoutineHelpers 
          { 
              private XXXXXX routine; 
              private [B]YYYYYY[/B] settings; 
      
              public RoutineHelpers() 
              { 
                  routine = (XXXXXX)RoutineManager.CurrentRoutine; 
                  settings = [B][B](YYYYYY)[/B][/B]routine.Settings; 
              } 
      
              public bool IsCrDisabled { get { return GetCombatRange() < 5; } } 
                   
              public int GetCombatRange() 
              { 
                  return settings.CombatRange; 
              } 
          } 
      }
      the setting name? like Totemizer?
       
    17. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Nothing, last version include generalization of routines, your routine just have to implement what it needs to.
       
    18. Sebozz

      Sebozz Banned

      Joined:
      Aug 19, 2015
      Messages:
      398
      Likes Received:
      0
      Trophy Points:
      0
      but i get compiler errors :D using totemizer routine
       
    19. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Send it, so I can take a look.
       
    20. Hatefull

      Hatefull Member

      Joined:
      Jun 16, 2012
      Messages:
      74
      Likes Received:
      1
      Trophy Points:
      8
      Hey there!

      Any chance you could add Blood Magic/Mortal Conviction + Zealot's Oath support? So "Special Flasks" would trigger from ES and Life flasks would trigger from the remaining life? Essentially this would enable casting spells using Life without Life reg.

      Or do the options "Enable Blood Magic" + "Use Energy Shield for Thresholds" already do this? Because the tooltip of "Enable Blood Magic" only states "Disables Mana Flask Support".

      Edit: Tested it ingame, bot is not using Life Flasks when using Blood Magic and ES Threshold together when ES is on 100% and life under life flask threshold. Can you maybe add an option to separate Life Flasks and Special Flasks or add this behavior when enabling Blood Magic and ES thresholds?
       
      Last edited: Sep 1, 2015

    Share This Page