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

Hey toNyx, Any plans for the bot to use quicksilver flasks? That flask alone would make my clear times 2-3 times faster since the bot hates using flame dash for whatever reason
 
Yup, you have to edit RoutineHelper(s).cs to fit your routine Namespace
Thank you very much.

I am not good at edit the code. Just make another copy of whole EB and change the RoutineHelpers.cs to

PHP:
using Loki.Bot;

namespace FlaskHelper.Helpers
{
    public class RoutineHelpers
    {
        private Totemizer.Totemizer routine;
        private Totemizer.TotemizerSettings settings;

        public RoutineHelpers()
		{
            routine = (Totemizer.Totemizer)RoutineManager.CurrentRoutine;
            settings = (Totemizer.TotemizerSettings)routine.Settings;
		}

        public bool IsCrDisabled { get { return GetCombatRange() < 5; } }
			
		public int GetCombatRange()
		{
			return settings.CombatRange;
		}
    }
}

Now, it works.
 
doesnt work divination build srs

doesnt work divination flask Trigger


my build is SRS. anyone have same trouble :o?

sorry not good english
 
situation Piety HP 15%-0% -> MY HP50-75%use graniteflask InstantLifeFlask Only Not Use MF Flask

https://gyazo.com/f467b6b005743ad7f765b13c07d701e4 My Plugin Settings

for use piety run and target piety

Do you know how to retrieve the ID of the "buff" you get when using divination?

Else just go in objectexplorer,
Drink potion,
Refresh,
See player's auras and search for the flask's one, gimme the infos about it.
 
[Aura]
BaseAddress: 0x94694938
SubInfo: 0xAC48BF08
Name: Divination Distillate
InternalName: unique_flask_divination_distillate
Description: Grants increased Item Quantity, Item Rarity, Maximum Elemental Resistances and Light Radius
CasterId: 72
OwnerId: 0
BuffType: 0
TimeLeft: 00:00:03.0400000
MaxTimeLeft: 00:00:04.4240000
Charges: 1
IsInvisible: False
IsRemovable: False

[Aura]
BaseAddress: 0x94698528
SubInfo: 0xAC488B60
Name: Regenerating Mana
InternalName: flask_effect_mana
Description:
CasterId: 72
OwnerId: 0
BuffType: 0
TimeLeft: 00:00:03.0400000
MaxTimeLeft: 00:00:04.4240000
Charges: 1
IsInvisible: True
IsRemovable: False

https://gyazo.com/b0bed66121e4e8d0474ff7754f9b7d71


Is it all right?
 
[Aura]
BaseAddress: 0x94694938
SubInfo: 0xAC48BF08
Name: Divination Distillate
InternalName: unique_flask_divination_distillate
Description: Grants increased Item Quantity, Item Rarity, Maximum Elemental Resistances and Light Radius
CasterId: 72
OwnerId: 0
BuffType: 0
TimeLeft: 00:00:03.0400000
MaxTimeLeft: 00:00:04.4240000
Charges: 1
IsInvisible: False
IsRemovable: False

[Aura]
BaseAddress: 0x94698528
SubInfo: 0xAC488B60
Name: Regenerating Mana
InternalName: flask_effect_mana
Description:
CasterId: 72
OwnerId: 0
BuffType: 0
TimeLeft: 00:00:03.0400000
MaxTimeLeft: 00:00:04.4240000
Charges: 1
IsInvisible: True
IsRemovable: False

https://gyazo.com/b0bed66121e4e8d0474ff7754f9b7d71


Is it all right?

Yup, so the aura is good, maybe the target is null or something, need to figure this out.

Can you please edit Usage.cs and find this line :

Code:
var bt = TargetHelpers.BestTarget;

Add this after it :

Code:
			if (bt == null)
				Main.Log.ErrorFormat("[FlaskHelper][Divination Distillate] Error, target is null.");
			else
				Log.ErrorFormat("[FlaskHelper][Divination Distillate] Target name : {0}", bt.Name);

Now monitor if the target is ALWAYS null, if so it's a code-sided error
 
Back
Top