Masque

Masque

7M Downloads

Bug: `nil` Error in `Core.lua`

StormFX opened this issue ยท 2 comments

commented

@StormFX just here then, yeah? https://github.com/Stanzilla/nivBuffs/blob/37985f5f785023965eb033fe1fca1d3ec4066c4c/nivBuffs.lua#L275 I tested with checking that btn exists but that still errord.

Originally posted by @Stanzilla in #57 (comment)

commented

@Stanzilla

My fault again. Until I push another alpha, go into your local copy of Core\Core.lua and move line 51 up three lines so it looks like this:

		if type(Button) == "table" then
			Type = Button.GetObjectType and Button:GetObjectType()


			if not Type or not oTypes[Type] then
				Type = nil
			end
			Button.__MSQ_oType = Type
		end

I'm assuming you're in the process of updating nivBuffs, because there's some seriously old code in there :p. For example, Masque now saves the skin settings, so lines 1350, 1353, 1356 and 1369-1375 are all obsolete.

I played with it a bit and still wasn't able to get the buffs to show up, though. I've some errands to run, but if you need any help, even with just getting Masque to work properly, let me know. :)

commented

Ah, okay :D Well I'm not really playing atm so I was hoping I could just do a quick fix, but we'll see if I get bored :)