Page 3 of 4

Re: Rock5's QuestLog Class

Posted: Tue Jan 01, 2013 10:32 am
by Buster99
I will just keep checking back here for an update.

Thanks much and Happy New Year. :)

Re: Rock5's QuestLog Class

Posted: Wed Jan 02, 2013 1:30 am
by rock5
I just retested the 0.5 version of the userfunction. I thought it wasn't working but in fact it is (this is with 744/RC3 and patch 5.0.6). Now I think you are reporting a different issue.

If I understand correctly, with particular quests it doesn't report the quest complete when it actually is. Could you give me an example quest?

Re: Rock5's QuestLog Class

Posted: Mon Jan 07, 2013 11:48 am
by Buster99
Rock, the problem was on my end. It is working fine. TY

Re: Rock5's QuestLog Class

Posted: Wed Feb 20, 2013 7:14 am
by Jandrana
I'm using a modified version of the "Veiled Encampment" script to do my dailies in Chrysalia. It happens sometimes that using the "Magic Circle Charge Rune" does not count for quest completion. I already adjusted my waypoints, but the problem is still there.

Now I'm looking for a way to determine, if using a charge rune did count to repeat that failed waypoint.

I thought the QuestLog could provide this information.

What I currently see is:
getKillCount(goal) - presumably for killing mobs
getItemCount(goal) - presumably for collecting items

But this quest does not fit into these categories. Is it possible to use QuestLog for this purpose? If so, any advice how to do it is appreciated.

Re: Rock5's QuestLog Class

Posted: Wed Feb 20, 2013 7:56 am
by rock5
That's mainly what those functions are for but you do get quests that have "tasks" saved in the killcount or itemcount memory location so you really need to see the data to know which function to use.

To see what goals a quest has, accept the quest then start the commandline file and type the following.

Code: Select all

table.print(questlog:getQuest(nameorid))
where 'nameorid' is the name or id of the quest.

You should then see which one your goals are, kill goals or item goals.

Re: Rock5's QuestLog Class

Posted: Tue Mar 12, 2013 7:53 am
by noobbotter
Hey Rock,

I didn't see anything in this class but was wondering if there is already a way, or if you would be able to figure out a way, where when you manually accept a quest, the quest name could be either logged or put into a variable? I didn't see anything in the QuestLog Class that would do that.

Thanks.

Re: Rock5's QuestLog Class

Posted: Tue Mar 12, 2013 8:44 am
by rock5
Manually? You would have to monitor the event that happens when you accept a quest. You could do that with the bot using the EventMonitor functions. The event to monitor is probably ADDNEW_QUESTBOOK http://runesofmagic.gamepedia.com/Event ... _QUESTBOOK.

Re: Rock5's QuestLog Class

Posted: Tue Mar 12, 2013 8:46 am
by noobbotter
Excellent. I'll look into that and see what I can figure out. thanks.

Re: Rock5's QuestLog Class

Posted: Mon Oct 21, 2013 4:22 am
by chesterfield
Xaviera with Butterfly not in my addon-list :)
Why

Re: Rock5's QuestLog Class

Posted: Wed Nov 13, 2013 11:22 am
by Braziliano
hey rock is there an option '' kill quest '' (abandon quest) ??

Re: Rock5's QuestLog Class

Posted: Wed Nov 13, 2013 11:43 am
by rock5
Yes, it's part of the bot, not this addon.

Code: Select all

CancelQuest(nameorid)

Re: Rock5's QuestLog Class

Posted: Wed Nov 13, 2013 12:02 pm
by Braziliano
ah k , thanks

Re: Rock5's QuestLog Class

Posted: Mon Dec 02, 2013 5:23 am
by rido_knight
Thanks :)

Re: Rock5's QuestLog Class

Posted: Tue Dec 17, 2013 11:53 am
by rock5
Updated to version 0.06 to match changes to getQuestStatus in latest revision. Also added base function to get base quest info for quests you don't have.

Re: Rock5's QuestLog Class

Posted: Thu Jan 30, 2014 1:31 pm
by botje
just wanted to say it seems it doesnt see a completed quest, i do the trade relations quest in boulderwind village.

but it always complains about not ready to complete quest, while it actually does complete it O.o

Re: Rock5's QuestLog Class

Posted: Thu Jan 30, 2014 9:05 pm
by rock5
I think I noticed something similar recently. I think it was because of a auto complete by Dailynotes. Are you using an auto complete addon? If so then it's working as intended. The bot targets the npc, it auto completes and then CompleteQuestByName sees that the quest doesn't need to complete. BTW I think this is a QuestByName question not a QuestLog Class question.

Re: Rock5's QuestLog Class

Posted: Fri Jan 31, 2014 3:17 am
by botje
aaah, that could be it. ill check that.

i didnt find a thread to post in so i thought this would be good enough ^^

Re: Rock5's QuestLog Class

Posted: Fri Jan 31, 2014 4:09 am
by rock5
If you can't find a relevant enough topic to post in, don't be afraid to start your own. :)

Re: Rock5's QuestLog Class

Posted: Thu Sep 04, 2014 7:53 am
by noobbotter
Quick question. I've never used this so I'm wondering exactly how to use it. with quest:getItemCount(goal), if you have to do the same task multiple times, they would all be under the samegoal number? like if a quest had just one task but you have to do it 3 times, then I would use quest:getItemCount(1) and that would tell me how many times I've compelted that task? And if it resulted in a 3, (in this case) then the quest:isComplete() would be true? Is that right?

Re: Rock5's QuestLog Class

Posted: Thu Sep 04, 2014 8:30 am
by rock5
Yes if there is only 1 task that has to be done a number of times then quest:getItemCount(1) or quest:getKillCount(1) will tell you how many you have done so far. Note: there are the 2 goal counting functions listed above. You'll have to figure out which one applies to the particular quest you are doing. It's not always the obvious one.