D] 06:17:39 - [Memory] D3D9 used[E] 06:17:46 - DisposeHooking(): System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в robotManager.MemoryClass.Hook.DisposeHooking(Boolean closeMemory)
maybe try try reinstalling or using the repair tool
if you want to add a if statement you can. sorry i was half dead when i wrote this code. here one thats not popo.]
if (!Quest.HasQuest(Quest ID) && !ItemsManager.HasItemById(Item ID))
{
Lua.LuaDoString("ClearTarget();");
Thread.sleep(25);
ItemsManager.UseItem(itemId);
Usefuls.WaitIsCasting();
}
Really you're choice.
or
if (!Quest.HasQuest(Quest ID))
{
Lua.LuaDoString("ClearTarget();");
If !ItemsManager.HasItemById(Item ID))
{
ItemsManager.UseItem(item Id);
Usefuls.WaitIsCasting();
}
}
This should work but don’t thank me, thank droidz.
wManager.Events.FightEvents.OnFightStart += delegate(WoWUnit unit, CancelEventArgs cancelable)
{
cancelable.Cancel = true;
if (unit.IsValid)
ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Add(unit.Guid, DateTime.Now + TimeSpan.FromMinutes(10));
};
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(x, y, z));
System.Threading.Thread.Sleep(1000);
wManager.Wow.Helpers.Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(ObjectID).FirstOrDefault().GetBaseAddress);
Tested for some object quests.
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NPC, 2, false);
Lua.LuaDoString<int>("BuyMerchantItem(1, 1)");
This will work (Tested)
you can add conditions.
ObjectManager.Me.GetMoneyCopper == 0 // Copper amount
ObjectManager.Me.IsIndoors // inside
var zone = Lua.LuaDoString<string>("return GetZoneText()");
zone == "Stormwind City" // city / zone area
{
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), 11901, 2, false); // 2 is gosip with the 2nd option,
Thread.Sleep(10);
Lua.LuaDoString<int>("BuyMerchantItem(ItemID, Amount#)");
}
Hello,
Today i wanted to share my Reins of the Winterspring Frostsaber Mount Farming Profile. I use this to get the mount.
Quests:
Frostsaber Provisions
Winterfall Intrusion
If you find any bugs or want me to implement anything, Join our discord server and send me a message. : https://discordapp.com/invite/xQuhs5C