RareTrackerCore (RT)

RareTrackerCore (RT)

602k Downloads

Error: yell_announcing_rares is nil

Dairyman opened this issue ยท 2 comments

commented

While in Nazjatar:

2x ...dOns\RareTrackerCore\RareTrackerCoreEventHandler.lua:342: attempt to index field 'yell_announcing_rares' (a nil value)
[string "@RareTrackerCore\RareTrackerCoreEventHandler.lua"]:342: in function `OnChatMsgMonsterYell'
[string "@RareTrackerCore\RareTrackerCoreEventHandler.lua"]:77: in function `OnEvent'
[string "@RareTrackerCore\RareTrackerCoreEventHandler.lua"]:514: in function <...dOns\RareTrackerCore\RareTrackerCoreEventHandler.lua:513>

Locals:
self = RTN {
 0 = <userdata>
 defaults = <table> {
 }
 InitializeAnnounceIconFrame = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:503
 is_loaded = true
 OnCombatLogEvent = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:254
 OnUnitHealth = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:204
 CloseInterface = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:87
 OnChatMessageReceived = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:601
 completion_quest_ids = <table> {
 }
 last_recorded_death = <table> {
 }
 GetCompressedSpawnData = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:119
 ChangeShard = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:108
 OnZoneTransition = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:91
 OnChatMsgAddon = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:355
 RegisterPresenceWhisper = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:234
 OnChatMsgMonsterYell = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:340
 target_zones = <table> {
 }
 arrival_register_time = 1581094258
 InitializeRareTrackerDatabase = <function> defined @RareTrackerNazjatar\RareTrackerNazjatarOptions.lua:12
 rare_names = <table> {
 }
 UpdateShardNumber = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:413
 rare_display_names = <table> {
 }
 rare_ids = <table> {
 }
 InitializeShardNumberFrame = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:119
 InitializeReloadButton = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:563
 RegisterPresenceGroup = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:249
 broadcast_icon = RTN.broadcast_icon {
 }
 UnregisterEvents = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:486
 db = <table> {
 }
 addon_code = "RTN"
 texture = <unnamed> {
 }
 RegisterEvents = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:474
 CreateRareTableEntry = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:142
 RegisterEntityDeath = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:335
 AcknowledgeArrival = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:298
 reported_spawn_uids = <table> {
 }
 waypoints = <table> {
 }
 UpdateStatus = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:387
 RegisterArrival = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:168
 completion_quest_inverse = <table> {
 }
 RegisterDeparture = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:264
 channel_name = "RTN12611"
 last_zone_id = 1355
 InitializeCloseButton = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:639
 InitializeRareTableFrame = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:355
 current_shard_id = "12611"
 CorrectFavoriteMarks = <function> defined @RareTrackerCore\RareTrackerCoreInterface.lua:424
 CheckForRedirectedRareIds = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:152
 rare_table_updated = false
 AcknowledgeEntityAlive = <function> defined @RareTrackerCore\RareTrackerCoreCommunication.lua:535
 OnUpdate = <function> defined @RareTrackerCore\RareTrackerCoreEventHandler.lua:376
 close_button = RTN.close_button {
 }
 reported_vignettes = <table> {
 }
 current_health = <table> {
 }
 PlaySoundNotification = <function> defined @Inte
commented

It seems like I might have overlooked some of the differences between the Nazjatar and Mechagon versions of the addon. I will write a fix for this soon, since I suspect that errors might also occur when attempting to announce coordinates.

commented

I will upload a new version soon that should fix the issue. Thanks for the report!