cant keep up with the chat log... menu

User Tag List

Results 1 to 3 of 3
  1. #1
    donth8me's Avatar Member
    Reputation
    3
    Join Date
    Apr 2009
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cant keep up with the chat log...

    I have seriously been programming in C# for less than a month. Moved from PHP and have been moving along really well. I'm doing my first program for wow which reads the chat memory.

    I had a little trouble with figuring out where, in the 60 messages that wow holds in memory, to start looking for change when new chat is stored in the memory. What I did was have my program /say a random 4 digit string and then start reading the chat memory starting at the first log and then moving up until I get to the 4 digit string that was input. One problem with that is if someone chats before my program has a chance to find that 4 digit string then it doesn't set the multiplier correctly.

    My main problem, and the reason I'm typing this is... I can't keep up with what multiplier it's on. If not much is being said in chat then all is good but if I step into trade chat then I lose the correct multiplier. I even juiced up my CPU usage an extra 50% by using a timer in C# that checks the next chat log for a change every 20 milliseconds. Am I going about this all wrong? What direction should I take because a program of this magnitude shouldn't use more than 10% processor power.

    cant keep up with the chat log...
  2. #2
    donth8me's Avatar Member
    Reputation
    3
    Join Date
    Apr 2009
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After hacking away at it I found a nice way to keep track. Just save each chat log to a text file every 10 seconds or so and before you save it to the text file just make a string variable that contains the entire contents of the text file. Then check that variable with IndexOf and if it is -1 then you know it is a new message to save. If it is a new string then check if it is the chat type you are looking for, if so do what you need to it. I have made it run on 4 WoWs at the same time and it doesn't even push past 1% process power.

  3. #3
    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)

    chat

    http://www.mmowned.com/forums/wow-me...s-3-2-0-a.html

    I am sure you are doing something like this but it sounds like since you are new you can appreciate this code. I modified the code from that post for my purposes really easily. Sends whispers to my msn messenger

    -Duke

Similar Threads

  1. Any hacks out with the feature to let you chat with opposite faction?
    By NeBz in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 06-23-2011, 08:36 AM
  2. Chat with the other race (a few phrases)
    By lacrosseman in forum World of Warcraft Guides
    Replies: 26
    Last Post: 06-29-2009, 06:24 AM
  3. How to Read Combat log or Chat log? with program?
    By riki in forum World of Warcraft General
    Replies: 0
    Last Post: 08-06-2008, 02:41 PM
  4. [GUIDE] How to keep up with all of the patches!
    By Nubbadon in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 03-14-2008, 09:39 AM
  5. Replies: 14
    Last Post: 12-27-2007, 08:44 PM
All times are GMT -5. The time now is 01:54 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