sometime wrobot stuck with "ObjectManager.Me.IsCast = true" even if nothing casing, character just stay in place and stop responding to attacks and others actions.
this happens sometimes on other classes/fightclasses/quests.
but i found quest when this happend often. this quest have 4 objectives, http://www.wowhead.com/quest=38015/on-the-brink
each objective to cast long spell from item http://www.wowhead.com/item=138146/radiant-ley-crystal
its 50% of time wrobot stuck on cast. after stuck, "stop" button not responding. only closing wrobot helps.
attached log and screenshot. dev tool code
Logging.Write("## TEST " + wManager.Wow.ObjectManager.ObjectManager.Me.IsCast ); // wManager.DevelopmentTools.OutPutCSharp= // Execute time: 547
just in case, quest code:
#if VISUAL_STUDIO using robotManager.Helpful; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using wManager.Wow.Bot.Tasks; using wManager.Wow.Class; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; using wManager.Wow.Enums; #endif public class OntheBrink : QuestClass { uint _itemID = 138146; float _minDist = 9; List<Vector3> _hotspots = new List<Vector3>() { new Vector3(), new Vector3(580.2465, 6624.608, 57.83238), new Vector3(648.5121, 6717.858, 57.89808), new Vector3(614.2483, 6668.945, 60.23647), new Vector3(708.4583, 6554.415, 63.7892), }; List<int> _mobs = new List<int>() { 0, 107962, 107963, 107961, 107964, }; public OntheBrink() { Name = "On the Brink"; QuestId.Add(38015); Step.AddRange(new[] { 1, 1, 1, 1, 0 }); } public override bool Pulse() { //4-1-3-2 RunObjective(4); RunObjective(1); RunObjective(3); RunObjective(2); return true; } void RunObjective(int num) { if (Questing.ObjectiveComplete(this, num)) return; if (GoToTask.ToPosition(_hotspots[num], _minDist)) { var mob = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry( _mobs[num])); if (mob != null && mob.IsValid) { Interact.InteractGameObject(mob.GetBaseAddress); MovementManager.Face(mob); Thread.Sleep(Usefuls.Latency); ItemsManager.UseItem(_itemID); Usefuls.WaitIsCasting(); } } } }
Attached Files:
590359d27d5bf_28201720H57.log.html
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now