Closed FrancescoBorzi closed 11 months ago
I've tried to look deeper into criteria 73, this is what I've got so far.
There only exist 3 criteria entries of type 73 ID 5632, Achievement 1103, Type 73, Asset_Id 18716, "Mal'Ganis" ID 5619, Achievement 1241, Type 73, Asset_Id 18716, "Mal'Ganis" ID 5620, Achievement 1515, Type 73, Asset_Id 18716, "Mal'Ganis"
So all 3 are related to Mal'Ganis, boss of Cavern of Times - Stratholme https://www.wowhead.com/wotlk/npc=26533/malganis
All referenced achievements are statistics and have several criteria to beat the final bosses of instances. Each criteria will increase the achievement's statistics value by 1, repeatable.
For achievement 1103 e.g. there are 13 criteria
The 11 kill-creature-criteria obviously make sense as you would normally kill the final boss directly.
What is interesting: all 3 of the type-73-criteria are accompanied by a type-28-criteria, also named "Mal'Ganis" with Asset_Id 58630: ID 6432, Achievement 1103, "Lich King 5-player dungeons completed (final boss killed)", Type 28, Asset_Id 58630, "Mal'Ganis" ID 6435, Achievement 1241, "Mal'Ganis defeated (Caverns of Time: Stratholme)", Type 28, Asset_Id 58630, "Mal'Ganis" ID 6434, Achievement 1515, "Mal'Ganis defeated (Heroic CoT: Stratholme)", Type 28, Asset_Id 58630, "Mal'Ganis"
This is because Mal'Ganis is not killed in Cavern of Times, he will disappear on 1% HP, see e.g.: https://www.wowhead.com/wotlk/npc=26533/malganis#comments
Therefore the player group gets the spell 58630 instead to mark their victory and trigger the achievement: https://wotlk.evowow.com/?spell=58630
So now this leads to the question why those 3 achievements have 2 criteria entries for Mal'Ganis (type 28 and 73), which could each increase the statistics counter by 1 if they get fulfilled?
Right now I see 2 options: A: there's another way to beat Mal'Ganis which corresponds to criteria type 73 -> otherwise if one run of "killing" Mal'Ganis would fullfill criteria 28 AND 73, the statistics counter would be increased by 2 instead of 1 as both criteria get fullfilled B: the type-73-entries are some kind of development leftover / irrelevant (not too unlikely as there also exist criteria of other unknown types that reference non-existent achievement-IDs)
Additionaly NOT all "Mal'Ganis" achievement criteria of type 28 are accompanied by a type 73 criteria, e.g.: ID 6381 , Achievement 479 , "The Culling of Stratholme" ID 6808 , Achievement 500 , "Heroic: The Culling of Stratholme" ID 6433 , Achievement 1467, "Lich King 5-player bosses killed" ID 5887 , Achievement 1658, "Champion of the Frozen Wastes" ID 12681, Achievement 4456, "Random Lich King (normal) dungeons completed" ID 12801, Achievement 4556, "Random Lich King (heroic) dungeons completed"
So what makes those 3 achievements at the beginning more special to get an additional type-73-entry?
I've also tried to figure out what Asset_Id 18716 could refer to, but for now this doesn't make much sense to me:
data/sql/base/db_world/creature_template.sql: entry 18716: name "Shadowy Initiate" -> https://wotlk.evowow.com/?npc=18716 -> https://www.wowhead.com/tbc/npc=18716/shadowy-initiate --> NPC from TBC in Terokkar Forest
data/sql/base/db_world/creature_template.sql: modelid1 = 18716: name "Sergeant Altumus" -> https://www.wowhead.com/tbc/npc=19309/sergeant-altumus --> NPC from TBC, Hellfire Peninsula
data/sql/base/db_world/item_template.sql: entry 18716: name "Ash Covered Boots" -> https://www.wowhead.com/classic/item=18716/ash-covered-boots -> https://wotlk.evowow.com/?item=18716 --> blue item from Stratholme, dropped by "Archivist Galford" ---> interesting - Mal'Ganis residates in Stratholme, Cavern of Times
createrInfoDisplayExtra.dbc also has an entry with ID 18716 -> ???
data/sql/base/db_world/item_template.sql: name "Ember of Emberseer" / "Grime-Encrusted Object" -> https://www.wowhead.com/wotlk/item=21988/ember-of-emberseer#dropped-by --> Quest-Item from Blackrock -> https://www.wowhead.com/classic/item=9308/grime-encrusted-object --> Quest-Item aus Gnomegeran (?)
data/sql/base/db_world/gameobject.sql: guid 18716 -> ???
On another note there's also no define for criteria type 73 in DBCEnums.h. This might also support the fact that it's maybe not that relevant.
So to conclude this - right now I would actually prefer to not implement criteria type 73 at all as the type 28 criterias should be sufficient for the relevant achievements/statistics.
Here's what I gathered for criteria 73 by poking around in TC Master
Implemented here, https://github.com/TrinityCore/TrinityCore/commit/22edf79c70519a571d9eeb7e397add695d7a28bb, though not feasible for us
/// @todo 73: Achievements 1515, 1241, 1103 (Name: Mal'Ganis)
CRITERIA_TYPE_SEND_EVENT = 73
(PlayerTriggerGameEvent)
For implementing criteria type 19 ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_RAID I might need some help to gather additional info from retail wotlk.
The achievements are all named "Total x-player dungeons / raids" entered, whereas the define is named "..._completed".
Also the criteria are named like "5 player dungeons run".
So my expedition would be that it actually counts dungeons / raids entered (not completed) as this corresponds to the text shown in the game.
Could someone please check the following in retail:
Thanks!
@azerothcore/sniffers
Regarding criteria type 19 ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_RAID:
I've just checked the behaviour on retail using a starter account with level 11 character.
right click character -> reset all instances of this character
enter Ragefire Chasm in OG -> observe increase by 1 for "5-player dungeons entered"
exit Ragefire Chasm in OG
enter Ragefire Chasm in OG -> observe NO CHANGE of "5-player dungeons entered"
right click character -> reset all instances of this character
enter Ragefire Chasm in OG -> observe increase by 1 for "5-player dungeons entered" (again)
note: you might have to switch statistics tab back & forth to update values shown there
conclusion:
@Kitzunu would this justify renaming ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_RAID to ACHIEVEMENT_CRITERIA_TYPE_ENTER_RAID?
No, these are blizzard values/names. See https://wowdev.wiki/DB/Achievement_Criteria
Criteria Type 117 is also unimplemented, used by statistic with:
So now the last remaining achievement criteria to implement is 73.
Isn't that the one tied to Malganis in some way?
Isn't that the one tied to Malganis in some way?
Yes, I in my comment above I had tried to find all relevant information on this:
https://github.com/azerothcore/azerothcore-wotlk/issues/1418#issuecomment-1712810240
So if there is no special game event that also allows to fight Mal'Ganis, I would actually just leave it unimplemented.
I will close this as completed
DESCRIPTION:
The following data has been removed from our
world
DB:because it's currently unsupported by our core, causing:
The core should implement those criteria types and the data should be added to the DB.
EXTRA NOTES:
Some notes made by @wetbrownsauce and @grimgravy :
Some additional info about the specific entries referenced in case it can help with testing:
From
achievement_criteria.dbc
:ID
4987 hasType
19ID
4988 hasType
19ID
4989 hasType
19ID
5619 hasType
73ID
5620 hasType
73ID
5632 hasType
73From
AchievementMgr.cpp
, line 1702+:ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_RAID
corresponds toType
19, which is why those first 3 criteria don't work. I couldn't find much info aboutType
73.Achievement_Criteria.dbc type 19(COMPLETE_RAID) achievement_criteria_data type 12(TYPE_MAP_DIFFICULTY) AchievementMgr.cpp was not implemented in code
BRANCH(ES):
master
AC HASH/COMMIT:
https://github.com/azerothcore/azerothcore-wotlk/commit/37d9ef012608a1ddaa839f7e6b63e22fcd821d90