<!-- # 10 --><waypoint x="-7107" z="-4130" y="172" tag='Main'> </waypoint>
local dqCount, dqPerDay = RoMScript("Daily_count()");
if 10 > dqCount then
queststate = getQuestStatus("Earn a Reputation");
if queststate = "complete" then
-- Complete quest
player:target_NPC("Hugope");
CompleteQuestByName("Earn a Reputation");
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
else
-- Accept quest
player:target_NPC("Hugope");
AcceptQuestByName("Earn a Reputation");
__WPL:setWaypointIndex(__WPL:findWaypointTag("Quest"));
end
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("Done"));
end
Currently it all works fine, except for accepting and completing the quest so just runs in an endless loop...too tired to think clearly atm so thought i would ask here...lol
<!-- # 10 --><waypoint x="-7107" z="-4130" y="172" tag='Main'>
local dqCount, dqPerDay = RoMScript("Daily_count()");
if 10 > dqCount then
queststate = getQuestStatus("Earn a Reputation");
if queststate = "complete" then
-- Complete quest
player:target_NPC("Hugope");
CompleteQuestByName("Earn a Reputation");
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
else
-- Accept quest
player:target_NPC("Hugope");
AcceptQuestByName("Earn a Reputation");
__WPL:setWaypointIndex(__WPL:findWaypointTag("Quest"));
end
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("Done"));
end
</waypoint>
Currently it all works fine, except for accepting and completing the quest so just runs in an endless loop...too tired to think clearly atm so thought i would ask here...lol
</waypoint> in the wrong spot so was skipping all the code
All works fine. Just wondering though, would anyone know why the bot 'overshoots' a waypoint? (particularly on a mount) Its a real pain especially when running through tight area's where it gets stuck...i thought it might be due to computer lag but there is no difference between using normal client and Ultra Model folder so i'm lost..Any info would be greatly appreciated
ZZZZZ wrote:All works fine. Just wondering though, would anyone know why the bot 'overshoots' a waypoint? (particularly on a mount) Its a real pain especially when running through tight area's where it gets stuck...i thought it might be due to computer lag but there is no difference between using normal client and Ultra Model folder so i'm lost..Any info would be greatly appreciated
Are you in combat at the time?
Since you are mounted I mean a mob is trying to attack you.
Remember no matter you do in life to always have a little fun while you are at it
Nope, all my waypoints seem to do the same thing...my main issue is with the Heffner Daily i recently made, it's the 2nd time i have remade the waypoints and it still runs further than it should. I even tried putting in extra waypoints to try and break up the length it runs in the hope it would fix it but still no improvement.