Skip to content

Core/Quest: implement Quest Tracker - #13353

Merged
DDuarte merged 1 commit into
TrinityCore:masterfrom
FrancescoBorzi:335_quest_tracker
Oct 18, 2014
Merged

DDuarte merged 1 commit into
TrinityCore:masterfrom
FrancescoBorzi:335_quest_tracker

Conversation

@FrancescoBorzi

Copy link
Copy Markdown
Contributor

This is a way to easily track bugged quest. The tracks will be stored in the new quest_tracker table:

  • id -> quest id
  • character_guid -> character guid
  • quest_accept_time -> datetime of accepting
  • quest_complete_time -> datetime of when quest was marked as "(Completed)" [could be NULL]
  • quest_abandon_time -> datetime of when quest has been abandoned by player [could be NULL]
  • completed_by_gm -> if the quest has been completed by a GM this value will be 1, it will be 0 otherwise
  • core_hash -> core hash when player accepted the quest
  • core_revision-> core revision when player accepted the quest

possible cases:

  • both quest_complete_time and quest_abandon_time are NULL -> means player doesn't do the quest yet
  • quest_complete_time is NULL and quest_abandon_time isn't NULL -> means player abandoned the quest before completing it, then the quest could be bugged
  • both quest_complete_time and quest_abandon_time aren't NULL -> means player completed the quest, but he abandoned it before delivering: there could be a bug in deliver process (e.g. the NPC is missing)
  • quest_complete_time isn't NULL and quest_abandon_time is NULL -> means player succesfully finished the quest. No bug here, unless a GM completed that quest for him (in that case, completed_by_gm is set to 1).

It's disabled by default, can be enabled by setting:

Quests.EnableQuestTracker = 1

in worldserver.conf

thanks @Aokromes and @Helias for help.

@ghost

ghost commented Oct 18, 2014

Copy link
Copy Markdown

It does look awesome, but maybe could it be made optional through config? I'm just afraid it'd be a huge database overload (my character_queststatus_rewarded itself has 1,5gb data and it doesn't include abandoned, not complete, etc)

@Exodius

Exodius commented Oct 18, 2014

Copy link
Copy Markdown
Contributor

Supporting @Nyeriah's suggestion...
One other thing I would change here is table name from
quest_take_time to quest_accept_time
It, kinda, makes more sense...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change it to:

PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_QUEST_TRACK);

same below

@Subv

Subv commented Oct 18, 2014

Copy link
Copy Markdown
Contributor

Interesting idea, but how will you sort through the "bugged" and the ones that the player just felt like abandoning for whatever reason other than a bug?

@FrancescoBorzi

Copy link
Copy Markdown
Contributor Author

@Nyeriah @Exodius @joschiwald thanks for your suggestions, I'll implement them all.

@Subv you can't

@FrancescoBorzi

Copy link
Copy Markdown
Contributor Author

@Nyeriah @Exodius @joschiwald done

DDuarte added a commit that referenced this pull request Oct 18, 2014
Core/Quest: implement Quest Tracker
@DDuarte
DDuarte merged commit 996ad78 into TrinityCore:master Oct 18, 2014
@FrancescoBorzi
FrancescoBorzi deleted the 335_quest_tracker branch October 18, 2014 18:32
i-am-fyre added a commit to i-am-fyre/m3server that referenced this pull request Mar 18, 2023
i-am-fyre added a commit to i-am-fyre/m3server that referenced this pull request Mar 18, 2023
i-am-fyre added a commit to i-am-fyre/m3server that referenced this pull request Mar 18, 2023
Meltie2013 pushed a commit to mangosthree/server that referenced this pull request Mar 19, 2023
billy1arm pushed a commit to mangoszero/server that referenced this pull request Apr 19, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server2 that referenced this pull request Jun 27, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server2 that referenced this pull request Jun 27, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server2 that referenced this pull request Jun 27, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server2 that referenced this pull request Jun 27, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server2 that referenced this pull request Jun 27, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server2 that referenced this pull request Jun 27, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server2 that referenced this pull request Jun 27, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server2 that referenced this pull request Jun 27, 2023
i-am-fyre added a commit to i-am-fyre/mangos-server1 that referenced this pull request Jun 28, 2023
billy1arm pushed a commit to mangostwo/server that referenced this pull request Jul 23, 2023
* Port quest tracking over from TC (TrinityCore/TrinityCore#13353)

* Port quest tracking over from TC (TrinityCore/TrinityCore#13353)

* Port quest tracking over from TC (TrinityCore/TrinityCore#13353)

* Port quest tracking over from TC (TrinityCore/TrinityCore#13353)

* Port quest tracking over from TC (TrinityCore/TrinityCore#13353)

* Port quest tracking over from TC (TrinityCore/TrinityCore#13353)

* Port quest tracking over from TC (TrinityCore/TrinityCore#13353)

* Port quest tracking over from TC (TrinityCore/TrinityCore#13353)

* Remove whitespaces.

* Remove whitespaces.
billy1arm pushed a commit to mangosone/server that referenced this pull request Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants