ExtraQuestButton

ExtraQuestButton

109k Downloads

Error 10.1

tommy610 opened this issue ยท 5 comments

commented

Currently getting this error about ever 2 seconds

259x ExtraQuestButton/addon.lua:171: attempt to index local 'profile' (a nil value)
[string "@ExtraQuestButton/addon.lua"]:171: in function callback' [string "@ExtraQuestButton/libs/Dashi/modules/event.lua"]:78: in function TriggerEvent'
[string "@ExtraQuestButton/libs/Dashi/modules/event.lua"]:87: in function <ExtraQuestButton/libs/Dashi/modules/event.lua:86>

Locals:
self = ExtraQuestButton {
0 =
QuickKeybindButtonOnHide = defined @FrameXML/QuickKeybind.lua:11
SetItem = defined @ExtraQuestButton/addon.lua:239
LockItem = defined @FrameXML/ObjectAPI/Item.lua:175
DoModeChange = defined @FrameXML/QuickKeybind.lua:95
UpdateCooldown = defined @ExtraQuestButton/addon.lua:147
GetInventoryTypeName = defined @FrameXML/ObjectAPI/Item.lua:289
QuickKeybindButtonOnLeave = defined @FrameXML/QuickKeybind.lua:33
GetItemQualityColor = defined @FrameXML/ObjectAPI/Item.lua:252
Matches = defined @FrameXML/ObjectAPI/Item.lua:66
UnregisterUnitEvent = defined @ExtraQuestButton/libs/Dashi/modules/event.lua:136
Clear = defined @FrameXML/ObjectAPI/Item.lua:131
GetItemMaxStackSize = defined @FrameXML/ObjectAPI/Item.lua:262
EnableCooldownText = defined @ExtraQuestButton/button.lua:105
ContinueWithCancelOnItemLoad = defined @FrameXML/ObjectAPI/Item.lua:334
UpdateState = defined @ExtraQuestButton/addon.lua:162
IsItemEmpty = defined @FrameXML/ObjectAPI/Item.lua:138
SetItemID = defined @FrameXML/ObjectAPI/Item.lua:94
IsStackable = defined @FrameXML/ObjectAPI/Item.lua:273
IsUpdatingRange = defined @ExtraQuestButton/button.lua:127
HotKey = ExtraQuestButtonTextHotKey {
}
SetArtworkAlpha = defined @ExtraQuestButton/button.lua:117
SetItemGUID = defined @FrameXML/ObjectAPI/Item.lua:99
SetIcon = defined @ExtraQuestButton/button.lua:83
RegisterUnitEvent = defined @ExtraQuestButton/libs/Dashi/modules/event.lua:104
Icon = ExtraQuestButtonIcon {
}
GetItemGUID = defined @FrameXML/ObjectAPI/Item.lua:115
OnLoad = defined @ExtraQuestButton/addon.lua:60
RegisterEvent = defined @ExtraQuestButton/libs/Dashi/modules/event.lua:26
IsItemInPlayersControl = defined @FrameXML/ObjectAPI/Item.lua:150
OnEditModeEnter = defined @ExtraQuestButton/addon.lua:330
UpdateAttributes = defined @ExtraQuestButton/addon.lua:225
Count = ExtraQuestButtonTextCount {
}
EnableUpdateRange = defined @ExtraQuestButton/button.lua:121
OnEditModeLayout = defined @ExtraQuestButton/addon.lua:338
GetItemLocation = defined @FrameXML/ObjectAPI/Item.lua:104
GetTargetItem = defined @ExtraQuestButton/addon.lua:221
Selection = Frame {
}
GetStackCount = defined @FrameXML/ObjectAPI/Item.lua:234
IsEventRegistered = defined @ExtraQuestButton/libs/Dashi/modules/event.lua:62
SetHotKey = defined @ExtraQuestButton/button.lua:87
HasItemLocation = defined @FrameXML/ObjectAPI/Item.lua:127
UnwrapScript = defined @FrameXML/SecureHandlers.lua:788
OnPositionChanged = defined @ExtraQuestButton/addon.lua:280
GetStaticBackingItem = defined @FrameXML/ObjectAPI/Item.lua:146
ContinueOnItemLoad = defined @FrameXML/ObjectAPI/Item.lua:328
ValidateForContinueOnItemLoad = defined @FrameXML/ObjectAPI/Item.lua:311
GetItemName = defined @FrameXML/ObjectAPI/Item.lua:197
OnUpdate = defined @ExtraQuestButton/addon.lua:259
GetItemQuality = defined @FrameXML/ObjectAPI/Item.lua:223
QuickKeybindButtonSetTooltip = defined @FrameXML/QuickKeybind.lua:52
GetItem

commented

show me: /dump ExtraQuestButtonDB3

commented

image

commented

I am having this error as well. My dump:

ExtraQuestButtonDB3={
  profiles={
    Classic={
      artworkAlpha=0,
      noCooldownText=false,
      trackingOnly=false,
      position={
        y=-245.06002807617,
        x=1.0939331054688,
        point="CENTER"
      },
      artworkStyle="Default",
      zoneOnly=false,
      distanceYd=1000,
      scale=1
    },
    All={
      artworkAlpha=0,
      noCooldownText=false,
      trackingOnly=false,
      position={
        y=-270.22282409668,
        x=-1.0939331054688,
        point="CENTER"
      },
      artworkStyle="Ysera",
      distanceYd=1000,
      zoneOnly=false,
      scale=1
    },
    Modern={
      artworkAlpha=1,
      noCooldownText=false,
      trackingOnly=false,
      position={
        y=251.88027954102,
        x=1.0940551757812,
        point="BOTTOM"
      },
      artworkStyle="Default",
      zoneOnly=false,
      distanceYd=1000,
      scale=1
    },
    ["Not as broken"]={
      artworkAlpha=0,
      noCooldownText=false,
      trackingOnly=false,
      position={
        y=255.16230773926,
        x=-7.6584167480469,
        point="BOTTOM"
      },
      artworkStyle="Default",
      zoneOnly=false,
      distanceYd=1000,
      scale=1
    }
  }
}
commented

Let me know if this doesn't fix it, pushed a new version.

commented

All good!