@Joel_tuis
Relis toi et expliques mieux, ton message n'est pas compréhensible.
If you are not french you better try to explain in english. You post is hard to understand.
sorry, my poor french.
ok, I will expain in english, u see the code above, first section is part of your function "IterateBackpackExtendedWithLvl",
second part is mine. see the difference,u didn't handle all "else" condition,
Local $armorItemsWithLvl = MapItemWithLvl($data, $armorItems, 8)
Local $weaponItemsWithLvl = MapItemWithLvl($data, $weaponItems, 8)
Local $otherItemsWithLvl = MapItemWithLvl($data, $otherItems, 8)
I know it suppose to map all item information from the three lines above, no matter if the item is armor, or weapon or otherItems, but in deed, sometimes somehow, u can't map the item,
that's why I write the last "else" to record this situation. And it happens according to my log, though not frequent.
Anyway, I am not sure if your bot sell things to the merchant or if you use SNO to check item level(not item base level or require level). If u don't sell or check SNO, dont worry about this.