Originally Posted by xaktsaroth
As soon any of the lunar proccs and it pops up I found an error ,I think, in the lua.
if barname == "Eclipse" then SquawkAndAwe.ActiveEclipseBuff = true end
Before it looked like ActiveEclipsebuff = true end
Was a tab in the line but that did not seem to make any difference.
*edit* I see its a doubble == as well now
*edit 2* Does not seem I can make a tab on this quick reply post I made.
|
The erroring line is:
self.frames[barname][barname]:SetStatusBarColor(color.r, color.g, color.b, color.a)
as long as our line numbers match, which they should. There's a few options here;
barname is nil - unlikely, since there are tests on it prior to the error, and it would require k to be nil as well.
barname is an invalid value ("Eclipsew" would be invalid) - also unlikely, as the previous tests would stop the code from reaching 1079.
color is invalid - possible, this might require deleting the saved variables file to determine. Still unlikely, though
frames[barname][barname] doesn't exist - this is the most likely I can think of.
The attached is a debug version of 307: No functional changes, just added a few print statements. It should first print how many bars it expects to generate, then a list of the specific bars (both the proc and CD bars) actually generated. These numbers don't correlate, so don't worry if it says something like 7 and then only lists 2 bars. Then it will print that it has finished creating bars. It may do this process more than once. Finally, once it's loaded, it will print the value of barname just before line 1079. I need the final listing from bar creation, from number to finishing statement, and the value of barname from just before an error occurs (though if you confirm that, say, it prints "T102P" just before Omen of Doom procs, that would be cool, too).