Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to log value changes and store them to txt file?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
bogdan
How do I cheat?
Reputation: 0

Joined: 06 Jan 2011
Posts: 3

PostPosted: Fri Jan 07, 2011 7:28 am    Post subject: How to log value changes and store them to txt file? Reply with quote

I have found the memory addresses that store the values for X,Y,Z coordinates in Quake2. I tested them with /viewpos and Cheat Engine displays them correctly. The values type is Float.

I need to save these X,Y,Z values every second (or less) in a txt file, so i can trace my movement inside the game (using some CAD software to visualize the points).

Is there any way to do this using Cheat Engine or a script for it?
Is there any other software that can record in a file the changing value at a specific memory address?

Thank you!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

Joined: 09 May 2003
Posts: 25974
Location: The netherlands

PostPosted: Fri Jan 07, 2011 8:20 am    Post subject: Reply with quote

well, I guess you could implement it in an autoassembler script (inject a thread into the game that fetches the values and then uses the createthread and writefile api to write the results)

also, next ce version will have some more advanced scripting with access to the cheat table and the values and allows you to set a timer which triggers the code every specific interval.
I guess you could use that as well

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
bogdan
How do I cheat?
Reputation: 0

Joined: 06 Jan 2011
Posts: 3

PostPosted: Fri Jan 07, 2011 10:02 am    Post subject: Reply with quote

Also a feature like this would be useful for noobs like me who don't know how to script.

Thanks for the tips... i'll dig into autoassembler.



record address value to file.jpg
 Description:
 Filesize:  144.68 KB
 Viewed:  6881 Time(s)

record address value to file.jpg


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites