Lunar Sphere
I know Lunar Sphere was abandoned several years ago, but it still works just fine. I have no idea how to read the addon code language, so I was wondering if someone could tell me exactly what to edit in the LUA with the live patch in order to make this error message go away. Again, the functions of Lunar Sphere still work just fine; this error popping up upon login is just annoying.
Thanks! Message: Interface\AddOns\LunarSphere\lib\moduleItems.lua:637: bad argument #1 to 'len' (string expected, got nil) Time: 10/16/14 11:39:28 Count: 1 Stack: [C]: in function `len' Interface\AddOns\LunarSphere\lib\moduleItems.lua:637: in function `GetItemSpell' Interface\AddOns\LunarSphere\lib\moduleItems.lua:558: in function `BuildLookupStrings' Interface\AddOns\LunarSphere\lib\moduleItems.lua:348: in function `OnUpdate' Interface\AddOns\LunarSphere\lib\moduleItems.lua:258: in function <Interface\AddOns\LunarSphere\lib\moduleItems.lua:258> Locals: (*temporary) = nil (*temporary) = "string expected, got nil" |
Most likely it's trying to do something with a spell that no longer exists. Can you post the file where that error is occuring? It should be an easy "band aid" fix. Based on the error message, you probably just need to find a list of spells, which is probably at/near the top of the file, and remove the ones that were removed from the game.
|
1 Attachment(s)
Attached the file listed in the error message - thank you for helping me figure this out!
|
Try adding the line marked in green:
Code:
function Lunar.Items:GetItemSpell(itemCatagory) |
That worked perfectly - no error message! Thank you so much!
|
All times are GMT -6. The time now is 12:31 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI