Jump to content

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


 Share

Recommended Posts

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.

Link to comment
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..

Link to comment
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..

Link to comment
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.

Link to comment
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)

Link to comment
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.

Link to comment
Share on other sites

  • 4 months later...

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...