What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] FlaskHelper

Which kind of flasks do you have in your bars? I suspect some unique flasks ;D It was a placeholder I need to fix it, it's an old behavior for the old EB, but atleast I know it's not working :D. I have a little idea how to fix it



Fixed in the next verion, Changelog :

v1.0.0.4
+ Added Cooldown customization for life flask & mana flask

~ Fixed overall life flask usage
~ Changed settings file directory to fit with new EB

ETA : Today ;)

Hi, yes I have a divination. Thanks for checking!
 
It seems like I need additional checks for currentTarget, actorType and stuff so it doesn't trigger when it's doors but only monsters ;)

1.0.0.4 is out.

Changelog :

v1.0.0.4
+ Added Cooldown customization for life flask & mana flask

~ Fixed overall life flask usage
~ Attempt to fix thrown TargetHelpers errors (sfrattini) NEED FEEDBACK
~ Changed settings file directory to fit with new EB
 
Latest version seems to be working very well so far. Thank you, nice work!
 
When using this can i disable the default flask plug in? probably a dumb question lol
 
Yeah, it replace autoflask ;)
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
            }
 
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
            }

Added in the next build ;) thought about adding it but in Enable(), dunno if it makes any difference.
 
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 )
 
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 )

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
 
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

1.0.0.5 is out !

Changelog :

v1.0.0.5
+ FlaskHelper now disable AutoFlask on start to avoid any conflict, and anyway, this one is better.

~ Attempt to fix Target check (needs testing)
~ Fixed some GUI Bullshit
 
Last edited:
1.0.0.5 is out !

Changelog :

v1.0.0.5
+ FlaskHelper now disable AutoFlask on start to avoid any conflict, and anyway, this one is better.

~ Attempt to fix Target check (needs testing)
~ Fixed some GUI Bullshit

Looks good, thanks for the update.
 
Anyway to add a checkbox to disable the Quicksilver potting Tony? TY!
 
Anyway to add a checkbox to disable the Quicksilver potting Tony? TY!

Sure thing ;)

Actual changelog :

v1.0.0.6
+ Added checkbox to enable/disable quicksilver flask

~ PlayerStates are now dispeled with any flasks (prior we were excluding instant flasks)
 
Last edited:
Getting an error during startup :(

[OnStartup] A top-level exception has been caught.System.IO.FileNotFoundException: Could not find file 'C:\Users\Devin\Desktop\Kalandra\Plugins\FlaskHelper\FlaskSettingsForm.xaml'.
File name: 'C:\Users\Devin\Desktop\Kalandra\Plugins\FlaskHelper\FlaskSettingsForm.xaml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at FlaskHelper.Main.get_Control() in c:\Users\Devin\Desktop\Kalandra\Plugins\FlaskHelper\FlaskHelper-master\Main.cs:line 55
at BotGui.Windows.MainWindow.HandleInterfaces(Object obj)
at BotGui.Windows.MainWindow.<OnStartup>b__19()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at BotGui.Windows.MainWindow.<OnStartup>b__6(Object o)
 
Getting an error during startup :(

Create a new folder called "FlaskHelper" in your plugins folder, then just extract the files in it (you can ignore the ".gitattributes" and "README.md" ;)).
Your path should look like this : "X:\....\Plugins\FlaskHelper\Main.cs"

;) extracts the files of the FlaskHelper-master in the "FlaskHelper" folder, not the whole directory.
 
Back
Top