• Visit Rebornbuddy
  • [Plugin] FlaskHelper

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

    1. sfrattini

      sfrattini Member

      Joined:
      Oct 4, 2012
      Messages:
      220
      Likes Received:
      4
      Trophy Points:
      18
      Hi, yes I have a divination. Thanks for checking!
       
    2. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      It seems like I need additional checks for currentTarget, actorType and stuff so it doesn't trigger when it's doors but only monsters ;)
       
    3. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
    4. j19

      j19 Member

      Joined:
      Mar 13, 2014
      Messages:
      59
      Likes Received:
      1
      Trophy Points:
      8
      Latest version seems to be working very well so far. Thank you, nice work!
       
    5. Darox

      Darox Member

      Joined:
      Nov 7, 2014
      Messages:
      353
      Likes Received:
      2
      Trophy Points:
      18
      When using this can i disable the default flask plug in? probably a dumb question lol
       
    6. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Yeah, it replace autoflask ;)
       
    7. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Hey toNyx,
      I'm sure Pushedx won't mind =).
      Just add this to Start()
      Code:
                  var plugin = PluginManager.EnabledPlugins.FirstOrDefault(n => n.Name == "AutoFlask");
                  if (plugin != null)
                  {
                      Log.ErrorFormat("[FlaskHelper] AutoFlaskIs Enabled, will cause issues with this plugin. Disabling it.");
                      PluginManager.Disable(plugin);
                      // you have your IPlugin, and it's in EnabledPlugins
                  }
       
    8. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Added in the next build ;) thought about adding it but in Enable(), dunno if it makes any difference.
       
    9. sfrattini

      sfrattini Member

      Joined:
      Oct 4, 2012
      Messages:
      220
      Likes Received:
      4
      Trophy Points:
      18
      hi,

      I am getting this now, basically every action:

      Code:
      Exception during plugin Tick.System.NullReferenceException: Object reference not set to an instance of an object.
         at FlaskHelper.Helpers.TargetHelpers.get_CurrentTargetIsMonster() in d:\Games\Path Of Exile 2015\Messenger\Plugins\FlaskHelper\Helpers\TargetHelpers.cs:line 14
         at FlaskHelper.Helpers.TargetHelpers.get_BestTarget() in d:\Games\Path Of Exile 2015\Messenger\Plugins\FlaskHelper\Helpers\TargetHelpers.cs:line 9
         at FlaskHelper.Usage.ShouldUseDivinationFlask(Int32 flaskId) in d:\Games\Path Of Exile 2015\Messenger\Plugins\FlaskHelper\Usage.cs:line 284
         at FlaskHelper.Usage.CheckFlaskUsage(FlaskTypes flaskType, Single flaskThreshold) in d:\Games\Path Of Exile 2015\Messenger\Plugins\FlaskHelper\Usage.cs:line 79
         at FlaskHelper.Main.Tick() in d:\Games\Path Of Exile 2015\Messenger\Plugins\FlaskHelper\Main.cs:line 161
         at Loki.Bot.PluginManager.(IPlugin )
      
       
    10. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Woopsy, I probably forgot the double check in the helpers... My bad :D gonna fix it tonight or maybe tomorrow, but you shouldnt worry about the error, i won't affect any performances. ;) sorry for that mistake
       
    11. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      1.0.0.5 is out !

      Changelog :

      You need to register and have one post to see spoilers!
       
      Last edited: Jan 29, 2015
    12. sfrattini

      sfrattini Member

      Joined:
      Oct 4, 2012
      Messages:
      220
      Likes Received:
      4
      Trophy Points:
      18
    13. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      I need your opinion, do you think I should include instant flask for Dispel checks?
       
    14. sfrattini

      sfrattini Member

      Joined:
      Oct 4, 2012
      Messages:
      220
      Likes Received:
      4
      Trophy Points:
      18
      If you mean like bleeding etc. Yes it would be great.
       
    15. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Alright, then I'll add it in the next build ;) thanks for the info.
       
    16. IeU

      IeU Member

      Joined:
      Jul 20, 2010
      Messages:
      830
      Likes Received:
      11
      Trophy Points:
      18
      Anyway to add a checkbox to disable the Quicksilver potting Tony? TY!
       
    17. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Last edited: Jan 30, 2015
    18. g00fy_goober

      g00fy_goober New Member

      Joined:
      Jun 17, 2012
      Messages:
      281
      Likes Received:
      0
      Trophy Points:
      0
      Getting an error during startup :(

       
    19. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      ;) extracts the files of the FlaskHelper-master in the "FlaskHelper" folder, not the whole directory.
       
    20. g00fy_goober

      g00fy_goober New Member

      Joined:
      Jun 17, 2012
      Messages:
      281
      Likes Received:
      0
      Trophy Points:
      0
      Gotcha man, thanks :D
       

    Share This Page