Repository navigation
Core/Quest: implement Quest Tracker - #13353
Merged
Merged
Conversation
|
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) |
Contributor
|
Supporting @Nyeriah's suggestion... |
Contributor
There was a problem hiding this comment.
change it to:
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_QUEST_TRACK);same below
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? |
Contributor
Author
|
@Nyeriah @Exodius @joschiwald thanks for your suggestions, I'll implement them all. @Subv you can't |
Contributor
Author
|
@Nyeriah @Exodius @joschiwald done |
DDuarte
added a commit
that referenced
this pull request
Oct 18, 2014
Core/Quest: implement Quest Tracker
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
Port quest tracking over from TC (TrinityCore/TrinityCore#13353)
Meltie2013
pushed a commit
to mangosthree/server
that referenced
this pull request
Mar 19, 2023
Co-authored-by: Francesco Borzì [email protected]
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
* Port quest tracking over from TC (TrinityCore/TrinityCore#13353) * Fix whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a way to easily track bugged quest. The tracks will be stored in the new quest_tracker table:
id-> quest idcharacter_guid-> character guidquest_accept_time-> datetime of acceptingquest_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 otherwisecore_hash-> core hash when player accepted the questcore_revision-> core revision when player accepted the questpossible cases:
quest_complete_timeandquest_abandon_timeare NULL -> means player doesn't do the quest yetquest_complete_timeis NULL andquest_abandon_timeisn't NULL -> means player abandoned the quest before completing it, then the quest could be buggedquest_complete_timeandquest_abandon_timearen'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_timeisn't NULL andquest_abandon_timeis NULL -> means player succesfully finished the quest. No bug here, unless a GM completed that quest for him (in that case,completed_by_gmis set to 1).It's disabled by default, can be enabled by setting:
in worldserver.conf
thanks @Aokromes and @Helias for help.