Jump to content
TrinityCore
Magnuss

[SOLVED]How does itemcount work in character_queststatus table?

Recommended Posts

Quest templates can have up to 6 required items. Quests are working well with 6 requested items. I checked it with a custom quest.

But in the table character_queststatus are only 4 fields (itemcount1 - itemcount4) that have counters for the requested items.

How does this work? Is the character_queststatus only an informal table for the first 4 items ?

 

 

Share this post


Link to post
Share on other sites
13 minutes ago, Shauren said:

It doesn't work.

Locking to the code I came to the same conclusion. xD    Thanks for the fast fix.

But I also got the impression that this table is only to save the quest status as a kind of summary. Internal the requirements seems to be checked on the fly whenever needed.

What is the purpose of this table exactly?

Share this post


Link to post
Share on other sites

Its used to speedup quest status checks so you dont need to iterate entire inventory all the time (this is super important because its part of SMSG_UPDATE_OBJECT (sparkling of gameobjects with quest items))

Share this post


Link to post
Share on other sites

--- Canned message start --- It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread. --- Canned message end ---

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...