Baggins

Baggins

1M Downloads

Equipment sets not sorting

Weetbix813 opened this issue ยท 4 comments

commented

I'm using the most current retail version, Equipment Sets are not sorting into designated sections, there is no error message, the category just doesn't appear, all armor/weapons remain in the general armor/weapons sections

commented

As much as I hate to blame something else I think this is a second instance of the game api not returning proper info.
Running
for bag=0,NUM_BAG_SLOTS do
for slot=1,C_Container.GetContainerNumSlots(bag) do
local item = C_Container.GetContainerItemID(bag,slot)
if not item then break end
local inset, setstring = C_Container.GetContainerItemEquipmentSetInfo(bag, slot)
local name = GetItemInfo(item)
print(name, " ", inset)
end
end

Basically if you don't know code if I loop through all bag items and check for if it is in a set(inset from above code) it is returning false for all items even though I know I have items that are part of a equipment set in my bags.

commented

Hmm I'm not a coder so I don't fully understand, but I know AdiBags that i switched from for other issues was still able to sort equipment sets so i'm not sure if they have it coded differently or maybe I somehow have something else thats interfering?

commented

I added a fix at least for now. This fix is included in v4.5.8 .
5a13827

commented