WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Carbonite Archive (https://www.wowinterface.com/forums/forumdisplay.php?f=158)
-   -   Quests missing from database (https://www.wowinterface.com/forums/showthread.php?t=48334)

grindlebot 10-10-13 01:23 PM

Quests missing from database
 
I am currently in Townlong Steppes, and the quest database is completely empty. I see similar problems across all zones. No quests are listed. When "Show All Quests" is checked, I see 7233 quests, all quests are level 85 or lower. Am I missing a part of the Carbonite module? Is there another module I need in order to see the MoP level quests?

Carbonate build: 5.1.6 B292

grindlebot 10-10-13 01:28 PM

LUA file essentially empty
 
The lua file 'Quests86-90.lua' found in the Carbonite.Quests folder of the Carbonite addon is essentially empty. There are no quests found in this file:

if not Nx.ModQuests then
Nx.ModQuests = {}
end

local ModQuests={
}

function Nx.ModQuests:Load10 ()
for key,val in pairs(ModQuests) do
Nx.Quests[key] = val
end
Nx.ModQuests:Clear10()
end

function Nx.ModQuests:Clear10 ()
ModQuests = {}
end

Nimhfree 10-18-13 06:51 AM

I bet one could process the Grail quest database information to create a basic set of quest data for Carbonite for levels 85-90. However, it would not contain any objectives information as Grail does not have that. The only real issue I can see is I do not understand some of the fields that Carbonite uses in its quest files. For example:


[3087] = {
Quest = [[Etched Parchment|2|3|3|25139|19]],
Start = "163|4|32|43.22|68.21",
End = "177|4|32|42.86|69.27",
},

In the Quest line, what is the "2" and what is the "19"? The 25139 seems to be a "follow-on" quest but Grail records 25139 as having a prerequisite of 3087 so that should not be an issue.
In the Start line what is the "163" and the "32"?
In the End line what is the "177" and the "32"?

Rythal 10-19-13 01:24 AM

it breaks down like this...

[quest ID] = {
Quest = [[Quest Name|faction|quest level|quest minimum level|next quest in series|quest category]],
Start = "NPC Id|zone id|point type|location X|location Y",
End = "NPC Id|zone id|point type|location X|location Y",
},

faction can be 0 for neutral, 1 for alliance, 2 for horde
quest category is the array number matching the categories found in QuestCats.lua
NPC Id is the NPC you talk to, which are all found in QuestNPC.lua (not necessary, and will display a '?' if the NPC name is unknown)
point type is 32 for single coordinate (always for start / end) 35 for boundry box (for objectives)

Chmee 10-19-13 11:35 AM

Why are there two brackets around the quest data? It's written quest = [[…]]

Is that a lua thing?

Rythal 10-19-13 01:10 PM

Yes, it means accept the string inside exactly as it is, kinda like ""'s but allowing for some characters that would normally need to be escaped to show up right.

Chmee 10-20-13 09:36 AM

Ah, I see. Thanks. :cool:

JWMcQuire 10-20-13 04:35 PM

Question about "Nil" lines.
 
Quote:

Originally Posted by Rythal (Post 285967)
it breaks down like this...

[quest ID] = {
Quest = [[Quest Name|faction|quest level|quest minimum level|next quest in series|quest category]],
Start = "NPC Id|zone id|point type|location X|location Y",
End = "NPC Id|zone id|point type|location X|location Y",
},

faction can be 0 for neutral, 1 for alliance, 2 for horde
quest category is the array number matching the categories found in QuestCats.lua
NPC Id is the NPC you talk to, which are all found in QuestNPC.lua (not necessary, and will display a '?' if the NPC name is unknown)
point type is 32 for single coordinate (always for start / end) 35 for boundry box (for objectives)

Thank you for posting that. Can you please also give the breakdown of the "nil" lines given in the "Objective" sections.

Example:
Objectives = {
#1# = {
"nil|261|35|55|89|10.02|3.34",
I get that the breakdown is as follows, . . . I think.

261 = zone
35 Point type?
55 = x
89 = y
10.02 = ?
3.34 = ?

The ones with the question marks are the ones I'd like to know or confirm.

btw, great work on what you've done with this addon. :)

Rythal 10-21-13 07:35 AM

Objectives = {
[objective number] = {
"objective name/description|zone|point type as above|location x|location y|size of box - x|size of box - y",
},
},

For each objective in the quest you can add an objective to the list.
Each objective can have as many boxes drawn as you want to shape it
objective name/description for now have always been nil, which is why unknown quest objectives have always shown '?' when group sharing, or when viewing someone on the map.

JWMcQuire 10-21-13 11:55 AM

Thank you very much for replying and breaking that down. :)

Coasty 10-22-13 06:35 PM

Nifty... Thanks Rythal...


All times are GMT -6. The time now is 06:24 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI