Accept Quest function doesnt work for me

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
IronWolf
Posts: 50
Joined: Sun Aug 08, 2010 7:09 am

Accept Quest function doesnt work for me

#1 Post by IronWolf »

i've updated the ingamefunctions 5 times now..
the "Complete quest" works perfect, also i can see that comunicating with the NPC also works great,
the only problem is i dont automaticly accept the quest,

would love your help guys, thanks alot :)

thats the call from the script:
(taken from here some1 on forum posted it, i use it and thank him :) )

<!-- # 1 --><waypoint x="6427" z="5435" y="154" type ="RUN">
local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()");
if 10 == dailyQuestCount then
printf ("Done "..dailyQuestCount.." of " .. dailyQuestsPerDay .. " Quests. STOP.");
error("Bot ending.", 0); -- ends the script.
else
printf("Done "..dailyQuestCount.." of " .. dailyQuestsPerDay .. " Left " .. dailyQuestsPerDay - dailyQuestCount .. " Quests.");
end
player:target_NPC("Robbie Butcher");
sendMacro("OnClick_QuestListButton(1, 2)"); yrest(750);
sendMacro("AcceptQuest()"); yrest(2000);
player:mount();
player:rest(2);
</waypoint>

---------------------
EDIT
---------------------

i just took another deeper look, its not the acceptQuest function, its the "OnClick_QuestListButton(1, 2)"
it wont do what it should, trying to work on that :)
if any1 got notes, im open for suggetions :)

---------------------
EDIT2
---------------------
Issue solved, it seems that by taking the dog meat quest, i messed up the menu in some way, by giving up the dog meat quest, i can now take the butterfly quest again, thanks for reading so far, sorry to have wasted your time :\
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Accept Quest function doesnt work for me

#2 Post by rock5 »

Try the QuestByName userfunctions.
  • 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