July 27, 20178 yr Hello, you can try to add gate in object at harvest (wManager.wManagerSetting.CurrentSetting.ListHarvest.Add(190942);) and use quest type "UseSpellOn"
July 27, 20178 yr 2 hours ago, Droidz said: Hello, you can try to add gate in object at harvest (wManager.wManagerSetting.CurrentSetting.ListHarvest.Add(190942);) and use quest type "UseSpellOn" dont do that. whe DK port in akerus then it will try to gather other DK gates and can stuck forever if your akerus have tons of dk
July 27, 20178 yr Ok, try to use quest type "OverridePulseCSharpCode" and use code like : new Spell("Death Gate", false).Launch(); Thread.Sleep(Usefuls.Latency + 500); if (ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(190942)).GetDistance < 10) wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(ObjectManager.Me.Position, 190942); return true;
July 27, 20178 yr Author Quote new Spell("Death Gate", false).Launch(); Thread.Sleep(Usefuls.Latency + 500); if (ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(190942)).GetDistance < 10) wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(ObjectManager.Me.Position, 190942); return true; this does not work :-(
July 27, 20178 yr var _deathKnightDeathGate = new Spell("Death Gate"); var _deathKnightDeathGateExitPosition = new Vector3(2359.64, -5662.41, 382.2605, "None"); if (me.WowClass == WoWClass.DeathKnight && _deathKnightDeathGate.KnownSpell)// && _deathKnightDeathGate.IsSpellUsable) { //akerus if (Usefuls.AreaId == 139) { var myPos = ObjectManager.Me.Position; if (myPos.DistanceTo(_deathKnightDeathGateExitPosition) < 5) { myPos = robotManager.Helpful.Math.GetRandomPointInCircle(myPos, 10); GoToTask.ToPosition(myPos); return true; } } SpellManager.CastSpellByNameLUA(_deathKnightDeathGate.NameInGame); Usefuls.WaitIsCasting(); Thread.Sleep(Others.Random(1000, 2000)); var gate = ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(190942)); if (gate != null && gate.IsValid && gate.CreatedBy == ObjectManager.Me.Guid) { GoToTask.ToPositionAndIntecractWithGameObject(gate.Position, gate.Entry); //Death Gate } } if you dont understand this code, then leave it
July 28, 20178 yr Author Thanks guys! It turned out to combine the codes and make the working result :-)
Create an account or sign in to comment