Hey guys, I updated the Autoflask plugin for considerably more support for many flasks. The plugin will now support the use of: -Rarity Flask -Topaz Flask - Health and ES supported -Ruby Flask - Health and ES supported -Granite Flask - Health and ES supported -Quicksilver Flask -Diamond Flask -Atziri Flask -Jade Flask -Lavianga's Spirit Flask By default: -Granite/Jade flasks will be used at 90% hp / 50% ES -Quicksilver flasks will be used when there are zero mobs within 50 yards. -Topaz flask will be used when below 90% hp / 50% ES and shocked -Ruby flask will be used when below 90% hp / 50% ES and ignited -Rarity flask will be used when Piety/Dominus fall below 10% health -Diamond flask will be used when Piety/Dominus/Kole fall below 90% health -Atziri flask will be used when player hits 90%health/50% ES -Lavianga's Spirit Flask at 90% mana Rarity/Diamond are hard cases to deal with and while I would prefer they be used on all rare mobs, this is all I am able to do for now. Set the % to 0 if you do not want to use that flask based on ES or Health. View attachment AutoFlask.zip
I love your work ! is it possible you can add the usage of "Atziri's Promise Amethyst Flask" - like use it if you are in a fight and if it got enough charges to use it thanks in advance
Edit 2 : When I run outside sandbox, no problem, but inside sandbox Code: [AutoFlask] Initialize [AutoFlask] Enable [SettingsControl] SetupTextBoxBinding failed for 'GraniteFlaskPercentTriggerTextBox'. [OnStartup] A top-level exception has been caught.System.Exception: The SettingsControl could not be created. at AutoFlask.AutoFlask.get_Control() at BotGui.Windows.MainWindow.HandleInterfaces(Object obj) at BotGui.Windows.MainWindow.<OnStartup>b__14() 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__5(Object o) I do not have any issue with another plugin, any idea? Edit 3 : Renaming folder in sandbox fixed the problem Edit 4 : Works like a charm! Tyvm
Atziri's flask would need to be used on specific cases similar to how the rarity flask is set up. I can add that in and upload it a bit later.
New version posted in the original post. Plugin now supports atziri flasks as well as providing both ES and health support for granite and topaz flasks.
this plugin is awesome man. Thx a bunch! There is one problem though: -Divination Distilatte is used on Domi's first form, which of course, is pointless and kills the charges for the second form.
// Rarity var Piety = LokiPoe.ObjectManager.GetObjectByName<Monster>("Piety"); var Dom = LokiPoe.ObjectManager.GetObjectByName<Monster>("Dominus, High Templar"); var Doms = LokiPoe.ObjectManager.GetObjectByName<Monster>("Dominus, Ascendant"); Change code // Rarity var Piety = LokiPoe.ObjectManager.GetObjectByName<Monster>("Piety"); var Dom = LokiPoe.ObjectManager.GetObjectByName<Monster>("Dominus, Ascendant"); var Doms = LokiPoe.ObjectManager.GetObjectByName<Monster>("Dominus, Ascendant"); it works fine
It break Topaz flask, I suggest to comment this instead Code: /* if (Dom != null) { if (!Dom.IsDead && (Dom.HealthPercent < AutoFlaskSettings.Instance.RarityFlaskPercentTrigger)) { if (FlaskHelper(_rarityFlaskCd, AutoFlaskSettings.Instance.RarityFlaskCooldownMs, RarityFlasks)) { // ReSharper disable once RedundantJumpStatement return; } } }*/
Doms first form removed. Ruby flask added. Topaz flask logic changed. Ruby flask will now trigger if you are ignited and at the HP/ES % trigger chosen in settings. Topaz flask will now trigger if you are shocked and at the HP/ES % trigger chosen in settings. Download updated in original post.
Had some compile errors I did not notice when making the changes because the bot was not up and running. Errors fixed and new version uploaded.
even with the new version I still get this Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlask.cs(257,8) : error CS0103: The name 'Dom' does not exist in the current context Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlask.cs(259,11) : error CS0103: The name 'Dom' does not exist in the current context Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlask.cs(259,26) : error CS0103: The name 'Dom' does not exist in the current context Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlask.cs(306,8) : error CS0103: The name 'Dom' does not exist in the current context Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlask.cs(308,11) : error CS0103: The name 'Dom' does not exist in the current context Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlask.cs(308,26) : error CS0103: The name 'Dom' does not exist in the current context Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlaskSettings.cs(445,26) : error CS0103: The name '_rubyFlaskHealthPercentTrigger' does not exist in the current context Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlaskSettings.cs(448,34) : error CS0103: The name '_rubyFlaskHealthPercentTrigger' does not exist in the current context Compiler Error: c:\temp\d3\ExilebuddyBETA 0.1.2740.914\Plugins\AutoFlask\AutoFlaskSettings.cs(452,17) : error CS0103: The name '_rubyFlaskHealthPercentTrigger' does not exist in the current context
Hmm.. I will reupload to confirm I did not post the wrong version.. but that issue should be fixed. Redownload the link in the first post.