View Single Post
05/30/18, 07:10 PM   #7
Anceane
 
Anceane's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 306
Originally Posted by sirinsidiator View Post
When you see the error next time, try to run the following script in an addon like ZAM Notebook:
Lua Code:
  1. for type, inventory in pairs(PLAYER_INVENTORY.inventories) do
  2.     if(type ~= 2) then
  3.         for k, v in ipairs(inventory.listView.data) do
  4.             if not v.bottom then
  5.                 df("%d, %d: %s, %s: %s", type, k, tostring(v.data.bagId), tostring(v.data.slotIndex), GetItemLink(v.data.bagId, v.data.slotIndex))
  6.             end
  7.         end
  8.     end
  9. end
The chat output might give some insight into why this happens
I download the addon, and added the script ready to be paste in it in case the error happens again
  Reply With Quote