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 sort strings in chronological order?

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

Joined: 28 Oct 2019
Posts: 2

PostPosted: Mon Oct 28, 2019 5:03 am    Post subject: How to sort strings in chronological order? Reply with quote

I used the string search feature that outputs all strings to file, reason is I'm trying to record a match in an online, chat-based game.

It's made in Unity.

But the strings are not in chronological order, they've been shuffled.

Can cheat engine be set to automatically save new strings to file as soon as they appear in memory, so the chronological order can be preserved?

All the strings I want have a specific pattern, specifically they are enclosed within HTML tags so with regex I could isolate the type of string I want, but how do I get cheat engine to continuously scan the game memory for new strings as they appear, then save them to file?
Back to top
View user's profile Send private message
Meas
Newbie cheater
Reputation: 0

Joined: 31 Oct 2015
Posts: 17

PostPosted: Mon Oct 28, 2019 3:05 pm    Post subject: Reply with quote

You'd probably be better off using code injection to get 'notified' when a new chat message appears and then save it to a file manually.

If you're feeling lucky you can also try browsing the memory region that stores the chat messages. But it depends on the game if it will keep old messages in memory forever. So, I'd go with code injection.
Back to top
View user's profile Send private message
Jol Haly
How do I cheat?
Reputation: 0

Joined: 28 Oct 2019
Posts: 2

PostPosted: Tue Oct 29, 2019 6:25 pm    Post subject: Reply with quote

I did confirm it does retain old messages in memory forever, in fact it keeps 2 copies of each message at a random memory location.

Can you elaborate further on this code injection you speak of? I've never done this before.

And given I can't predict beforehand where a new message will appear in memory, how would I even begin to write code to notify me when one does?
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