Hi there all,
I just started creating my own leveling profiles and got stuck with the following problem. When I bot on a new made character it starts in a new area with no mail box so he will not have many bag slots. So I don't want the bot to sell everytime when his bag are full, cause that will cause him to kill 3 mobs and than walk back to the vendor. For efficiency reasons i want my bot to only sell to the vendor when i ask him to.
So i added this code to the 'Quest order editor" -> RunCode -> wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(10434.88f, 792.1945f, 1322.699f));
So it will walk to the vendor i want him to, I also added the vendor to the "vendor/repair/mailboxed editor".
Anyone knows ho to get further from here? I'm not that great in lua, only did the minecraft lua course and that not really that complex as this stuff :P.
Some suggestions:
1. I should probably use wManager.Wow.Tasks.GoToTask.ToPositionAndInteractWIthNpc() but i don't know what to fill in here and how to choose options with the npc.
2. I could try this:
First pulse -> Run code
wManager.Wow.Bot.States.ToTown.ForceToTown = true;
Than pulse -> Run code
wManager.Wow.Bot.States.ToTown.ForceToTown =
But this doensn't seem like a great solution + still need to test it.
3. This seems like exactly what im looking for, but i have no idea what to fill in.
if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWith(Npc npc, bool skipIfCannotMakePath = false, BooleanDelegate conditionExit = null, bool acceptNpcDead = false))
{
wManager.Wow.Helpers.Vendor.SellItems(List<String> itemSell, List<string> itemNoSell, List<Enums.WoWItemQuality> itemQuality);
}