Bug in GetAchievementCriteriaInfo (8.1.0.28485 PTR)
GetAchievementNumCriteria(341) returns 1
Calling GetAchievementCriteriaInfo(341, 1) throws an error: Code:
Message: [string "return GetAchievementCriteriaInfo(341, 1)"]:1: GetAchievementCriteriaInfo(achievementID, criteriaIndex [,countHidden]), criteria not found 1) It seems that since GetAchievementCriteriaInfo's third parameter is optional, it should return nil in this case if the value is set to false or left off. 2) GetAchievementNumCriteria should have an optional parameter to determine if it counts hidden criteria. |
It looks to be a bug with BZ.
For example, turn off all your addons, and then: open the Achievement window, go to Dungeon & Raids -> Cataclysm Raid, and find Aberrant Behavior, click on it. For me, I will get below error: Code:
5x ...ns\Blizzard_AchievementUI\Blizzard_AchievementUI-1.0.lua:1826: GetAchievementCriteriaInfo(achievementID, criteriaIndex [,countHidden]), criteria not found |
All times are GMT -6. The time now is 04:08 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI