Reading Chat Out-of-Process menu

Shout-Out

User Tag List

Results 1 to 10 of 10
  1. #1
    RiseAndShine's Avatar Member
    Reputation
    18
    Join Date
    Jan 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Reading Chat Out-of-Process

    So I'm finally getting a little used to IDA & Olly and found a way read the ChatChannels. This should be useful for noticing annoying tells. I've been leeching for a long time now, so I thought I might wanna share something ^^.

    ----------------

    Chat-Messages start at:
    0x104BCE4

    There you'll find something like:
    Type: [7] Channel: [] Player Name: [Dude] Text: [Sup!]

    The Typenumber tells you which kind of message it is:
    17: Public-Channels (Trade, LFG, etc.)
    7: Whisper-FROM
    9: Whisper-TO
    1: Say
    4: Guild
    5: Guild-Officer

    Hadn't have a chance yet to get the type of Party & Raid, but it should be easy to determine.

    The next Chat-Message will be at:
    +0x17C0

    ------------------

    Now there's just one more problem, when you start up the client the first message will be at 0x104BCE4, the second at 0x104BCE4 + 0x17C0, third at 0x104BCE4 + (2*0x17C0) and so on...
    This continues until the 60 message at (0x104BCE4 + (59*0x17C0)). If there's a new Chat-Message after this point the message will be stored at beginning again (0x104BCE4). However the old ones remain in memory until new messages overwrite them. The way I handled this, is just to check for different messages in between 2 reading loops, which seems to work well enough.


    Here's my code, may be it explains it a little bit clearer:
    NoMorePasting.com

    Reading Chat Out-of-Process
  2. #2
    BoogieManTM's Avatar Active Member
    Reputation
    52
    Join Date
    May 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice job.

    here's a complete list of chat types (may be a bit out of date):

    Code:
        public enum ChatType : byte
        {
            ADDON = 0,
            SAY = 1,
            PARTY = 2,
            RAID = 3,
            GUILD = 4,
            OFFICER = 5,
            YELL = 6,
            WHISPER = 7,
            WHISPER_MOB = 8,
            WHISPER_INFORM = 9,
            EMOTE = 10,
            TEXT_EMOTE = 11,
            MONSTER_SAY = 12,
            MONSTER_PARTY = 13,
            MONSTER_YELL = 14,
            MONSTER_WHISPER = 15,
            MONSTER_EMOTE = 16,
            CHANNEL = 17,
            CHANNEL_JOIN = 18,
            CHANNEL_LEAVE = 19,
            CHANNEL_LIST = 20,
            CHANNEL_NOTICE = 21,
            CHANNEL_NOTICE_USER = 22,
            AFK = 23,
            DND = 24,
            IGNORED = 25,
            SKILL = 26,
            LOOT = 27,
            SYSTEM = 28,
            //29
            //30
            //31
            //32
            //33
            //34
            //35
            //36
            //37
            //38
            BG_EVENT_NEUTRAL = 35,
            BG_EVENT_ALLIANCE = 36,
            BG_EVENT_HORDE = 37,
            COMBAT_FACTION_CHANGE = 38,
            RAID_LEADER = 39,
            RAID_WARNING = 40,
            RAID_WARNING_WIDESCREEN = 41,
            //42
            FILTERED = 43,
            BATTLEGROUND = 44,
            BATTLEGROUND_LEADER = 45,
            RESTRICTED = 46,
        };

  3. #3
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice; I used this quite a while back when I coded my cross-game whisper and chat.

    It would read the chat out of process for multiple games and you could type something like..
    Code:
    ;w USERNAME:MESSAGE HERE
    Then it would attempt to send the message to said user if they were logged on, then post it to the game they were in if they were in one OR open a chat window.

    Was kind of cool..


  4. #4
    ramey's Avatar Member
    Reputation
    45
    Join Date
    Jan 2008
    Posts
    320
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can also hook Broadcast Event and grab messages from there.

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ramey View Post
    You can also hook Broadcast Event and grab messages from there.

    Or CGChat_C__AddChatMessage

  6. #6
    SuperRomu's Avatar Member
    Reputation
    1
    Join Date
    Mar 2007
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know c#, what exactly i have to do for read chat? I need any kind of assembly?
    I get error on this when i try to run.

    public void StartReading()
    {
    PrepareReading();
    Thread t = new Thread(ReadChat);
    t.Start();
    }

    Thread can find!

  7. #7
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, but you will have to reverse the values of the new pointers and offsets. Not hard. Look at the lua. Love the lua...

  8. #8
    miLl3niUm's Avatar Member
    Reputation
    16
    Join Date
    Jun 2009
    Posts
    312
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you explain what this does for the newbs?

  9. #9
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What? Is the explanation at the top not good enough for you???

  10. #10
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Necro posting ftl.

Similar Threads

  1. Out of process - Getting battle.net chat names
    By Naice in forum WoW Memory Editing
    Replies: 0
    Last Post: 11-17-2011, 01:39 AM
  2. Read Chat messages out-of-process
    By kajko in forum WoW Memory Editing
    Replies: 2
    Last Post: 05-06-2011, 10:55 AM
  3. [C#][Copy/Pasta] Out of process DBC reading
    By Apoc in forum WoW Memory Editing
    Replies: 51
    Last Post: 08-16-2010, 02:19 PM
  4. [mac][3.3.2] Client DB - Out of Process Reading
    By Tanaris4 in forum WoW Memory Editing
    Replies: 18
    Last Post: 03-02-2010, 05:14 PM
  5. Can you read player names out of process?
    By sweeper18 in forum WoW Memory Editing
    Replies: 10
    Last Post: 07-06-2008, 08:54 PM
All times are GMT -5. The time now is 05:07 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search