DBM - Deadly Boss Mods (DBM-Core)

DBM - Deadly Boss Mods (DBM-Core)

530M Downloads

Classic Cata - DBM-Core.lua:7426 Error

evilgodly opened this issue ยท 12 comments

commented

Describe the bug
Got this when i logged in and was in Deepholm.

Do you have an error log of what happened?
10x DBM-Core/DBM-Core.lua:7426: attempt to index field '?' (a nil value)
[string "@DBM-Core/DBM-Core.lua"]:7426: in function GetRoleFlagValue' [string "@DBM-Core/DBM-Core.lua"]:7990: in function AddBoolOption'
[string "@DBM-Core/modules/objects/Announce.lua"]:636: in function <DBM-Core/modules/objects/Announce.lua:582>
[string "=(tail call)"]: ?
[string "@DBM-Party-Cataclysm/BlackrockCaverns/RomoggBonecrusher.lua"]:18: in main chunk
[string "=[C]"]: ?
[string "=[C]"]: in function LoadAddOn' [string "@DBM-Core/DBM-Core.lua"]:3998: in function LoadMod'
[string "@DBM-Core/DBM-Core.lua"]:3941: in function LoadModsOnDemand' [string "@DBM-Core/DBM-Core.lua"]:3841: in function func'
[string "@DBM-Core/modules/Scheduler.lua"]:175: in function <DBM-Core/modules/Scheduler.lua:166>

Locals:
self =

{
NoSortAnnounce = false
timers =
{
}
categorySort =
{
}
instanceId = 66
inCombatOnlyEvents =
{
}
modelId = 33147
SyncThreshold = 8
numBoss = 1
combatInfo =
{
}
encounterId = 1040
creatureId = 39665
modId = "DBM-Party-Cataclysm"
groupSpells =
{
}
statTypes = "normal,heroic,timewalker"
isTrashMod = false
specwarns =
{
}
zones =
{
}
revision = 20210922153837
Options =
{
}
DefaultOptions =
{
}
id = "105"
inCombat = false
addon =
{
}
iconRestore =
{
}
isDummyMod = false
groupOptions =
{
}
optionCategories =
{
}
yells =
{
}
localization =
{
}
announces =
{
}
vb =
{
}
subTab = 1
}
flag = "Tank|Healer"
flags =
{
1 = "Tank"
2 = "Healer"
}
(for index) = 1
(for limit) = 2
(for step) = 1
i = 1
flagText = "Tank"
(*temporary) = nil
(*temporary) = 399
(*temporary) = "^-"
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
currentSpecID = 399
DBM =
{
MoveSpecialWarning = defined @DBM-Core/modules/objects/SpecialWarning.lua:132
CopyAllModOption = defined @DBM-Core/DBM-Core.lua:3262
PLAY_MOVIE = defined @DBM-Core/DBM-Core.lua:7312
SortByTankAlpha = defined @DBM-Core/DBM-Core.lua:7578
CopyProfile = defined @DBM-Core/DBM-Core.lua:2010
GetNumRealGroupMembers = defined @DBM-Core/DBM-Core.lua:2833
CHAT_MSG_WHISPER = defined @DBM-Core/DBM-Core.lua:6974
GetCachedBossHealth = defined @DBM-Core/DBM-Core.lua:7967
DungeonMusic =
{
}
FireEvent = defined @DBM-Core/DBM-Core.lua:1918
CreateModLocalization = defined @DBM-Core/modules/objects/Localization.lua:104
GetMyPlayerInfo = defined @DBM-Core/DBM-Core.lua:2739
ADDON_LOADED = defined @DBM-Core/DBM-Core.lua:1524
CANCEL_PLAYER_COUNTDOWN = defined @DBM-Core/DBM-Core.lua:4982
INSTANCE_GROUP_SIZE_CHANGED = defined @DBM-Core/DBM-Core.lua:2539
AddDefeatSound = defined @DBM-Core/modules/Sounds.lua:123
GetDefeatSounds = defined @DBM-Core/modules/Sounds.lua:116
GroupInCombat = defined @DBM-Core/DBM-Core.lua:8688
UPDATE_MOUSEOVER_UNIT = defined @DBM-Core/DBM-Core.lua:4070
GetSpellCooldown = defined @DBM-Core/DBM-Core.lua:6524
UPDATE_BATTLEFIELD_STATUS = defined @DBM-Core/DBM-Core.lua:3632
UnitAura = defined @DBM-Core/DBM-Core.lua:6551
IsRanged = defined @DBM-Core/DBM-Core.lua:7520
LFG_PROPOSAL_SHOW = defined @DBM-Core/DBM-Core.lua:3541
ReleaseRevision = 20240527000000
RegisterShortTermEvents = defined @DBM-Core/DBM-Core.lua:1288
LOADING_SCREEN_DISABLED = defined @DBM-Core/DBM-Core.lua:3853
GetUnitFullName = defined @DBM-Core/DBM-Core.lua:2744
IsClassic = defined @DBM-Core/DBM-Core.lua:7361
UNIT_HEALTH_FREQUENT = defined @DBM-Core/DBM-Core.lua:5794
UNIT_DIED = defined @DBM-Core/DBM-Core.lua:6668
IsTanking = defined @DBM-Core/DBM-Core.lua:7747
FindInstanceIDs = defined @DBM-Core/modules/DevTools.lua:91
CHALLENGE_MODE_RESET = defined @DBM-Core/DBM-Core.lua:3901
UnitDebuff = defined @DBM-Core/DBM-Core.lua:6592
LFG_ROLE_CHECK_SHOW = defined @DBM-Core/DBM-Core.lua:3532
Disable = defined

To Reproduce

Screenshots

Did you try having DeadlyBossMods as the only enabled addon and everything else (especially something like ElvUI) disabled?

Which version of DeadlyBossMods are you using? DBM Core 10.2.44

Was it working in a previous version? If yes, which was the last good one?

Additional context

commented

I genuinely have no idea. it's gotta be a bug with blizzard api at this point where it just doesn't return your spec no matter how many times it's checked. I can't fix this. I can't even reproduce the error on my end so only some users have specs that can't be read.

commented

i will try uninstalling and reinstalling DBM along with the saved variables to see what is going on.

I am getting this on my 85 Frost DK.

commented

I think you're second person who said they were on a DK, can you do me a favor and do following in game

/dump GetPrimaryTalentTree()
(see what number this returns)
then do this
/dump GetTalentTabInfo(theNumberFirstThingReturned)

commented

i just deleted all of Classic Cata & Retail versions of Saved Variables & Addons and jsut reinstaleld them. will see what happens when i login. If still same error, will run the 2 scripts

commented

I think you're second person who said they were on a DK, can you do me a favor and do following in game

/dump GetPrimaryTalentTree() (see what number this returns) then do this /dump GetTalentTabInfo(theNumberFirstThingReturned)

From Deepholm
First Dump [1]=2

2nd dump got error
2x [string "return GetTalentTabInfo(theNumberFirstThing..."]:1: Usage: GetTalentTabInfo(tabIndex[, isInspect[, isPet[, groupIndex]]])
[string "=[C]"]: in function GetTalentTabInfo' [string "return GetTalentTabInfo(theNumberFirstThingReturned)"]:1: in function func'
[string "@Blizzard_SharedXML/Dump.lua"]:396: in function DevTools_DumpCommand' [string "@Blizzard_ChatFrameBase/Classic/ChatFrame.lua"]:2493: in function ?'
[string "@Blizzard_ChatFrameBase/Classic/ChatFrame.lua"]:5001: in function ChatEdit_ParseText' [string "@Blizzard_ChatFrameBase/Classic/ChatFrame.lua"]:4664: in function ChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Classic/ChatFrame.lua"]:4700: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:120_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:120_OnEnterPressed"]:1>

Locals:
(*temporary) = nil

commented

the second part of instructions you missed part of replacing theNumberFirstThing with 2

commented

OK so here is what i found. After removing the saved variables & uninstalling & reinstalling all the DBM Add-ons for Cata. I brought up wow and turned off everything but the DBM Core Main Core and no errors at all. Then turned everything on but the Cata specific ones and still no errors.

After turning the Cata specific add-ons on i figured out that when DBM Mod Dungeon Cata is turned on i get the error. I am testing each of the Cata zones to see if it is only Deepholm or others.

commented

hehe......................... im a dumb ass
image

commented

I see the problem, and it took not one but two DK reports to put it together it was a DK only issue.

the numbers for DKs and ONLY DKs were incorrectly mapped, fixing and getting a new release out asap. thanks for debugging for me

I was stumped when I could not reproduce the reports on my test characters (both warriors)

commented

no issues in Dalaran, Mount Hyjal, Stormwind, Twilight Highlands, Uldum, and Vashj'ir. BUt when i go to Deepholm i get the below screen shot and the error.

image

commented

you'd get same error if you manually loaded any mod too. it's on mod load it can't read your spec, and I have a fix for DKs going out soon

commented

ok thank you and glad i could help.