View Full Version : Quick Loot
With the most recent patch to cosmos my quick loot got screwed up. I'm now geting an error which is:
[string"Interface\framexml\lootframe.lua"]:89:attempt to call global `lootframe_itemundercursor; (a nil value)
Like i said, before the patch everything worked perfectly. Now its screwed up. Any help would be nice.
Also when I try to turn it off, I still get the script error followed by. "Thottbot disabled" in the Chat Window.
Slipperymint
07-02-2004, 09:05 AM
I receive this string error message too. Ive even tried resetting the UI, However it fails, but even after i manually delete the interface and reinstall cosmos alpha, i get the string error message.
I also get Errors trying to Reset UI.
EDIT: added notes about calls to LootFrame_ItemUnderCursor(this)
The error is caused by someone fiddling around in LootFrame.lua.
A quick fix on the user end is (probably) to move the entire section contained between -- QuickLoot START and -- QuickLoot END to the top of LootFrame.lua (below LOOTFRAME_NUMBUTTONS though).
Also, QuickLoot can not be disabled currently, due to the same "patch".
To add enabling/disabling QuickLoot, replace the following two lines of codelocal function LootFrame_ItemUnderCursor()
local index;
withlocal function LootFrame_ItemUnderCursor()
if ( QuickLoot_Enabled ~= 1) then
return;
end
local index;
While this code snippet is untested, it should work and allow QuickLoot to be enabled and disabled again.
Also, replace all calls to "LootFrame_ItemUnderCursor(this)" in LootFrame.lua with "LootFrame_ItemUnderCursor()". This might be the true cause of why the function can't be found.
Sarf
---
Why is the cheese moving?
Ecwfrk
07-02-2004, 10:14 AM
A quick fix on the user end is (probably) to move the entire section contained between -- QuickLoot START and -- QuickLoot END to the top of LootFrame.lua (below LOOTFRAME_NUMBUTTONS though).
Thanks.
That works. The error is gone. Didn't try any of the rest.
And the Auto Loot functions as well.
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.