Orgins Posted October 6, 2007 Share Posted October 6, 2007 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 More sharing options...
corz Posted October 6, 2007 Share Posted October 6, 2007 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 More sharing options...
Orgins Posted October 7, 2007 Author Share Posted October 7, 2007 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. Link to comment Share on other sites More sharing options...
corz Posted October 7, 2007 Share Posted October 7, 2007 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 More sharing options...
Orgins Posted October 8, 2007 Author Share Posted October 8, 2007 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 More sharing options...
McGod Posted October 8, 2007 Share Posted October 8, 2007 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) [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
Orgins Posted October 10, 2007 Author Share Posted October 10, 2007 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 More sharing options...
Generator Posted October 10, 2007 Share Posted October 10, 2007 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. Link to comment Share on other sites More sharing options...
Orgins Posted October 11, 2007 Author Share Posted October 11, 2007 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. Link to comment Share on other sites More sharing options...
Generator Posted October 11, 2007 Share Posted October 11, 2007 Use CheatEngine at www.cheatengine.org and go through the tutorial, you will know by then. Link to comment Share on other sites More sharing options...
Orgins Posted February 17, 2008 Author Share Posted February 17, 2008 (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 February 17, 2008 by Orgins I'm a newbie.Sorry if I don't reposed to your replays very fast. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now