Great Vault Raids preview LUA errors

Whenever I hover over the Raids track in my Great Vault I get a LUA error with no preview.

I’ve already tried resetting my UI following this page here, but the issue persists.

I also tried just disabling all addons and the issue persists as well. So it seems to be something with my default blizzard UI. Though like I said, even after resetting my WTF, Interface, and Cache folder I had the same issue. I did notice when I did this my blizzard UI customizations (frame placements, keybindings, etc) were all still saved even after doing the refresh. But my graphics settings and such were fully reset.

Message: ...ns/Blizzard_WeeklyRewards/Blizzard_WeeklyRewards.lua:678: bad argument #3 to 'format' (string expected, got nil)
Time: Wed Sep 18 23:24:32 2024
Count: 7
Stack: ...ns/Blizzard_WeeklyRewards/Blizzard_WeeklyRewards.lua:678: bad argument #3 to 'format' (string expected, got nil)
[string "@Interface/AddOns/Blizzard_WeeklyRewards/Blizzard_WeeklyRewards.lua"]:678: in function `HandlePreviewRaidRewardTooltip'
[string "@Interface/AddOns/Blizzard_WeeklyRewards/Blizzard_WeeklyRewards.lua"]:613: in function `ShowPreviewItemTooltip'
[string "@Interface/AddOns/Blizzard_WeeklyRewards/Blizzard_WeeklyRewards.lua"]:538: in function <...ns/Blizzard_WeeklyRewards/Blizzard_WeeklyRewards.lua:536>

Locals: self = Frame {
 index = 1
 ItemFrame = Button {
 }
 Border = Texture {
 }
 SelectedTexture = Texture {
 }
 UnselectedFrame = Frame {
 }
 ItemGlow = Texture {
 }
 UncollectedGlow = Texture {
 }
 info = <table> {
 }
 activeEffect = <table> {
 }
 RewardGenerated = Frame {
 }
 hasRewards = false
 Background = Texture {
 }
 CompletedIcon = Texture {
 }
 SheenAnim = AnimationGroup {
 }
 type = 3
 CompletedActivityAnim = AnimationGroup {
 }
 unlocked = true
 Threshold = FontString {
 }
 CompletedActivityFlipbook = Texture {
 }
 activeEffectInfo = <table> {
 }
 SelectionGlow = Frame {
 }
 Progress = FontString {
 }
}
itemLevel = 610
upgradeItemLevel = 623
currentDifficultyID = 15
currentDifficultyName = "Heroic"
nextDifficultyID = 16
difficultyName = "Mythic"
encounters = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
}
lastInstanceID = 1273
(for state) = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
}
(for control) = 7
index = 7
encounter = <table> {
 bestDifficulty = 220
 uiOrder = 8
 instanceID = 1273
 encounterID = 2602
}
name = "Queen Ansurek"
description = "After a revelation of traitors in her court, Queen Ansurek decides she must eradicate the palace's invaders herself. However, paranoia over whom she can trust gnaws at her psyche. With her allies dwindling, Queen Ansurek may delve into dark powers to attain victory, even if that means her most loyal soldiers become her next meal..."
encounterID = 2602
rootSectionID = 29997
link = "[Queen Ansurek]"
instanceID = 1273
completedDifficultyName = nil
(*temporary) = GameTooltip {
 ItemTooltip = Frame {
 }
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 textLeft1Font = "GameTooltipHeaderText"
 hasMoney = 1
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 TextLeft1 = GameTooltipTextLeft1 {
 }
 StatusBar = GameTooltipStatusBar {
 }
 numMoneyFrames = 1
 supportsItemComparison = true
 supportsDataRefresh = true
 shouldRefreshData = false
 waitingForData = false
 shoppingTooltips = <table> {
 }
 updateTooltipTimer = 0.098000
 TextRight1 = GameTooltipTextRight1 {
 }
 textRight1Font = "GameTooltipHeaderText"
 layoutType = "TooltipDefaultLayout"
 textLeft2Font = "GameTooltipText"
 TextRight2 = GameTooltipTextRight2 {
 }
 TextLeft2 = GameTooltipTextLeft2 {
 }
}

1 Like

I’m having the same problem as you. Dungeon and World rows work just fine with no errors, but Raid track is bugged.

2 Likes

Still haven’t found any solution for this. I seem to get a few random LUA errors related to Blizzard specific UI elements. This is the only consistent one I’ve seen so far though. And I think one for the end of M+ stats.

I’m having the same issue as well.

I tried the UI reset solutions as well, no help.

I just tried installing on my laptop fresh as a test… same issue. I don’t think it has to do with UI, since a fresh install had thew same result.

:frowning:

1 Like

I wonder if it’s something to do with settings synced to our accounts then? Hopefully someone can come in here with a solution since this is a very annoying issue to have.

My raid row does not work at all. it shows completed but you cannot mouse over anything.

It is doing that, but it was also saying I had killed more bosses then I had. It was saying I had killed 4 when I had only done one LFR wing. Second wing complete, and it shows at least six. But same LUA error as others here.

Tech support is for crashes and install issues these days, so I recommend clicking the pencil icon on your post and relocating it to UI and Macro. If you can’t find a solution with the helpers in that forum, then open a bug report in game or through a post in Bug Report.

Only thing I could suggest is a cvar reset, as this is the only thing that would get resynced on a fresh install. I haven’t been able to replicate any great vault issues myself.
/console cvar_default

1 Like

Actually, it sounds like a bug and the completedDifficultyName returned from DifficultyUtil.GetDifficultyName is nil.

2 Likes

I did this, but now the raid row just has no information pop-ups.

Thanks, this worked for me. :slight_smile:

I also tried this and my raid row also now has no information pop-ups

but are the lua errors gone
:thinking:

I reset my cvars earlier for different reasons but I’m still getting information popups from my raid row, albeit I didn’t check immediately after I reset my cvars. Maybe some relogs to allow it to cache? idk.

I came here to report the same issue. Read through this thread and the /console cvar_default worked for me. Thanks for the suggestion!

1 Like

ETA: I can’t see any info on the raid row, but at least it stopped with the error!

Can confirm that this is still an issue. OP, would it be possible for you to move this thread to Bug Reports?

Reset your CVars

If the error is still the same, resetting CVars won’t work (for this specific case). Line 678 is

GameTooltip_AddColoredLine(GameTooltip, string.format(WEEKLY_REWARDS_COMPLETED_ENCOUNTER, name, completedDifficultyName), GREEN_FONT_COLOR);`

with completedDifficultyName being nil

completedDifficultyName comes from:

local completedDifficultyName = DifficultyUtil.GetDifficultyName(encounter.bestDifficulty);

with encounter.bestDifficulty having to be greater than zero

and DifficultyUtil.GetDifficultyName returns a name from the table based on the encounter.bestDifficulty ID.

So either the encounter.bestDifficulty ID being used is “incorrect” or, the table hasn’t had the name for that difficulty filled in (which is why it returns nil).

The action may work for most difficulties, but it would seem, not all or, not all all the time.

Some further invesigation:

  1. The table has two entries for Raid40 (won’t cause the error, just possibly returns a wong name)
  2. The table has no entry for RaidStory (220). Could cause the error (but so would any number not in the table).
3 Likes

Resetting the cvars stopped the LUA error pop-up, but one raid boss being counted is the story mode Queen kill, so there’s no difficulty listed for the “kill 4 bosses” line (story queen + 3 LFR). I’d guess it’s an issue with RaidStory difficulty. Good sleuthing!