Sign in to follow this  
Followers 0
Orgins

How would one read a games memory(chat log)?

11 posts in this topic

How would one read a games memory(chat log)?

I have a few friends I play a online game with (WarCraft III) but they don't all speak in English :

so I want to use a translator on every new line (or when I hit a hotkey+# it'll read the last that # of messages sent )

(I'll probly just use Google's)

then I'll have the translated text splash (or use a text to voice program) on the screen.

So how does one go about reading a games chat log?

I'm not asking for a hand out just some pointers.


I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites



First, locate the log.

After that it's pretty easy; read in the file, chop it up into lines (into an array of lines, perhaps) and then process them.

But first, you need to find the log!

;o)

(or


nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

I have a good ideal how to do everything but getting the log. Maybe someone can help me out on that?


I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites

It's a chat log, right? So play a game, and, in chat, say "ZUDOERJEJUDXTY".

Then quit the game, and run a full-text search for the word, ""ZUDOERJEJUDXTY".

The file you find it in will probably be your chat log.

It will probably be in the game's folder.

;o)

(or


nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

I can't seem to find the chat log that way. I've searched for both words used and user names.

I believe it only saves the chat log in replays of the game (after the game is over).


I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites

Your going to have to read the memory, which for chat logs is usually difficult, I'd recommend getting a memory searcher to find certain snippets of the text and trying to figure out exactly how WC3 does it. I'm going to warn you, you might get caught by Warden (Warcrafts hack detection)

Share this post


Link to post
Share on other sites

I only play custom games so Wardens not a issue. (and thanks for your help)

I've never used a memory reader/editors before but I think I found it.

I found (Started on address 0A83006C)

E:\Drive1\temp\buildwar3x\engine\Source\Frame\CTextArea.cpp 8 ¿mo[Allies] |CFFFED312Fishdo:|R First line of text 8 ¿mo[Allies] |CFFFED312Fishdo:|R 2nd line of test 8 ¿mo[Allies] |CFFFED312Fishdo:|R 3rd line of text

On the editor it looks a little different some of the symbols didn't copy and past right.

Would it address change ever game? b/c in the next game the address was 13BF006C.

and I'm at a lost of what to do now.


I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites

You will need to find that address as Text type, and you should find out what memory writes it so you make a pointer and a offset and store it(so you don't lose the address). But anyhow i don't think chatlog are saved in WC III.

Share this post


Link to post
Share on other sites

Sorry for being a newbie but how do I find out what memory writes it?

and I got no clue what a pointer and a offset is.


I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites

Use CheatEngine at www.cheatengine.org and go through the tutorial, you will know by then.

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

Dead-Post-Bump-Ish (I haven't had much free time)

Ok so I got the pointer (or pointers I keep getting 4 of them guess I'll have to test one by one) and the offset is 00.

What should be my next step? I'll take any bit of help even just a link to a topic/tutorial.

Into then I'll keep googleing.

Edit* I started playing around with the WinAPI stuff but I can't seem to access war3.exe with it.

"_WinAPI_OpenProcess:Standard: Access is denied."

Edited by Orgins

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0