mikepauer / Carbonite.Warehouse

Alt and Inventory tracking for Carbonite Maps
7 stars 4 forks source link

Installed Warehouse tonight, giving below error #9

Closed Swirrel closed 5 years ago

Swirrel commented 5 years ago

9x Carbonite.Warehouse\NxWarehouse.lua:1968: attempt to index field '?' (a nil value) Carbonite.Warehouse\NxWarehouse.lua:1968: in function UpdateGuild' Carbonite.Warehouse\NxWarehouse.lua:1912: in functionUpdate' Carbonite.Warehouse\NxWarehouse.lua:2887: in function `func' Carbonite\Libs\AceTimer-3.0\AceTimer-3.0-17.lua:57: in function <Carbonite\Libs\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals: self =

{ OnButToggleWarehouse = defined @Carbonite.Warehouse\NxWarehouse.lua:3514 AddBag = defined @Carbonite.Warehouse\NxWarehouse.lua:2966 OnLoot_opened = defined @Carbonite.Warehouse\NxWarehouse.lua:3226 NXEqRarityMin = 7 CaptureGet = defined @Carbonite.Warehouse\NxWarehouse.lua:3305 OnUnit_spellcast_succeeded = defined @Carbonite.Warehouse\NxWarehouse.lua:1125 OnItem_lock_changed = defined @Carbonite.Warehouse\NxWarehouse.lua:2831 UpdateItem = defined @Carbonite.Warehouse\NxWarehouse.lua:2239 CaptureItems = defined @Carbonite.Warehouse\NxWarehouse.lua:2895 BankOpen = false ToggleShow = defined @Carbonite.Warehouse\NxWarehouse.lua:1445 OnGuildbankframe_closed = defined @Carbonite.Warehouse\NxWarehouse.lua:2737 ImportDo = defined @Carbonite.Warehouse\NxWarehouse.lua:1385 AddLink = defined @Carbonite.Warehouse\NxWarehouse.lua:2984 Menu_OnRemoveChar = defined @Carbonite.Warehouse\NxWarehouse.lua:1348 Menu_OnShowItemCat = defined @Carbonite.Warehouse\NxWarehouse.lua:1414 UpdateBlank = defined @Carbonite.Warehouse\NxWarehouse.lua:1920 Menu_OnSortByRarity = defined @Carbonite.Warehouse\NxWarehouse.lua:1419 SelectedChar = false OnTime_played_msg = defined @Carbonite.Warehouse\NxWarehouse.lua:1102 TooltipProcess = defined @Carbonite.Warehouse\NxWarehouse.lua:2646 Menu_OnSortBySlot = defined @Carbonite.Warehouse\NxWarehouse.lua:1428 Menu_OnSyncAccount = defined @Carbonite.Warehouse\NxWarehouse.lua:1407 DurTooltipFrm = NxTooltipD { } OnChat_msg_skill = defined @Carbonite.Warehouse\NxWarehouse.lua:3318 OnBankframe_closed = defined @Carbonite.Warehouse\NxWarehouse.lua:2719 RecordCharacter = defined @Carbonite.Warehouse\NxWarehouse.lua:3547 ReftipProcess = defined @Carbonite.Warehouse\NxWarehouse.lua:2607 ExportDo = defined @Carbonite.Warehouse\NxWarehouse.lua:1400 Win =
{ } Menu_OnExport = defined @Carbonite.Warehouse\NxWarehouse.lua:1395 FindCharsWithItem = defined @Carbonite.Warehouse\NxWarehouse.lua:2340 ScanRBank = defined @Carbonite.Warehouse\NxWarehouse.lua:2957 OnLoot_slot_cleared = defined @Carbonite.Warehouse\NxWarehouse.lua:3243 SortByRarity = false OnItemListEvent = defined @Carbonite.Warehouse\NxWarehouse.lua:1556 SortBySlot = false OnUnit_inventory_changed = defined @Carbonite.Warehouse\NxWarehouse.lua:3006 InitWarehouseCharacter = defined @Carbonite.Warehouse\NxWarehouse.lua:3518 ConvertData = defined @Carbonite.Warehouse\NxWarehouse.lua:900 OnLoot_closed = defined @Carbonite.Warehouse\NxWarehouse.lua:3261 UpdateGuild = defined @Carbonite.Warehouse\NxWarehouse.lua:1927 SelectedGuild = "Old World" OnListEvent = defined @Carbonite.Warehouse\NxWarehouse.lua:1476 Menu =
{ } EditBox =
{ } prtdb = defined @Carbonite.Warehouse\NxWarehouse.lua:1216 ItemList =
{ } OnEditBox = defined @Carbonite.Warehouse\NxWarehouse.lua:1465 CaptureUpdate = defined @Carbonite.Warehouse\NxWarehouse.lua:2882 List =
{ } CaptureInvDurabilityTimer = defined @I

Swirrel commented 5 years ago

That error came from my 2nd bank toon. Going to my 1st bank toon I realised what's giving the error... I have the Carbonite minimap icon turned on. Right clicking the Carbonite minimap icon and mousing over and selecting Warehouse throws the error as you have to click Warehouse a second time for Warehouse to actually open up. I don't recall to have encountered this odd behavior before from Warehouse.

Other than that it works great.

Thank you :)

Swirrel commented 5 years ago

Depositing items in to the Guild Bank and Personal Bank throws the same error. Same goes for if you withdraw from either Bank too.

Truth be told, I just needed a simple addon that could sell greys for me when visiting a vendor as the Elvui Team have F..... up their new version with a frame in the middle of screen showing me how many items are being sold and there is no way to turn that frame of as it's not implemented. So technically I don't need ALL of Warehouse. Only a teeny tiny part of it.

IrcDirk commented 5 years ago

Fixed.

Swirrel commented 5 years ago

Idd it is. Thank you very much :)