Closed ScavengerHyena closed 1 year ago
Honestly, I have no idea why I did it like this, or what I was thinking. It looks like I started doing something there, got sidetracked and then completely forgot about it. Thanks for pointing out the source of this issue though - it's something I was going to look into soon so that's saved me some time!
Oh, god, I know those feels. I'm glad this helps! I use this to do random hyena facts and even my raid was noticing the lack of variety.
On Sun, Dec 18, 2022, 9:43 PM Raeli @.***> wrote:
Honestly, I have no idea why I did it like this, or what I was thinking. It looks like I started doing something there and got sidetracked and then completely forgot about it. Thanks for pointing out the source of this issue though - it's something I was going to look into soon so that's saved me some time!
— Reply to this email directly, view it on GitHub https://github.com/Caedilla/RSA/issues/13#issuecomment-1357128662, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY3OKW6Z7VRG3THDLVEWILWN7YYJANCNFSM6AAAAAATBYYLYQ . You are receiving this because you authored the thread.Message ID: @.***>
This should be fixed in 5.9.2
Description
Hello! I noticed in the announcements I have setup where I have a large number of announcements, I was repeating only 3, but I have a list of 35.
I noticed in BuildMessageCache() in Monitor.lua there's a code chunk:
local numEvents = 0 for _ in pairs(currentSpell.events) do numEvents = numEvents + 1 end for i = 1, numEvents do if currentSpellData.messages[i] ~= '' then validMessages[i] = currentSpellData.messages[i] end end
It worked once I updated it to:
local numEvents = 0 for ,v in pairs(currentSpell.events) do --print("Key, value: ", , ", ", v) numEvents = numEvents + 1 end for i = 1, #currentSpellData.messages do if currentSpellData.messages[i] ~= '' then --print("Current SPell Data message: ", currentSpellData.messages[i]) validMessages[i] = currentSpellData.messages[i] end end
But this is not the fix for what you intend, as this ignores numEvents, which I think the goal is to tie messages to each spell event? I just figured this info would help you diagnose the root cause.
RSA Version
RSA 5.9.1
World of Warcraft Flavor
Dragonflight
Lua Error
No response
Reproduction Steps
Screenshots
No response