I'm new to MicroMacro and lua and I just started to learn yesterday.
I've searched and searched the forums to help me understand the code etc.
I have a problem with the waypoint I created for a daily quest.
The bot runs fine but it never turn in the quest (except if I have it completed when i start the waypoint)
Any help would be greatly appreciated.
Edit: Noticed that this post might be in the wrong section. If so, sorry in advance.
qStatus = getQuestStatus(dq);
if qStatus == "incomplete" then
__WPL:setWaypointIndex(3);
end
If there is nothing to attack then it will jerk around, though. You could use a loop but then you would probably have to do some code to make it attack in the loop.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
qStatus = getQuestStatus(dq);
if qStatus == "incomplete" then
__WPL:setWaypointIndex(3);
end
If there is nothing to attack then it will jerk around, though. You could use a loop but then you would probably have to do some code to make it attack in the loop.
I want it to run between #2 and #3 until quest is complete.
There is always something to attack because the spawn rate is insane, it might just be that i kill them slowly. But the bot pretty much cycles 3 spawns.
Should i just move the code inside #3 to #2?