QuestCache.wdb
From Source Peek Wiki
[edit]
About
The QuestCache.wdb holds most of the information for quest you have seen in game.
Signature: WQST
[edit]
Row Length
| WDB Version | Bytes | Notes |
| 6180 | 6368 | |
| 6213 | 6372 | Insert a SubEXP70 field before the SpellReward |
[edit]
Structure
| Column | Field | Type | Notes |
|---|---|---|---|
| 1 | questID | Integer | |
| 2 | entryLength | Integer | WDB Files |
| 3 | DuplicatedQuestID | Integer | This is a duplicate of the quest ID |
| 4 | QuestType | Integer | 2 or 0, 0 appears to be when it's a quick click-through quest like repeatable quests (but not exclusively) |
| 5 | QuestLevel | Integer | The level of the quest. This is not the level at which the quest is atainable at. |
| 6 | areaID/sortID | Integer | AreaTable.dbc if negative the value points to: QuestSort.dbc |
| 7 | infoID | Integer | QuestInfo.dbc |
| 8 | SuggestedPlayers | Integer | |
| 9 | FactionID | Integer | Faction.dbc |
| 10 | FactionAmount | Integer | e.g. 3000 |
| 11 | Unknown | Integer | Always 0? |
| 12 | Unknown | Integer | Always 0? |
| 13 | nextQuestID | Integer | The quest that follows this quest |
| 14 | coins | Integer | Value is in Copper - Coins rewarded on completion |
| 15 | SubExp70 | Integer | Value is in Copper - Coins rewarded on lvl 70?? instead of experience (guess) |
| 16 | RewardSpellID | Integer | Spell.dbc Spell or ability that is added to players spellbook upon completion. This is probably an argument passed into EffectOnPlayer somehow, as this is sometimes a duplicated value as the EffectOnPlayer field, and it's not a spell that the player learns. (Such as the Razorhide quest turnin). |
| 17 | EffectOnPlayer | Integer | Spell.dbc Spell/effect cast on player when completing. |
| 18 | Unknown | Integer | Added in patch 2.3.0.7561 |
| 19 | startingItemID | Integer | ItemCache.wdb The item that you are given when you start the quest, such as a package to deliver. |
| 20 | QuestFlags | BitMask | QuestFlags |
| 21 | Unknown | Integer? | Added in patch 0.4.0.7958 |
| 22 | givenItem1 | Integer | ItemCache.wdb |
| 23 | givenItem1Amount | Integer | |
| 24 | givenItem2 | Integer | ItemCache.wdb |
| 25 | givenItem2Amount | Integer | |
| 26 | givenItem3 | Integer | ItemCache.wdb |
| 27 | givenItem3Amount | Integer | |
| 28 | givenItem4 | Integer | ItemCache.wdb |
| 29 | givenItem4Amount | Integer | |
| 30 | choiceItem1 | Integer | ItemCache.wdb |
| 31 | choiceItem1Amount | Integer | |
| 32 | choiceItem2 | Integer | ItemCache.wdb |
| 33 | choiceItem2Amount | Integer | |
| 34 | choiceItem3 | Integer | ItemCache.wdb |
| 35 | choiceItem3Amount | Integer | |
| 36 | choiceItem4 | Integer | ItemCache.wdb |
| 37 | choiceItem4Amount | Integer | |
| 38 | choiceItem5 | Integer | ItemCache.wdb |
| 39 | choiceItem5Amount | Integer | |
| 40 | choiceItem6 | Integer | ItemCache.wdb |
| 41 | choiceItem6Amount | Integer | |
| 42 | Unknown | Integer | |
| 43 | Unknown | Integer | |
| 44 | Unknown | Integer | |
| 45 | Unknown | Integer | |
| 46 | name | String | |
| 47 | description | String | |
| 48 | details | String | |
| 49 | subdescription | String | |
| 50 | target1 | Integer | Most significant bit designates reference (if set GameObjectCache.wdb else CreatureCache.wdb), remaining bits designates index |
| 51 | target1Amount | Integer | |
| 52 | collectItem1 | Integer | ItemCache.wdb |
| 53 | collectItem1Amount | Integer | |
| 54 | target2 | Integer | Most significant bit designates reference (if set GameObjectCache.wdb else CreatureCache.wdb), remaining bits designates index |
| 55 | target2Amount | Integer | |
| 56 | collectItem2 | Integer | ItemCache.wdb |
| 57 | collectItem2Amount | Integer | |
| 58 | target3 | Integer | Most significant bit designates reference (if set GameObjectCache.wdb else CreatureCache.wdb), remaining bits designates index |
| 59 | target3Amount | Integer | |
| 60 | collectItem3 | Integer | ItemCache.wdb |
| 61 | collectItem3Amount | Integer | |
| 62 | target4 | Integer | Most significant bit designates reference (if set GameObjectCache.wdb else CreatureCache.wdb), remaining bits designates index |
| 63 | target4Amount | Integer | |
| 64 | collectItem4 | Integer | ItemCache.wdb |
| 65 | collectItem4Amount | Integer | |
| 66 | Objective1 | String | If not target1 or collectItem1 this is the objective if set |
| 67 | Objective2 | String | If not target2 or collectItem2 this is the objective if set |
| 68 | Objective3 | String | If not target3 or collectItem3 this is the objective if set |
| 69 | Objective4 | String | If not target4 or collectItem4 this is the objective if set |
