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 


Reading Strings only From poker tables.

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

Joined: 11 Apr 2013
Posts: 1

PostPosted: Thu Apr 11, 2013 3:42 pm    Post subject: Reading Strings only From poker tables. Reply with quote

Hey, first off, I'd like to say what an amazing piece of software this is, kudos to the developers.

send, I hope this is in the right section, I was first thinking the request page, but your only aloud to post requests for single player cheats there, but since this isn't for cheating or a single player game, I'll post it here

also, I'm not even sure if I even need cheat engine to do this.. anyway's I digress.

I'm trying to make a DLL injector for a poker table to keep track of people's stack sizes, (so with some simple math I can keep track of the bet sizes) I do this already with a pencil and paper, but it makes me very slow to make my move which annoys a lot of people.

using Cheat engine I've figured out the values are stored as a string format (rather then double like I thought) I can also quite easily figure out what location in the window & the handles of such windows. I can also easily find (with cheat engine) where the string is stored in the memory for that instance. but as soon as you switch windows, or close/re-open the window that location changes.

how can I program a DLL to automatically find Where the String is located so I can read it with my program? (I'll be using C++ since that's the language I'm most familiar with)

note: I tried finding pointers to it via "find what accesses this address" but no real luck.

hopefully that made sense.

thank you in advance, and thank you for reading all of this, it's a bit more wordy then I thought it would be.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Thu Apr 11, 2013 6:46 pm    Post subject: Reply with quote

Beat cheat engine tutorial step 8 using the method described here: http://www.youtube.com/watch?v=1jxZ4FcEC9w (pointerscanner). Manually finding a pointer via "find out what..." is simply impractical in most cases.

Then use the pointerscanner to find a pointer to your string. Once you've got a pointer that always works in cheat engine, right off the bat, without any scanning, implement in your dll a code that will walk the pointer path (ReadProcessMemory, add constant to the result, ReadProcessMemory again, add another constant, etc... or direct memory access since it's an injected dll).

PeteAndPerry wrote:
I've figured out the values are stored as a string format [...] but as soon as you switch windows, or close/re-open the window [their] location changes.
Imo the game holds the values you want as ints/floats/doubles and converts them to string just before displaying them. So if you can't find a pointer to your string because it's too deep/pointerscanning gets too long, then see if you can find the source of those strings in cheat engine.

Otherwise if you want to give the finger to my opinion, this thread is a good start: http://forum.cheatengine.org/viewtopic.php?t=498870 .
Back to top
View user's profile Send private message
jucce
Advanced Cheater
Reputation: 1

Joined: 02 Apr 2013
Posts: 99

PostPosted: Fri Apr 12, 2013 7:23 pm    Post subject: Reply with quote

Yes you should use the pointer scan to find a pointer to the values of interest. The problem is that this might not be possible especially if the client is run in a browser. If it can't be done and you are going to program your own application it might be possible to find the memory range where the strings always exist and then scan automatically in your program.
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