What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Lastmango

Member
Joined
Nov 25, 2014
Messages
173
Reaction score
5
The print() in Lua doesn't seem to print to the console; and from what I can tell the Dump Object passes the entire contents of the lua code area as a string to dump that object.

Code:
for _,category in pairs(QuestLib.GetKnownCategories()) do
   print(category)
end

so if I wanted to iterate through a collection and report on the results, what's the best way to do that?
 
Just do

QuestLib.GetKnownCategories()

and hit "Dump Object". It will dump a table in a nicely formatted table in the log.
 
Thanks man;

I guess I should have been more specific with my end goal; I was trying to iterate through known quests to try to identify the instant quests that are out there. The ones that simply appear as completed checks.

So I'm standing over "Lone Flower" id 50977 which has an Instant quest reward. I'm trying to determine the quest ID to put it in the profile; however just completing it doesn't trip a report inside the bot. So I figured I could iterate through known quests to see if the quest, named 'A Banner Day' was there.

Is there a better way to do that?
 
Ignore previous drivel ^^^

I'm an idiot.. I never realized debug keystrokes were bound in to dump that sort of shit. Man I'm too used to working with BuddyWing; not one of the newer bots.
 
Back
Top