smaitch / Grail

World of Warcraft addon to provide a database of quest information.
31 stars 20 forks source link

Classic - error #129

Closed Nerillida closed 4 years ago

Nerillida commented 4 years ago

Using latest versions

On entering Elwyn Forest OR displaying its map.

With only Wholly/Grail loaded

Message: Interface\AddOns\Grail\Grail.lua:9882: attempt to index global 'C_Reputation' (a nil value) Time: Tue Feb 11 19:18:13 2020 Count: 1 Stack: Interface\AddOns\Grail\Grail.lua:9882: attempt to index global 'C_Reputation' (a nil value) Interface\AddOns\Grail\Grail.lua:9882: in function _ReputationExceeds' Interface\AddOns\Grail\Grail.lua:6148: in functionf' Interface\AddOns\Grail\Grail.lua:3711: in function _AllEvaluateTrueS' Interface\AddOns\Grail\Grail.lua:3811: in function <Interface\AddOns\Grail\Grail.lua:3792> (tail call): ? (tail call): ? Interface\AddOns\Grail\Grail.lua:7723: in functionMeetsPrerequisites' Interface\AddOns\Grail\Grail.lua:10261: in function StatusCode' Interface\AddOns\Grail\Grail.lua:4233: in functionClassificationOfQuestCode' Interface\AddOns\Wholly\Wholly.lua:1426: in function _ClassifyQuestsInMap' Interface\AddOns\Wholly\Wholly.lua:790: in functionRefreshAllData' ...ns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:76: in function OnMapChanged' ...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:529: in functionOnMapChanged' ...rface\AddOns\Blizzard_WorldMap\Blizzard_WorldMap.lua:115: in function OnMapChanged' ...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:37: in functionSetMapID' ...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:731: in function `NavigateToCursor' ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:113: in function <...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:105>

Locals: self =

{ QuestBreadcrumbsFor = defined @Interface\AddOns\Grail\Grail.lua:9085 bitMaskClassPriest = 256 IsBugged = defined @Interface\AddOns\Grail\Grail.lua:6972 bitMaskGenderMale = 8192 _RecordArtifactLevels = defined @Interface\AddOns\Grail\Grail.lua:9683 bitMaskCompleted = 1 _PrepareWorldQuestSelfNewNPCs = defined @Interface\AddOns\Grail\Grail.lua:3323 QuestLocationsAccept = defined @Interface\AddOns\Grail\Grail.lua:9243 IsAvailable = defined @Interface\AddOns\Grail\Grail.lua:6954 NO_SKILL = -1 _HandleEventGarrisonBuildingActivated = defined @Interface\AddOns\Grail\Grail.lua:6659 bitMaskClassAll = 268443644 _HandleEventLootClosed = defined @Interface\AddOns\Grail\Grail.lua:6687 bitMaskQuestLegendary = 4096 _RemoveDelayedNotification = defined @Interface\AddOns\Grail\Grail.lua:5093 reputationFriends =
{ } NPC_TYPE_BY = "BY" NPC_TYPE_DROP = "DROP" _PostDelayedNotification = defined @Interface\AddOns\Grail\Grail.lua:8356 _MarkQuestType = defined @Interface\AddOns\Grail\Grail.lua:5462 receivedCalendarUpdateEventList = false bitMaskClassDeathKnight = 4 QuestNPCPrerequisiteTurnins = defined @Interface\AddOns\Grail\Grail.lua:9414 _ProcessServerBackup = defined @Interface\AddOns\Grail\Grail.lua:8774 bitMaskQuestVariableLevel = 4278190080 MeetsRequirementGroup = defined @Interface\AddOns\Grail\Grail.lua:7950 _EvaluateCodeAsPrerequisite = defined @Interface\AddOns\Grail\Grail.lua:5976 bitMaskInLog = 16 bitMaskQuestWeekly = 4 bitMaskHolidayNoble = 256 MeetsRequirementProfession = defined @Interface\AddOns\Grail\Grail.lua:8035 DoesNPCExist = defined @Interface\AddOns\Grail\Grail.lua:5941 npcNames =
{ } _AllEvaluateTrueS = defined @Interface\AddOns\Grail\Grail.lua:3688 bitMaskQuestFailureWithAncestor = 67043200 verifyTable =
{ } _NPCToUse = defined @Interface\AddOns\Grail\Grail.lua:8221 garrisonBuildingLevelMapping =
{ } bitMaskClassHunter = 16 _LoadContinentData = defined @Interface\AddOns\Grail\Grail.lua:3151 bitMaskQuestRaid = 128 _LocationStructure = defined @Interface\AddOns\Grail\Grail.lua:7517 _HandleEventAchievementEarned = defined @Interface\AddOns\Grail\Grail.lua:6654 checksReputationRewardsOnAcceptance = true classToMapAreaMappin

smaitch commented 4 years ago

Thank goodness this is not happening in the released code as we do not have any reputation requirements yet. When the pull request is merged it will happen. I have a fix to avoid this happen in the next Grail.

Nerillida commented 4 years ago

Thanks