daily quests help

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

daily quests help

#1 Post by extremeuser » Fri Apr 23, 2010 8:18 am

Trying a few things, basically trying to get the macro to accept a daily quest then run to hand it in, and having so much trouble. any help be appreciated


<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-9585" z="6125"> </waypoint>
<!-- # 2 --><waypoint x="-9583" z="6076"> player:target_NPC("npc name here");
player:rest(1);
player:mouseclickL(225, 371, 1680, 975);
player:rest(1);
sendMacro("AcceptQuest();");
player:rest(1);
<waypoints type="TRAVEL">
<!-- # 6 --><waypoint x="-9591" z="6047"> </waypoint>
<!-- # 7 --><waypoint x="-9581" z="6096"> </waypoint>
<!-- # 8 --><waypoint x="-9432" z="6157"> </waypoint>
<!-- # 9 --><waypoint x="-9298" z="6173"> </waypoint>
<!-- # 10 --><waypoint x="-9034" z="6083"> </waypoint>
<!-- # 11 --><waypoint x="-8854" z="5902"> </waypoint>
<!-- # 12 --><waypoint x="-8695" z="5745"> </waypoint>
<!-- # 13 --><waypoint x="-8466" z="5519"> </waypoint>
<!-- # 14 --><waypoint x="-8204" z="5347"> </waypoint>
<!-- # 15 --><waypoint x="-8021" z="5220"> </waypoint>
<!-- # 16 --><waypoint x="-7835" z="5097"> </waypoint>
<!-- # 17 --><waypoint x="-7584" z="5078"> </waypoint>
<!-- # 18 --><waypoint x="-7359" z="5087"> </waypoint>
<!-- # 19 --><waypoint x="-7143" z="4839"> </waypoint>
<!-- # 20 --><waypoint x="-7174" z="4780"> </waypoint>
<!-- # 21 --><waypoint x="-7071" z="4667"> </waypoint>
<!-- # 22 --><waypoint x="-6875" z="4470"> </waypoint>
<!-- # 23 --><waypoint x="-6838" z="4353"> </waypoint>
<!-- # 24 --><waypoint x="-6686" z="4192"> </waypoint>
<!-- # 25 --><waypoint x="-6525" z="4110"> </waypoint>
<!-- # 26 --><waypoint x="-6320" z="3993"> </waypoint>
<!-- # 27 --><waypoint x="-6079" z="3949"> </waypoint>
<!-- # 28 --><waypoint x="-5888" z="3907"> </waypoint>
<!-- # 29 --><waypoint x="-5688" z="3872"> </waypoint>
<!-- # 30 --><waypoint x="-5491" z="3838"> </waypoint>
<!-- # 31 --><waypoint x="-5361" z="3800"> </waypoint>
<!-- # 32 --><waypoint x="-5391" z="3623"> </waypoint>
<!-- # 33 --><waypoint x="-5412" z="3429"> </waypoint>
<!-- # 34 --><waypoint x="-5386" z="3259"> </waypoint>
<!-- # 35 --><waypoint x="-5385" z="3255"> </waypoint>
</waypoints>

extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: daily quests help

#2 Post by extremeuser » Fri Apr 23, 2010 8:33 am

the travel waypoint isnt working if i remove that it works.... i want the 'travel' part on tho

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: daily quests help

#3 Post by rock5 » Fri Apr 23, 2010 8:42 am

First, the waypoints tags have to be at the top and bottom of the file. If you want to change to travel mode part way use the correct command or use it in the first waypoints tag.

Second, you don't need to use mouse click to select the quest. Use OnClick_QuestListButton(type, index)
To accept a quest use

Code: Select all

sendMacro("OnClick_QuestListButton(1, 2)") -- Accept quest 2
And to Complete a quest use

Code: Select all

sendMacro("OnClick_QuestListButton(3, 2)") -- Complete quest 2
So the start of your file should look something like this;

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-9585" z="6125"> </waypoint>
<!-- # 2 --><waypoint x="-9583" z="6076"> player:target_NPC("npc name here"); -- Don't forget to edit npc name here
player:rest(1);
sendMacro("OnClick_QuestListButton(1, 2)"); -- Use the correct quest number
player:rest(1);
sendMacro("AcceptQuest();");
player:rest(1);
</waypoint>
<!-- # 6 --><waypoint x="-9591" z="6047"> </waypoint>
Thirdly don't forget to put your code between code tags here in the forum or Administrator gets annoyed. :)
  • 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.”
          • Ronald Reagan

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest