CGChat__AddChatMessage Hook menu

User Tag List

Results 1 to 8 of 8
  1. #1
    peterwurst's Avatar Member
    Reputation
    11
    Join Date
    Jul 2006
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CGChat__AddChatMessage Hook

    Heya,

    I'm currently trying to figure out which arguments are passed to this function.

    My function signature looks like this:

    Code:
    public int CGChat__AddChatMessageCallback(int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12, int a13, int a14)
    This is what I currently figured out:

    a1 = Message
    a2 = Type
    a3 = PlayerName (Only on TradeChannel /General Chat confirmed)
    a5 = Channel (TradeChannel e.g.)
    a6 = PlayerName (Only on TradeChannel /General Chat confirmed)

    But I can't find the playername for whispers / says or tells.
    Neither of the arguments contains a valid playername for these chattypes.

    Can anyone give me a hint on that?


    Btw: I read that warden scans addchatmessage, so may I get in trouble for hooking that function? (On my trial acc nothing happend)

    CGChat__AddChatMessage Hook
  2. #2
    leather's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if you do this,your account will be banned.

  3. #3
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Warden - WoW.Dev Wiki

    Yes, you will get banned for doing that.
    Hey, it compiles! Ship it!

  4. #4
    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)
    You can use DR0-3 hooks to do it. Or hook somewhere else in the function. There's a way around everything.

  5. #5
    peterwurst's Avatar Member
    Reputation
    11
    Join Date
    Jul 2006
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Damn thought so, I read the article on the warden page, but that's really outdated, so I thought maybe they removed the scan

    How do you guys get the chat (and no, I don't want to use readprocessmemory)?

  6. #6
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe take a look at the lua functions which retrieve the chat content.
    Last edited by flo8464; 11-28-2009 at 12:10 PM.
    Hey, it compiles! Ship it!

  7. #7
    Prodian0013's Avatar Corporal
    Reputation
    13
    Join Date
    Nov 2009
    Posts
    30
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by peterwurst View Post
    (and no, I don't want to use readprocessmemory)?
    Why not, it's the safest way, right?

  8. #8
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Prodian0013 View Post
    Why not, it's the safest way, right?
    He wants to hook it, so he seems to be in-process.
    No need for ReadProcessMemory.
    Hey, it compiles! Ship it!

Similar Threads

  1. Hooking up unused instances
    By iindigo in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 09-22-2007, 08:13 PM
  2. Need Help....Hooking Signals
    By shindaustin in forum World of Warcraft Emulator Servers
    Replies: 19
    Last Post: 09-03-2007, 04:44 PM
  3. Hooking Signals
    By Banksey in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 08-31-2007, 01:26 AM
  4. Music ya dj hook ya up with some beats.
    By DJ Zodiac in forum Community Chat
    Replies: 1
    Last Post: 07-27-2007, 03:45 AM
  5. Hook a brother up..
    By HaSh in forum World of Warcraft General
    Replies: 0
    Last Post: 01-21-2007, 03:36 PM
All times are GMT -5. The time now is 06:16 PM. 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