GetRaidRosterInfo occasionally returning nil
by Pastamancer | 16/01/2007 23:14:03![]() I've been running into what appears to be a bug with the SecureRaidHeader ever since 2.0. In SecureRaidGroupHeader_Update, it calls GetRaidRosterInfo() for raid indexes 1 to GetNumRaidMembers() which is normally just fine. However, sometimes GetRaidRosterInfo() is returning nil (for at least the unit's name) and triggering an error message: Date: 2007-01-15 05:01:04 Line name is the nil value mentioned in the error message. name comes from GetRaidRosterInfo(i) on line 877. i comes from 1, GetNumRaidMembers() on line 876. A simple check to see if name is not nil in the if that begins on line 878 would seem to be all that is necessary to avoid the error. 876| for i = 1, GetNumRaidMembers(), 1 do |
by Slouken | 04/05/2007 01:47:20![]() The check for nil name has been added for 2.1.0 release, thanks! |
by Slouken | 04/05/2007 04:05:13![]() That's not a bad idea... I'm not sure if it'll make 2.1.0 though. |


Recent Blizzard Announcements