Chat. Getting last message. menu

Shout-Out

User Tag List

Results 1 to 12 of 12
  1. #1
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Chat. Getting last message.

    I'm working on whisper signalizing.
    I've reversed wow a bit and have found chat offset. It's 0x0117938C. And offset to the next mesage is 0x17C0. There are 60 messages saved in memory. Next one comes from the begginig. And so on.
    Does someone happen to know how can i determine the last chat message?
    As i've searched i haven't found the solution.
    If they are <60 it's not a problem, but if they are >60....
    PS. I'll contribute my code as soon as it gets work and looks like not so rude

    Chat. Getting last message.
  2. #2

  3. #3
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice links! 10x
    But nothing new( I've looked through them and hadn't found the solution of my problem(

  4. #4
    lawlPwnage's Avatar Member
    Reputation
    6
    Join Date
    Nov 2007
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RiseAndShine
    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.
    <Too short.>

  5. #5
    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)
    Save all the messages to an array and check if they have changed when the 60th messaged is saved?


  6. #6
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see. But it seems rather brute, isn't it?
    But i guess it's the only one solution. Thanks all you.

  7. #7
    bolototo's Avatar Banned
    Reputation
    0
    Join Date
    May 2009
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    saves just whispers in a table and you compare them when there is a new post

  8. #8
    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)
    Use WoW's LUA event system. Hook into whatever event is responsible for the type of chat you're after.

  9. #9
    dook123's Avatar Active Member
    Reputation
    21
    Join Date
    Oct 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    whisper code

    If all he is doing is memory reading then thats cool if you can use LUA even better! I am having trouble with this though...

    I would really like to see your code if you will share it.

    Thanks,
    -Duke

  10. #10
    RoKFenris's Avatar Member
    Reputation
    16
    Join Date
    Jun 2008
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by furang View Post
    I'm working on whisper signalizing.
    I've reversed wow a bit and have found chat offset. It's 0x0117938C. And offset to the next mesage is 0x17C0. There are 60 messages saved in memory. Next one comes from the begginig. And so on.
    Does someone happen to know how can i determine the last chat message?
    As i've searched i haven't found the solution.
    If they are <60 it's not a problem, but if they are >60....
    PS. I'll contribute my code as soon as it gets work and looks like not so rude
    I'm not absolutely sure (not able to run WoW right now), but I think for 3.2 the current message index is at 0x011260EC. At least this one seems to be the only address whose content is multiplied by 17C0 in the client, and the function where this address is found also makes reference to 0x10CCB58 (which seems to be the base address to the chat array, there are 0x3c bytes before each string proper).

  11. #11
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're damn right!!!
    10x. But now i'm using method "diff between 2 loops".
    Gonna post my code soon.

  12. #12
    abuckau907's Avatar Active Member
    Reputation
    49
    Join Date
    May 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Public Sub DumpChat()

    Dim retString As String = ""

    For yy As UInt32 = 0 To 59
    retString += Environment.NewLine & memReader.ReadString(New IntPtr(modEnums.wowChatOffsets.Firstmessage + (yy * modEnums.wowChatOffsets.NextMessage)))
    Next
    MessageBox.Show("Chat Dump" & Environment.NewLine & retString)

    End Sub

Similar Threads

  1. [Error] My friend gets the message "Unable to Connect"
    By killerweb0 in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 07-29-2008, 04:19 PM
  2. Why Do I Keep Getting This Message?
    By psychobandit in forum Community Chat
    Replies: 9
    Last Post: 09-11-2007, 11:08 PM
All times are GMT -5. The time now is 07:14 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