I'm trying to do the same in a HBPlugin, just to log...and nothing happens.... HB 1.245 it does not work HB 1.246 it seems to work properly
Actually that is the reason why I never finished Extender. Sometimes the event was fired over and over again or there was no event at all. Worst thing is, you can't get Unicode names for whisperers.
Nesox I am trying to monitor ingame messages from an outside program (relogger), it would be easier to just plug in the bot itself and get that stuff from there, how can I do this?
I've been trying to work on something simular, but without success, Althou my C# skills are non-exsistant. Basiclly what I was trying to do (After looking at yours) is completly wrong lol. Code: [LIST=1] [*] public class kShot : HBPlugin [*] { [*] [*] [*] public void printScreen(WoWChat.ChatMessageHandler) [*] { [*] if (WoWChat.WoWChat.NewWhisperFromMessage) [*] { [*] KeyboardManager.KeyUpDown((char)Keys.PrintScreen); [*] } [*] } [*] } [/LIST]
Ok, i solved the first issue using the last hb version 1.246 now the events are fired normally. But when i try to use ChatType.WhisperTo in WoWChat.WoWChat.SendChatMessage(message, ChatType.WhisperTo, LastChannel); I got an error in lua interface as unknow chattype. With 1.245 this code was working...
Thanks for this, just modified a version which will let me output the says/tells to the log. Have another small app that monitors the log in real time to provide audible alerts for says and tells, another goal crossed off my list!