From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/character_queststatus.md | 291 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 273 insertions(+), 18 deletions(-) (limited to 'docs/character_queststatus.md') diff --git a/docs/character_queststatus.md b/docs/character_queststatus.md index 0552a91..a04cd6e 100644 --- a/docs/character_queststatus.md +++ b/docs/character_queststatus.md @@ -1,18 +1,273 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [character_queststatus](character_queststatus) - -Column | Type | Description ---- | --- | --- -Guid | int(10) unsigned | -Quest | int(10) unsigned | -Status | tinyint(3) unsigned | -Explored | tinyint(3) unsigned | -Timer | int(10) unsigned | -Mobcount1 | smallint(5) unsigned | -Mobcount2 | smallint(5) unsigned | -Mobcount3 | smallint(5) unsigned | -Mobcount4 | smallint(5) unsigned | -Itemcount1 | smallint(5) unsigned | -Itemcount2 | smallint(5) unsigned | -Itemcount3 | smallint(5) unsigned | -Itemcount4 | smallint(5) unsigned | -Playercount | smallint(5) unsigned | +# character\_queststatus + +`Back-to:Characters` + +**The \`character\_queststatus\` table** + +Holds information on the quest status of each character. + +**Structure** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

guid

int(10)

unsigned

PRI

NO

0


+

Global Unique Identifier

quest

int(10)

unsigned

PRI

NO

0


+

Quest Identifier

status

tinyint(3)

unsigned


+

NO

0


+


+

explored

tinyint(3)

unsigned


+

NO

0


+


+

timer

int(10)

unsigned


+

NO

0


+


+

mobcount1

smallint(5)

unsigned


+

NO

0


+


+

mobcount2

smallint(5)

unsigned


+

NO

0


+


+

mobcount3

smallint(5)

unsigned


+

NO

0


+


+

mobcount4

smallint(5)

unsigned


+

NO

0


+


+

itemcount1

smallint(5)

unsigned


+

NO

0


+


+

itemcount2

smallint(5)

unsigned


+

NO

0


+


+

itemcount3

smallint(5)

unsigned


+

NO

0


+


+

itemcount4

smallint(5)

unsigned


+

NO

0


+


+

itemcount5smallint(5)unsigned
+
NO0
+

+
itemcount6smallint(5)unsigned
+
NO0
+

+

playercount

smallint(5)

unsigned


+

NO

0


+


+

+ +**Description of the fields** + +### guid + +The GUID of the character. See characters.guid + +### quest + +The quest ID. See quest\_template.entry + +### status + +The current quest status. + +**Possible values** + +| Value | Status | Comments | +|-------|----------------------------|---------------------------------------------| +| 0 | QUEST\_STATUS\_NONE | Quest isn't shown in quest list; default | +| 1 | QUEST\_STATUS\_COMPLETE | Quest has been completed | +| 2 | QUEST\_STATUS\_UNAVAILABLE | NOT USED | +| 3 | QUEST\_STATUS\_INCOMPLETE | Quest is active in quest log but incomplete | +| 4 | QUEST\_STATUS\_AVAILABLE | NOT USED | +| 5 | QUEST\_STATUS\_FAILED | Player failed to complete the quest | + +### explored + +Boolean 1 or 0 representing if the character has explored what was needed to explore for the quest. + +### timer + +`field-no-description|5` + +### mobcount1-4 + +Current count of the number of kills or casts on the first creature or gameobject, if any. Corresponds with quest\_template.ReqCreatureOrGOCount + +### itemcount1-6 + +Current item count for the first item in a delivery quest, if any. Corresponds with quest\_template.ReqItemCount + +### playercount + +Current player slay count. Required in quest\_template.PlayersSlain -- cgit