7 - Original sender's class needed for interop
TFW/LFW needs to make the class, race, level and gender of a message's original sender available to other add-ons. I'm working on the LFMonitor add-on, and we need the sender's class in LFG/LFGuild messages in case we don't detect a mention of it in the message text. But TFW/LFW passes an empty string in place of the GUID, causing GetPlayerInfoByGUID to fail.
Assuming GetPlayerInfoByGUID is hookable, you don't need to transmit the actual GUID if space is an issue. Instead you can send a code that holds the info GetPlayerInfoByGUID returns, and hook GetPlayerInfoByGUID with a function that decodes them.
| User | When | Change |
|---|---|---|
| seahen | Sep 08, 2011 at 07:48 UTC | Create |
- 1 comment
- 1 comment
- Reply
- #1
seahen Sep 08, 2011 at 10:56 UTC - 0 likesRevision 45 and TFW revision 38 fix this issue. I've made branches for them at svn://svn.curseforge.net/wow/lfgforwarder/mainline/branches/fakeguid svn://svn.curseforge.net/wow/tradeforwarder/mainline/branches/fakeguid