Now Magitek isn't working for me at all. I don't know why. I'll post a log.
It's just running to the fate and stops.I'll post a log. View attachment 144261
[07:31:43.877 D] System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at ff14bot.Helpers.MultiKeyDictionary`3.TryGetValue(L subKey, V& val)
at ff14bot.Helpers.MultiKeyDictionary`3.ContainsKey(L subKey)
at ff14bot.Managers.Actionmanager.HasSpell(String spellName)
at Magitek.Helpers.Casting.<>c__DisplayClass3.<Cast>b__0(Object ret) in c:\Users\Darryl\Desktop\X-Files\RebornBuddy\Routines\Magitek\Helpers\Casting.cs:line 20
at TreeSharp.Decorator.CanRun(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at ff14bot.Behavior.HookExecutor.Run(Object context)
at TreeSharp.Action.RunAction(Object context)
at TreeSharp.Action.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at ff14bot.TreeRoot.()
public static Composite Cast(Selection<string> spell, Selection<bool> reqs = null, Selection<GameObject> onTarget = null, Selection<int> nonspam = null, Selection<bool> doublecast = null)
{
return new Decorator(ret =>
{
[B]if (!Actionmanager.HasSpell(spell(ret)))[/B]
return false;
Now Magitek isn't working for me at all. I don't know why. I'll post a log.
It's just running to the fate and stops.I'll post a log. View attachment 144261
[17:24:32.761 D] System.NullReferenceException: Object reference not set to an instance of an object.
at Magitek.Helpers.Combat.CheckForInterrupt() in e:\Addons\FF XIV\Reborn buddy\Routines\Magitek\Helpers\Combat.cs:line 84
at Magitek.Rotations.Bard.<CreateCombatBuffs>b__3(Object r) in e:\Addons\FF XIV\Reborn buddy\Routines\Magitek\Rotations\Bard.cs:line 51
at Magitek.Helpers.Casting.<>c__DisplayClass3.<Cast>b__0(Object ret) in e:\Addons\FF XIV\Reborn buddy\Routines\Magitek\Helpers\Casting.cs:line 23
at TreeSharp.Decorator.CanRun(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at ff14bot.TreeRoot.()
That's because that pull range box wasn't actually being used but it is now. If you set it further than any ability can reach, that will happen with every class.Odd, piercing talon has always been 40 by default for me.
If this is something I can fix, it should be fixed now with the update I'm making.Interrupt error again
pls fix it.
Thank you!Update : Fixed null reference error when trying to interrupt.
[11:33:20.366 D] System.NullReferenceException: Object reference not set to an instance of an object.
at Magitek.Helpers.Combat.CheckForInterrupt() in e:\Addons\FF XIV\Reborn buddy\Routines\Magitek\Helpers\Combat.cs:line 84
at Magitek.Rotations.Bard.<CreateCombatBuffs>b__3(Object r) in e:\Addons\FF XIV\Reborn buddy\Routines\Magitek\Rotations\Bard.cs:line 51
at Magitek.Helpers.Casting.<>c__DisplayClass3.<Cast>b__0(Object ret) in e:\Addons\FF XIV\Reborn buddy\Routines\Magitek\Helpers\Casting.cs:line 23
at TreeSharp.Decorator.CanRun(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at ff14bot.TreeRoot.()
What specific ability are you trying to silence? I've tried this a bunch of times on a bunch of different abilities in a lot of different instances I never get this. Try making a new folder with a fresh install of RB and Magitek and see if it still happens.i tested. still not work.
I tested this some more today and it looks like it can't really be fixed right now. Certain abilities don't correctly return their name when queried. Maybe abilities added since 2.3 or maybe earlier haven't been indexed. The only real option right now is disabling interrupt.++
i tested. still not work.
I tested this some more today and it looks like it can't really be fixed right now. Certain abilities don't correctly return their name when queried. Maybe abilities added since 2.3 or maybe earlier haven't been indexed. The only real option right now is disabling interrupt.
private async Task<bool> BluntArrow()
{
var partyManager = new HealManager.HealingManager();
var _totalParty = partyManager.TotalParty.Select(r => r.ObjectId).ToList();
var spells = new List<string> { ConjurerSpells.CureII.Name, ConjurerSpells.Medica.Name, ConjurerSpells.MedicaII.Name, ArcanistSpells.Physick.Name, ScholarSpells.Adloquium.Name };
var unit = (from a in GameObjectManager.GetObjectsOfType<BattleCharacter>()
where a.CanAttack
where !_totalParty.Contains(a.ObjectId)
where a.Distance(Core.Player) < 25
where a.IsCasting && spells.Contains(a.SpellCastInfo.SpellData.Name)
select a).FirstOrDefault();
if (unit != null)
{
await BardSpells.BluntArrow.Cast(unit);
Logging.Write(Colors.OrangeRed, "[MoreDots] Interrupting " + unit.Name);
}
{
return false;
}
}
Mastahg seems to suggest that my code is fine and that there is actually a problem with SpellCastInfo.Name.I'm going to reply in the Community Developer Forum as well....but this is the code I have in MoreDots for Bard's BluntArrow:
This doesn't exactly translate over to the Treesharp that Magitek is written in....but try using SpellCastInfo.SpellData.Name instead of just SpellCastInfo.Name. I think doing that will fix your issue.
Log(((BattleCharacter)Core.Player.CurrentTarget).SpellCastInfo.ActionId);
Log(((BattleCharacter)Core.Player.CurrentTarget).SpellCastInfo.ActionType);