Guild Raid Attendance

Guild Raid Attendance

24.9k Downloads

error in utils.lua line 594

mitterman2 opened this issue ยท 7 comments

commented

since the rest this week, a lua error occurs in utils.lua line 594
this happens everytime a person leaves the raid and the leavetime is being calculated.
i ll update with the exact error on sunday.
it is something about the math.min function expecting a number but recieving a bolean? i m sorry i m not good with lua or java.

just want to give you my huge thanks for this addon. it is so amazing!

commented

Message: Interface\AddOns\GuildRaidAttendance\Utils.lua:594: bad argument #2 to 'min' (number expected, got boolean)
Time: Fri Apr 12 19:23:10 2019
Count: 1
Stack: Interface\AddOns\GuildRaidAttendance\Utils.lua:594: bad argument #2 to 'min' (number expected, got boolean)

Locals:

commented

image

commented

That's odd...
I've never met this error before. And the two variables in math.min should always be Number.
Tell me which version you used before. Maybe you skipped the version which changed the data structure.

Or you can send me your GuildRaidAttendance.lua (in SavedVariables). It might help me to find out the problem.

commented

Try to replace Revise.lua and Track.lua in GRA folder with these two.
GuildRaidAttendance.zip

commented

will give it a try. cheers mate. will report back tomorrow after raid.

commented

its weird, i m getting the error everytime someone leaves or joins the raid.
i think i have the latest version. only started to use the addon 2 or 3 weeks ago and got no options to update.
GuildRaidAttendance.zip

commented

the problem is gone. massive thanks and again cheers for making this available to the public. it is an awesome tool!