I currently have an update for my addon that is still stuck as "Under Review" and I am trying to find how to lodge a ticket yet the old place to submit a ticket, (https://support.curseforge.com/hc/en-us), leads nowhere, and the "help" button at the bottom of this site is also broken; so how do I lodge a ticket now?

Its is probably right in front of my face but the sand in my eyes makes things blurry.

I am looking for a bit of guidance with hooking secure functions and/or triggering events for opening and closing the backpack.

I already have PLAYER_LOGIN, MERCHANT_SHOW and MERCHANT_CLOSED events working without issue.

On Townlong Yak I can find the BAG_OPEN and BAG_CLOSED events, as well as the ToggleBackpack, OpenBackpack and CloseBackpack functions yet I still have not been able to get any results when I run my code.

Here are my code chunks:

-- my hook functions

hooksecurefunc(

"CloseBackpack",function()

print("CloseBackpack hookedfunction fired")

end

)

hooksecurefunc(

"OpenBackpack",function()

print("OpenBackpack hookedfunction fired")

end

)

hooksecurefunc(

"ToggleBackpack",function()

print("ToggleBackpack hookedfunction fired")

end

)

-- my event triggers

TestFrame:SetScript("OnEvent",function(self, event, ...)

if event =="BAG_OPEN"then

print("BAG_OPEN event triggered")

elseif event =="BAG_CLOSED"then

print("BAG_CLOSED event triggered")

end

end

)

TestFrame:RegisterEvent("BAG_OPEN")

TestFrame:RegisterEvent("BAG_CLOSED")

Any sort of guidance and explanation of where I am going wrong would be great.

I am trying to filter a list of itemID's to build and add a button to a scroll frame based on the item rarity.

I already have a working scroll frame that correctly adds a list of buttons based on a list of itemID's, but when I try to create buttons based on the item rarity my code keeps breaking with a nil error.

I have looked at a lot of addon's that have filter systems but I am still a novice to programming, (self-teaching), and I don’t understand a lot of the addon code that I am viewing.

if(ListOfItemRarity.rarityGrey and itemRarity ==0)or(ListOfItemRarity.rarityWhite and itemRarity ==1)or(ListOfItemRarity.rarityGreen and itemRarity ==2)or(ListOfItemRarity.rarityBlue and itemRarity ==3)or(ListOfItemRarity.rarityPurple and itemRarity ==4)or(ListOfItemRarity.rarityHeirloom and itemRarity ==5)or(ListOfItemRarity.rarityLegendary and itemRarity ==6)or(ListOfItemRarity.rarityArtifact and itemRarity ==7)then