-
ZZZZZ
- Posts: 513
- Joined: Sun Oct 21, 2012 1:42 am
#1
Post
by ZZZZZ » Sun Oct 21, 2012 1:51 am
Just putting together a waypoint file for the daily quest "Earn a Reputation". Using:
Code: Select all
<!-- # 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
-
Hidden
- Posts: 101
- Joined: Tue May 08, 2012 6:10 pm
#2
Post
by Hidden » Sun Oct 21, 2012 1:56 am
ZZZZZ wrote:Just putting together a waypoint file for the daily quest "Earn a Reputation". Using:
Code: Select all
<!-- # 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
-
ZZZZZ
- Posts: 513
- Joined: Sun Oct 21, 2012 1:42 am
#3
Post
by ZZZZZ » Sun Oct 21, 2012 2:13 am
..... lol .....
Thanks
-
ZZZZZ
- Posts: 513
- Joined: Sun Oct 21, 2012 1:42 am
#4
Post
by ZZZZZ » Mon Oct 22, 2012 1:44 am
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
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#5
Post
by lisa » Mon Oct 22, 2012 2:24 am
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.
-
ZZZZZ
- Posts: 513
- Joined: Sun Oct 21, 2012 1:42 am
#6
Post
by ZZZZZ » Mon Oct 22, 2012 3:03 am
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.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#7
Post
by rock5 » Mon Oct 22, 2012 3:39 am
If you are not fighting, try changing to travel mode so it doesn't waste time looking for mobs.
- 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.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
ZZZZZ
- Posts: 513
- Joined: Sun Oct 21, 2012 1:42 am
#8
Post
by ZZZZZ » Mon Oct 22, 2012 7:02 pm
If you are not fighting, try changing to travel mode so it doesn't waste time looking for mobs.
Worked a charm, thanks
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests