help with MyInventory and TipBuddy
with the 1.7 update i now get these 2 errors.
this one with tipbuddy whenever i mouse over a player, doesn't do the same with npcs Code:
Interface/AddOns/TipBuddy/TipBuddy.lua:2112: bad argument #2 to 'find' (string expected, got nil) Code:
Interface/AddOns/MyInventory/MyInventory.lua:1219: attempt to index local 'color' (a nil value) |
For TipBuddy apparently the TipBuddy.gtt_name is nil sometimes. Maybe the strings .find() didn't care before the patch. However, LUA uses short circuiting so you can do:
Code:
if (text1 == nil or TipBuddy.gtt_name == nil or string.find(text1, TipBuddy.gtt_name)) then EDIT: This is my first time looking at LUA, so if it's wrong. O well, I don't have errors |
TipBuddy, from what I can see, isn't getting set in the first place. It's not just that. Even removing that error, nothing else in TipBuddy works. Backgrounds don't change colour,show pvp ranks, buffs, anything....
I've switched back to AF_ToolTip (which seems untouched) until TipBuddy can get fixed. |
i actually ended up switching to MyBags and AF_Tooltip before even checking back here :D
they both work perfectly |
as far as myinventory and actually resolving that, can anyone peek at it and explain how to bypass the receipt of the "nil value" return in the "if" of the above mentioned error section? (line 616 i believe)?
seems like it would be simple, i understand the problem, but i know near jack about coding, let alone minimalist languages that are feature heavy edit: seems this is for coloring the area around the icon as you highlight it based on the rarity of the item, i've never noticed this to work before, apparently because it was always returning nil and passing it, if there's a safe section to rem out that anyone can determine to remove this option for the specialty colors, it would be greatly appreciated |
Open 'MyInventory.lua' in a text editor (i highly recommend SciTE but any editor that saves plain text will do. Wordpad IS NOT suited!).
Go to line 1216. You'll find a codesegment (a few lines above) starting with Code:
if (MyInventoryItemBorder == 1) and ( quality and quality >= 2 ) then Code:
elseif MyInventoryItemBorder == 2 then Code:
if (MyInventoryItemBorder == 1) and ( quality and quality >= 2 ) then |
this patch seems to like to break all my mods :(
now getting this with titanpanel Interface\AddOns\TitanGuild\TitanGuild.lua:261: bad argument #1 to 'format' (string expected, got nil) |
Tipbuddy has been updated now!
Wierd error with titanpanel.. mine hasn't given me any problems at all... might be one of your titan plugins causing that. Check things that do stuff with the map (main not mini) and with tooltips. |
All times are GMT -6. The time now is 02:50 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI