Originally Posted by cyxui
Does that mean the overwritten GetSelectedTradingHouseGuildId by AGS might return guildName = A when the guild name is actually B?
|
No. AGS on it's own will always return the correct set of guildName and id.
What I mean is that if some other addon replaces only one of these functions and does not properly call the replacement from AGS, but instead the original ingame function (e.g. because it stored a reference before AGS was initialized), there may be a mismatch, since the id returned by GetSelectedTradingHouseGuildId could be for a different guild than what GetCurrentTradingHouseGuildDetails returns in that situation.
But that's just a theory. I haven't heard of any such issues and the code has been in the addon for more than 5 years.
EDIT: on second thought, even if only one function were replaced, it shouldn't matter for kiosks, since they only have one guild, so AGS would always return the value from the original api anyway. So this probably has nothing to do with the issue you see.