View Single Post
06-02-23, 02:34 PM   #4
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Well GetGuildRosterInfo (and other API that rely on a roundtrip to server for information) don't always provide valid data early in the loading process.

You can either monitor GUILD_ROSTER_UPDATE or check that name is not _G.UNKNOWNOBJECT and level return is valid before trying to use the returns.

This is all assuming the addon doesn't try to call GetGuildRosterInfo on an unguilded character.
  Reply With Quote