What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

TellRecevied event is misbehaving.

parrot

Community Developer
Joined
Feb 5, 2012
Messages
222
Hi, so im not sure about the proper channels to report this so im making this thread.

Im looking into a bug in my plugin "alertme" but while investigating I noticed that the event for tells isnt behaving like im expecting it should. i tried striking up a conversation with another player using this debug code:


Code:
 private void TellReceived(object sender, ff14bot.Managers.ChatEventArgs e)
        {
            Log.Bot.print("event triggered");
            Log.Bot.print("author: " + e.ChatLogEntry.SenderDisplayName + "\r\n" + e.ChatLogEntry.Contents); 
        }

//log.bot.print() = Logging.Write()

1. messages sent by me got logged as being sent by the recipient.
2. Event triggers on replies according to first printout but the second line which prints the message author and content fails.

I have either misunderstood the api or theres a problem here (offset change?). Whispering myself seem to work like expected though.
 
Last edited:
Sorry forgot to take a look at this, looks like i used the wrong message filter for the tellrecevied event, its fixed for the next version but until then you can use the messagerecevied event and check that the message type is MessageType.Tell_Receive
 
Sorry forgot to take a look at this, looks like i used the wrong message filter for the tellrecevied event, its fixed for the next version but until then you can use the messagerecevied event and check that the message type is MessageType.Tell_Receive

thank you
 
Back
Top