Jump to content

Droidz

Administrators
  • Posts

    12596
  • Joined

  • Last visited

Everything posted by Droidz

  1. Hello, no with default features
  2. Hello, if you can wait next update
  3. Hello, yes and you have free trial verison to test if WRobot works on your private server
  4. Sorry, I read your post to quickly, use code like: wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) => { var me = wManager.Wow.ObjectManager.ObjectManager.Me; if (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && unit.IsValid && !me.IsCast && unit.IsGoodInteractDistance) // put here your conditions to running backwards { var p = robotManager.Helpful.Math.GetPosition2DOfAngleAndDistance(me.Position, robotManager.Helpful.Math.GetAngle(unit.Position, me.Position), wManager.Wow.Helpers.CustomClass.GetRange - unit.GetDistance - 3); var z = wManager.Wow.Helpers.PathFinder.GetZPosition(p); if (z != 0) { p.Z = z; wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p, 3.5f, true, context => (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)); } } };
  5. Hello, try lua code like: local name = GetSpellInfo(12345); RunMacroText("/cancelaura " .. name) (replace 12345 by your spell id)
  6. Droidz

    pet battle

    Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  7. Hello, do you use last version of WRobot, I have try to resovled this problem
  8. Hello, you can increment npc seearch distance in general settings
  9. Hello, you use last WRobot verison? Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  10. Add this line (before use item): wManager.Wow.Bot.Tasks.MountTask.DismountMount();
  11. Can you send me all items name (of you bag, you can get list in tab "tools" > "dev... tools") when you get this error:
  12. Hello, use quest type "OverridePulseCSharpCode" with the code: if (!wManager.Wow.Helpers.ItemsManager.HasItemById(38607)) { GoToTask.ToPositionAndIntecractWithGameObject(new robotManager.Helpful.Vector3(2491.9, -5636.3, 420.6), 190584); System.Threading.Thread.Sleep(1000); } else { GoToTask.ToPosition(new robotManager.Helpful.Vector3(2491.9, -5636.3, 420.6)); wManager.Wow.Helpers.ItemsManager.UseItem(38607); MovementManager.StopMove(); System.Threading.Thread.Sleep(1000 * 11); } return true; Sample: dktest.xml
  13. Update done
  14. https://wrobot.eu/forums/topic/7613-update-status-patch-730-build-25480/
  15. https://wrobot.eu/forums/topic/7613-update-status-patch-730-build-25480/
  16. Changed Status to Not a Bug Changed Version to All
  17. Update in progress
  18. Vous pouvez également essayer cette version (pour que wrobot depop la monture avant de cliquer): using System.Threading; using System.Windows.Forms; using wManager.Wow.Bot.Tasks; using wManager.Wow.Enums; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; using Timer = robotManager.Helpful.Timer; public class Main : wManager.Plugin.IPlugin { public void Initialize() { wManager.Events.InteractEvents.OnInteractPulse += (target, cancelable) => { try { if (!ObjectManager.Me.IsMounted && !ObjectManager.Me.GetMove) return; var o = ObjectManager.GetObjectByGuid(target); if (o.IsValid && o.Type == WoWObjectType.GameObject) { MountTask.DismountMount(); Thread.Sleep(Usefuls.Latency + 500); var t = new Timer(2000 + Usefuls.Latency); while (!t.IsReady && (ObjectManager.Me.IsMounted || ObjectManager.Me.GetMove)) { Thread.Sleep(50); } } } catch { } }; } public void Dispose() { } public void Settings() { MessageBox.Show("No settings for this plugin."); } }
  19. using System.Threading; using System.Windows.Forms; using robotManager.Helpful; using wManager.Wow.Enums; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : wManager.Plugin.IPlugin { public void Initialize() { wManager.Events.InteractEvents.OnInteractPulse += (target, cancelable) => { try { if (Var.GetVar<object>("LastTargetSkin") == (object)target) return; Var.SetVar("LastTargetSkin", target); var o = ObjectManager.GetObjectByGuid(target); if (o.IsValid && o.Type == WoWObjectType.GameObject) { var u = new WoWGameObject(o.GetBaseAddress); if (u.IsValid) { new Thread(delegate () { Thread.Sleep(500 + Usefuls.Latency); Interact.InteractGameObject(u.GetBaseAddress); }).Start(); } } } catch { } }; } public void Dispose() { } public void Settings() { MessageBox.Show("No settings for this plugin."); } } C'est le double cliques pour les gameobjects
  20. Hello, If you use this: https://wrobot.eu/forums/topic/4721-use-hearthstone-when-bags-are-full/?do=findComment&comment=21875 edit plugin with notepad and replace: Lua.LuaDoString("local itemName, _, _, _, _, _, _, _ = GetItemInfo(6948); RunMacroText('/use ' .. itemName);"); by wManager.Wow.Helpers.ItemsManager.UseItem(6948);
  21. I need positiion and continent name
  22. Hello, You cannot with default, but if you use custom code (plugin in this sample): using System; using System.Collections.Generic; public class Main : wManager.Plugin.IPlugin { public void Initialize() { // NPC list var npcs = new List<Tuple<int, int, wManager.Wow.Class.Npc>> // Item1=minlevel, Item2=maxlevel, Item3=npc { new Tuple<int, int, wManager.Wow.Class.Npc>(1, 5, new wManager.Wow.Class.Npc { Type = wManager.Wow.Class.Npc.NpcType.Repair, Name = "Npc name for level 1 to 5", Entry = 12345, ContinentId = wManager.Wow.Enums.ContinentId.Azeroth, Faction = wManager.Wow.Class.Npc.FactionType.Neutral, Position = new robotManager.Helpful.Vector3(1, 2, 3), CanFlyTo = true }), new Tuple<int, int, wManager.Wow.Class.Npc>(6, 9, new wManager.Wow.Class.Npc { Type = wManager.Wow.Class.Npc.NpcType.Repair, Name = "Npc name for level 6 to 9", Entry = 6789, ContinentId = wManager.Wow.Enums.ContinentId.Azeroth, Faction = wManager.Wow.Class.Npc.FactionType.Neutral, Position = new robotManager.Helpful.Vector3(6, 7, 8), CanFlyTo = true }), // ... }; // do: uint lastLevelCheck = 0; robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) => { var level = wManager.Wow.ObjectManager.ObjectManager.Me.Level; if (state != null && state.DisplayName == "To Town" && lastLevelCheck != level) { robotManager.Helpful.Logging.WriteDebug("Check NPC for current level"); wManager.Wow.Helpers.NpcDB.AcceptOnlyProfileNpc = true; wManager.Wow.Helpers.NpcDB.ListNpc.RemoveAll(n => n.CurrentProfileNpc); foreach (var npc in npcs) { if (npc.Item1 >= level && npc.Item2 <= level) { wManager.Wow.Helpers.NpcDB.AddNpc(npc.Item3, false, true); robotManager.Helpful.Logging.WriteDebug("Add npc: " + npc.Item3); } } lastLevelCheck = level; } }; } public void Dispose() { } public void Settings() { } } (not tested, tell me if this don't works) In this sample, wrobot will refresh npc list at all level (and add npcs by level), but you can add condition to check current charater zone (by position disdance), ... You can also run this code in quester step (put only content of method "Initialize()")
  23. Hello, for that use quest type "UseItemOn" (if you don't add npc/gameobject wrobot will use item at all hotspots)
  24. Hello, try to use this plugin: Main.cs public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) => { if (state != null && state.DisplayName == "Battlegrounder Combination") { cancelable.Cancel = true; } }; } public void Dispose() { } public void Settings() { } }
×
×
  • Create New...