Magnuss Posted July 8, 2018 Report Share Posted July 8, 2018 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 ? Link to comment Share on other sites More sharing options...
Shauren Posted July 9, 2018 Report Share Posted July 9, 2018 It doesn't work. https://github.com/TrinityCore/TrinityCore/commit/8411ec7ed6366e3f9c0dc722671492ed091b8fbd Link to comment Share on other sites More sharing options...
Magnuss Posted July 9, 2018 Author Report Share Posted July 9, 2018 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? Link to comment Share on other sites More sharing options...
Shauren Posted July 9, 2018 Report Share Posted July 9, 2018 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)) Link to comment Share on other sites More sharing options...
Magnuss Posted July 10, 2018 Author Report Share Posted July 10, 2018 I see. For caching purpose. Link to comment Share on other sites More sharing options...
Aokromes Posted July 10, 2018 Report Share Posted July 10, 2018 --- 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 --- Link to comment Share on other sites More sharing options...
Recommended Posts