Looking for Guides to handle wow chat menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Zapman2010's Avatar Member
    Reputation
    3
    Join Date
    Feb 2012
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for Guides to handle wow chat

    Hello,

    I looked for guides to handle wow chat system, I searched arround and only found old threads with links for guides for noobs that are 404
    so I hope some body have something in his favs.

    thx

    Looking for Guides to handle wow chat
  2. #2
    Empted's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2011
    Posts
    117
    Thanks G/R
    0/5
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can't really help that much with chat handling, but all I do for it is just hooking FrameScript_SignalEvent and filtering for those events (chat events in your case) that are relevant. Then I pass event args to my main app using pipes and handle them there. To not only receive but to send messages you can use lua api.

  3. #3
    Zapman2010's Avatar Member
    Reputation
    3
    Join Date
    Feb 2012
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,

    thanks for response, I found the way I can read and parse chat buffer, only made some mistakes before.
    If somebody need basic snipet,

    Code:
            public enum Chat {
                Chat_Base = 0xC6DA40 + Chat_Ptr2,// 5.0.5
                /// <summary>
                /// Next Message
                /// </summary>
                Chat_Ptr1 = 0x17C0,              // 5.0.5
                Chat_Ptr2 = 0x3C                 // 5.0.5
            }
    
                uint ChatBufferStart = (uint)WoWProcess.baseAdress + (uint)Chat.Chat_Base;
                uint NextMessage     = (uint)Chat.Chat_Ptr1;
    
                for (int i = 0; i < 10; i++) {
    
                    string message = xmx.Memory.Read<string>((uint)(ChatBufferStart + (i * NextMessage)), (uint)NextMessage);
    
                    Helper.Debug.AddMessage(message);
                }

  4. #4
    berlinermauer's Avatar Master Sergeant
    Reputation
    3
    Join Date
    Mar 2010
    Posts
    89
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well using this, I only get the 10 first received Messages ever.
    Is the trick, that I should just loop through until NextMessage == 0 or something, or is it, that it only contains the 10 first messages, ever?!

  5. #5
    dan934's Avatar Banned
    Reputation
    33
    Join Date
    Jun 2009
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That may have something to do with the fact that his for loop only cycles 10 times -_-

    see:
    Code:
    for (int i = 0; i < 10; i++)
    The messages here are stored from first-last meaning the first message you are sent when your client is loaded will remain as #1 until you receive enough chat messages to start overwriting them (because there's a limit of how many messages you can have).

  6. #6
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'll just throw it here (C#):
    WowChatViewer v1
    WowChatViewer v2
    Last edited by TOM_RUS; 11-19-2012 at 08:51 AM.

  7. #7
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    I'll just throw it here (C#):
    WowChatViewer v1
    WowChatViewer v2
    Just for the archive:

    Code:
            private static readonly DateTime UnixEpochStart = new DateTime(1970, 1, 1, 0, 0, 0, 0);
    should be replaced with

    Code:
            private static readonly DateTime UnixEpochStart = new DateTime(1970, 1, 1, 0, 0, 0, 0).ToLocalTime();

    Otherwise will it return an UTC-Timestamp (like a Unix-Timestamp should be), but I guess everybody wants to work with a DateTime for the local timezone.

  8. #8
    doityourself's Avatar ★ Elder ★
    Reputation
    1424
    Join Date
    Nov 2008
    Posts
    843
    Thanks G/R
    35/448
    Trade Feedback
    0 (0%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Frosttall View Post
    Just for the archive:

    Code:
            private static readonly DateTime UnixEpochStart = new DateTime(1970, 1, 1, 0, 0, 0, 0);
    should be replaced with

    Code:
            private static readonly DateTime UnixEpochStart = new DateTime(1970, 1, 1, 0, 0, 0, 0).ToLocalTime();

    Otherwise will it return an UTC-Timestamp (like a Unix-Timestamp should be), but I guess everybody wants to work with a DateTime for the local timezone.
    hmm I guess no^^

Similar Threads

  1. Looking for guide on armor swaping for sunwell/s4.
    By Beerstud in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 06-28-2008, 06:46 PM
  2. Looking for free download of WoW
    By dude891 in forum World of Warcraft General
    Replies: 0
    Last Post: 01-22-2008, 05:51 PM
  3. Looking for guide
    By No_LiMiT in forum World of Warcraft General
    Replies: 0
    Last Post: 08-08-2007, 04:45 PM
All times are GMT -5. The time now is 05:22 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search