[Help] Getting ChatBufferPos menu

User Tag List

Results 1 to 6 of 6
  1. #1
    teufel123's Avatar Active Member
    Reputation
    30
    Join Date
    Feb 2008
    Posts
    114
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Getting ChatBufferPos

    im currently writing a chat program in autoit and i got the reading of the chat covered but i cant get the chatbufferpos working. i tryed it with this code:
    Code:
    $bufferpos = _MEMORYREAD($WoWBase + 0x9F79C0, $HPROCESS, "dword")
    0x9F79C0 should be corret. i even tryed every other memread type but i dont get the bufferpos. i just want the read the lastest thing that the chat recieved but maybe its the code to read the chat. for that i use this
    Code:
    $chat = _MEMORYREAD($Base + 0x99E428 + 0x3C + 0x17C0 * $bufferpos , $HPROCESS, "char[666]")
    the code above should give me the lastest stuff, but it doesnt work :X
    id appreciate any help

    [Help] Getting ChatBufferPos
  2. #2
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try printing bufferpos and take a look at what is read.
    The way you try to read the last chat entry looks fine to me although there are easier apporaches to read the chat but nvm.
    Also are you sure about the "char[666]" you are reading as type of chat/string ?

  3. #3
    teufel123's Avatar Active Member
    Reputation
    30
    Join Date
    Feb 2008
    Posts
    114
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea, char is for string and the [666] is the lenght of the string it shoud read to. the bufferpos is actually ok like 36 or whatever but if i use the chat code with the bufferpos i dont get the lastest thing i say in chat

  4. #4
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by teufel123 View Post
    yea, char is for string and the [666] is the lenght of the string it shoud read to. the bufferpos is actually ok like 36 or whatever but if i use the chat code with the bufferpos i dont get the lastest thing i say in chat
    Aha well Autoit is crazy

    Did you try to read the first element in the array ? so instead of the buffer position just insert 0 and check what is printed. if it shows some sort of message you know where the issue is...

    edit: I still dont understand why you are only reading the first 666 chars but wth...
    Last edited by Azzie2k8; 02-21-2011 at 10:34 AM.

  5. #5
    teufel123's Avatar Active Member
    Reputation
    30
    Join Date
    Feb 2008
    Posts
    114
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 not working, cause 0 would be then pos = 0. and i could use 400 or something for the cars cause its not longer then the but whatever ^^

  6. #6
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by teufel123 View Post
    0 not working, cause 0 would be then pos = 0. and i could use 400 or something for the cars cause its not longer then the but whatever ^^
    uhu ehm then again pls tell me why the hell should NULL not work ?!?! it is a goddamn array. 0 is the first element...

    edit: just think about why 0x17c0 or whatever is called NextMessage and not something else...

    if you are not reading anything when trying with pos = 0 and there is at least 1 message in the chat box => you are reading the chat buffer wrong.

    if on the other hand you are reading it correctly your bufferpos is read wrong...

    just try and post it

Similar Threads

  1. Need some help getting our server online.
    By Mooa in forum World of Warcraft Emulator Servers
    Replies: 18
    Last Post: 02-21-2008, 11:24 AM
  2. [Help] getting players
    By House.MD in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-16-2008, 09:36 AM
  3. Need some help getting a server online.
    By Mooa in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-10-2008, 03:34 PM
  4. Boting: Need help getting started
    By grond in forum World of Warcraft General
    Replies: 3
    Last Post: 10-30-2007, 02:19 PM
  5. Need Help Getting Level 60
    By Kaladze in forum World of Warcraft General
    Replies: 16
    Last Post: 08-19-2006, 12:24 PM
All times are GMT -5. The time now is 10:08 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