Miragex01
-
Posts
70 -
Joined
-
Last visited
Reputation Activity
-
Miragex01 reacted to sith500 in game object
This better
var Object = ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(1234)); // or var Object = ObjectManager.GetObjectWoWGameObject().Where(o => o.IsValid && o.Entry == 1234).OrderBy(o => o.GetDistance).FirstOrDefault(); if (GoToTask.ToPosition(new Vector3(1, 2, 3, "Flying"))) // replace "flying" with "None" to ground move { if (Object != null) { Interact.InteractGameObject(Object.GetBaseAddress); Usefuls.WaitIsCasting(); } }
Recommend:
-
Miragex01 reacted to TheSmokie in Buy item for quest
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NPC, 2, false); Lua.LuaDoString<int>("BuyMerchantItem(1, 1)"); This will work (Tested)
-
Miragex01 reacted to TheSmokie in quests and buy equip
Hello, use quest type "Override Pulse CSharp Code" with code:
var npc = new Npc { Entry = 1247, // Npc ID Position = new Vector3(-5601.6, -531.203, 399.6539), Type = Npc.NpcType.Vendor }; int itemId = 2894; // Item ID if (GoToTask.ToPositionAndIntecractWith(npc)) { Vendor.BuyItem(ItemsManager.GetNameById(itemId), 1); } return true; also for runcode action use this .
if (ObjectManager.Me.WowClass == WoWClass.class && ObjectManager.Me.Level <= 0) // change "Class" to what class you are. set level to level you want to get item at. { wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NpcID, 1, false); System.Threading.Thread.Sleep(5000); wManager.Wow.Helpers.Vendor.BuyItem("Skinning Knife",1); // change Skinning Knife to what item you want. do not remove "" System.Threading.Thread.Sleep(5000); } if (ItemsManager.HasItemById(3108)) // change 3108 to the item id { ItemsManager.UseItem(3108); // change 3108 to the item id }
-
Miragex01 reacted to Dreamful in function helper
Yes it is possible. In LUA for Grounding Totem would be simple this,
if UnitBuffID("arena1", 8178) -- Checks if arena target has the Grounding Totem buff or UnitBuffID("arena2", 8178) or UnitBuffID("arena3", 8178) then RunMacroText("/petattack Grounding Totem") -- Sends pet to Grounding Totem end Just change up the ID with the Tremor Totem Buff.
-
Miragex01 reacted to Matenia in Configure repair
wRobot goes to repair of ObjectManager.Me.DurabilityPercentage <= 30
This can't be configured. It's an average of all items you have equipped and probably accounts for empty slots
-
Miragex01 reacted to zzzar in if and while
You can use, for example , wManager.Wow.Helpers.Usefuls.MapZoneName == "Elwynn Forest" for zone names or wManager.Wow.Helpers.Usefuls.SubMapZoneName == "Crystal Lake" for subzones
-
-
Miragex01 reacted to FNV316 in enemy pets
Hey,
General Settings -> Enter advanced Settings -> Class / Fight Class -> Ignore combat with all pets (will ignore combat with companions of NPCs and other players)
-
Miragex01 reacted to Droidz in Food and drink
In advanced general settings tab "Food/Drink" put your item name in "Food name" and "Drink name"