Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weapon type trigger checkboxes not working #5487

Closed
1 task done
nullValueReturned opened this issue Oct 22, 2024 · 5 comments
Closed
1 task done

Weapon type trigger checkboxes not working #5487

nullValueReturned opened this issue Oct 22, 2024 · 5 comments
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🐛 Bug This is a problem with WeakAuras.

Comments

@nullValueReturned
Copy link

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

The boxes that you're supposed to check for weapon type do not work and generate LUA errors when you click them
image

WeakAuras Version

5.17.2

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

EU

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

6x WeakAurasOptions/LoadOptions.lua:984: attempt to index field '?' (a nil value)
[string "@WeakAurasOptions/LoadOptions.lua"]:984: in function <WeakAurasOptions/LoadOptions.lua:979>
[string "=[C]"]: ?
[string "@Masque/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@Masque/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:839: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "@Masque/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:897: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:896>
[string "=[C]"]: ?
[string "@Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <Ace3/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@Ace3/AceGUI-3.0-41/widgets/AceGUIWidget-CheckBox.lua"]:64: in function <...ns/Ace3/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua:53>

Locals:
info = <table> {
 1 = "trigger.1.Item Type Equipped.multiselect_itemTypeName"
 uiType = "dialog"
 type = "multiselect"
 options = <table> {
 }
 option = <table> {
 }
 uiName = "AceConfigDialog-3.0"
 appName = "WeakAuras"
}
v = 515
calledFromSetAll = true
(temporary) = nil
(temporary) = nil
(temporary) = "itemTypeName"
(temporary) = "attempt to index field '?' (a nil value)"
arg = <table> {
 multiNoSingle = true
 type = "multiselect"
 name = "itemTypeName"
 display = "Item Type"
 test = "Private.ExecEnv.IsEquippedItemType(%s, itemSlot)"
 required = true
 values = "item_weapon_types"
}
trigger = <table> {
 type = "item"
 use_itemTypeName = false
 subeventSuffix = "_CAST_START"
 names = <table> {
 }
 use_genericShowOn = true
 event = "Item Type Equipped"
 unit = "player"
 use_itemSlot = true
 itemSlot = 8
 spellIds = <table> {
 }
 subeventPrefix = "SPELL"
 genericShowOn = "showOnCooldown"
 use_itemName = true
 debuffType = "HELPFUL"
}
realname = "itemTypeName"
data = <table> {
 iconSource = -1
 color = <table> {
 }
 adjustedMax = ""
 adjustedMin = ""
 yOffset = 0
 anchorPoint = "CENTER"
 cooldownSwipe = true
 cooldownEdge = false
 icon = true
 triggers = <table> {
 }
 internalVersion = 78
 progressSource = <table> {
 }
 selfPoint = "CENTER"
 desaturate = false
 subRegions = <table> {
 }
 height = 64
 load = <table> {
 }
 useAdjustededMax = false
 useAdjustededMin = false
 regionType = "icon"
 cooldown = true
 animation = <table> {
 }
 actions = <table> {
 }
 xOffset = 0
 authorOptions = <table> {
 }
 zoom = 0
 frameStrata = 1
 config = <table> {
 }
 id = "Swap weapon"
 anchorFrameType = "SCREEN"
 alpha = 1
 width = 64
 useCooldownModRate = true
 uid = "LcfwzvSZFBk"
 inverse = false
 cooldownTextDisabled = false
 conditions = <table> {
 }
 information = <table> {
 }
 keepAspectRatio = false
}
reloadOptions = false
OptionsPrivate = <table> {
 expanderAnchors = <table> {
 }
 savedVars = <table> {
 }
 commonOptionsCache = <table> {
 }
 registerRegions = <table> {
 }
 expanderButtons = <table> {
 }
 Private = <table> {
 }
 commonOptions = <table> {
 }
 currentDynamicTextInput = false
 tempGroup = <table> {
 }
 displayButtons = <table> {
 }
}

Reproduction Steps

create a WA with trigger item => item type equiped .
The check boxes are not clickable and generate errors when clicked

Last Good Version

No response

Screenshots

No response

Export String

No response

Bisector Report

No response

@nullValueReturned nullValueReturned added the 🐛 Bug This is a problem with WeakAuras. label Oct 22, 2024
@github-actions github-actions bot added the ⏱ Awaiting Response This ticket hasn't been triaged yet. label Oct 22, 2024
@InfusOnWoW
Copy link
Contributor

Are you sure you tested this with all other addons disabled?

@nullValueReturned
Copy link
Author

nullValueReturned commented Oct 22, 2024

Are you sure you tested this with all other addons disabled?

Yes. I turned off all but WA, and had a friend test as well (he had other addons though).
Are you not able to recreate?

@SpatenLa
Copy link

stacktrace and screenshot show that other addons are involved. its important to have an error with only weakauras and bugsack/grabber enabled.

@InfusOnWoW
Copy link
Contributor

I can reproduce it, so it'll be fixed.

@nullValueReturned
Copy link
Author

nullValueReturned commented Oct 22, 2024

stacktrace and screenshot show that other addons are involved. its important to have an error with only weakauras and bugsack/grabber enabled.

Yeah. Didn't think of that. I did reproduce without other addons, but SS and error is from when i had addons on. I'll keep that in mind should i encounter another bug in the future

I can reproduce it, so it'll be fixed.

awesome

InfusOnWoW added a commit to InfusOnWoW/WeakAuras2 that referenced this issue Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🐛 Bug This is a problem with WeakAuras.
Projects
None yet
Development

No branches or pull requests

3 participants