Having some issues with sending data back and forth between players using GLOBAL:
Player A can successful send data to player B, but player B can't send the same data back to player A. Did a /RL with player B, and all the data populated again from player A. Did vise-versa with player B having the data and did a /RL on player A, and they still won't receive the data from player B.
If Player B has different/new data then player A, player A isn't receiving it. But if player A has different/new data it gets sent successfully to player B.
I know using GLOBAL is taboo from reading different posts, but I can't for the life of me figure out how to send WHISPER to all the players that are using my addon with data.
This is the gist of the communication part here, oh BTW this was testing on my main account and a trial account, not sure if that is an issue? All the debug messages where correct, so player B knew what the info was being sent, just player A wouldn't receive it.
I'm not fluent in LUA/WoW API. So I'm sure this is a heaping mess, but parts work perfectly and others, well meh!
from looking at that code snipet, it looks like your not doing anything with the incomming data, looks like your setting a few locals/global variables.. problem with using non-table references is that when they change they really change and messes up consistancy sometimes if your moving scopes.
try making a function that handles set and gets for the quest IE
self.CurrentQuests[type] = questname
return self.CurrentQuests[type] and self.CurrentQuests[type]
Interesting, I'm trying to get the list of people in the AceComm channel to try what Shock said with just getting a whisper list and GetChannelDisplayInfo() won't even return that AceComm is a valid channel. It'll display the header 'CUSTOM', but no channel lists within.