View Full Version : Is anyone else getting this with Macaroon?
Tanntyn
11-19-2008, 08:03 PM
I have Macaroon installed and it worked great for a while. Now all of a sudden I'm getting some button.lua error everytime I click a button or hit the hotkey. Interestingly, it only happens on one toon and only when that toon casts a spell. I copied over the files from one of the other toons and nothing. even deleted the setups and still doing it. any ideas?
before you ask, I did contact the author and he hasn't gotten back to me yet.
Sam DeathWalker
11-20-2008, 12:18 AM
Ya me also line 2322 or something, I think I going into it and disable it I dont know what it does though lol ... but seeing its giving error whatever it does isnt being done anyways. Just search for a "lua editor" and it will count the lines for you and just go in and delete the command at that line.
Here is the line:
if (lower(spell) == lower(match(self.macrospell, "^[^(]+"))) then
self.updateicon = true
Here is the error
Interface\AddOns\Macaroon\Macaroon_Butons.lua:2322 : bad argument #1 to 'lower' (string expected, got nil)
you can pass that infos on to maul
Im changing:
if (lower(spell) == lower(match(self.macrospell, "^[^(]+"))) then
self.updateicon = true
end
to:
self.updateicon = true
in my copy
seems to work ok after that fix.
Ghallo
11-21-2008, 04:18 AM
I just took out the lower() for both...
if (lower(spell) == lower(match(self.macrospell, "^[^(]+"))) then
became:
if (spell == match(self.macrospell, "^[^(]+")) then
I don't know which is better. If I run into errors, I'll let you know
blast3r
12-07-2008, 11:00 AM
I just took out the lower() for both...
if (lower(spell) == lower(match(self.macrospell, "^[^(]+"))) then
became:
if (spell == match(self.macrospell, "^[^(]+")) then
I don't know which is better. If I run into errors, I'll let you know
Thank you!! This worked!
I'm not sure if anyone else had issues with key bindings screwing up after updating to the new version of macaroon that is 'possessed' compatible but I sure did. What I found was the bindings had two little >> (») before and after the binding if you hovered over the button in bind mode and looked at it.
What I ended up doing was editing each Macaroon.lua in the folders:
C:\Users\username\Documents\wowbak\12-7\wowow5\WTF\Account\ACCOUNTNAME\Magtheridon\Shäm\ SavedVariables
I opened with notepad and did a replace all on » and then saved. If you use wordpad you have to replace » (who knows).
I was not looking forward to rebinding all of my keys and this seems to have worked. Hope it helps someone else.
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.