Total RP 3: Raider.IO Tooltip Support

Total RP 3: Raider.IO Tooltip Support

144k Downloads

Crash on mouseover - RaiderIO.GetProfile table structure change

AySz88 opened this issue ยท 1 comments

commented

When a tooltip tries to render with a character that has raid data, this crash happens:

tRP3_RDotIO/tRP3_RDotIO.lua:294: attempt to index field 'dungeon' (a nil value)
[string "@tRP3_RDotIO/tRP3_RDotIO.lua"]:294: in function <tRP3_RDotIO/tRP3_RDotIO.lua:73>
...

It appears that the table returned from RaiderIO.GetProfile has changed to remove "dungeon", i.e:

thisPlayerTables['raidProfile']["sortedProgress"][z]["progress"]["raid"]["dungeon"]["shortName"]

should now be:

thisPlayerTables['raidProfile']["sortedProgress"][z]["progress"]["raid"]["shortName"]

It looks like this only affects two places, tRP3_RDotIO/tRP3_RDotIO.lua:294 and tRP3_RDotIO/tRP3_RDotIO.lua:304.

commented

Fixed in commit #b8974a3, thank you!