Quantcast Help finding rare mob quest ID - WoWInterface
Thread Tools Display Modes
09-01-18, 10:58 AM   #1
Spawnova
A Warpwood Thunder Caller
 
Spawnova's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 94
Question Help finding rare mob quest ID

I'm looking for a way to find the quest ID associated with a rare to determine if I've killed it today or not, searched for hours can't find anything.

I've tried using eventtrace and checking the results which didn't lead to anything.

Just wondering how people are acquiring this information, would really appreciate the help.

Last edited by Spawnova : 09-01-18 at 11:29 AM.
  Reply With Quote
09-01-18, 11:49 AM   #2
Kanegasi
A Frostmaul Preserver
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 291
The quest IDs are discovered by comparing a list of completed IDs to a new list after killing the rare. There is no method to directly search quest IDs.

You can download BfA treasures for HandyNotes and open the Rares.lua file which has all the rare quest IDs.
  Reply With Quote
09-02-18, 02:30 AM   #3
Spawnova
A Warpwood Thunder Caller
 
Spawnova's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 94
Thank you, I've found a solution with the information provided.

Code:
GetQuestsCompleted(quests1) --before killing rare
GetQuestsCompleted(quests2) --then I call this after killing the rare
table.foreach(quests2,function(k,v)
   if not quests1[k] then
      print(k .. " is new")
   end
end)
  Reply With Quote
09-02-18, 10:31 AM   #4
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
You should be using pairs instead of table.foreach - the latter was deprecated in Lua 5.1
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
09-04-18, 03:19 PM   #5
sezz
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 100
Originally Posted by Spawnova View Post
Just wondering how people are acquiring this information, would really appreciate the help.
QuestsChanged addon or (unless something changed) extracting the quest IDs from DBFilesClient\Vignette.db2

Last edited by sezz : 09-05-18 at 04:55 AM.
  Reply With Quote
09-07-18, 03:35 PM   #6
Spawnova
A Warpwood Thunder Caller
 
Spawnova's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 94
Originally Posted by Torhal View Post
You should be using pairs instead of table.foreach - the latter was deprecated in Lua 5.1
Lua is not my primary language; I thought there was a better way but since table.foreach worked I didn't bother looking but now I know to use pairs, thank you!
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Help finding rare mob quest ID

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off