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 


[HELP] (Almost) Infinite pointers

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
LalzDS
Newbie cheater
Reputation: 0

Joined: 17 Sep 2013
Posts: 11

PostPosted: Tue Sep 17, 2013 12:48 pm    Post subject: [HELP] (Almost) Infinite pointers Reply with quote

Hello. I've been using cheat engine for a few years but I hardly ever succeed into finding pointers. There are times when just a few adresses pop-up like they tell you in tutorials but almost every time I try I got tons and tons of adresses. And thats not the only problem. Everything I find are pointers pointing to other pointers pointing to other pointers... What I try to say is I never get to get the static source.

I know I'm doing the process right as a few times I get to find some 4 or 3 level pointers. But it doesn't work most the time.

Please take into account I know almost nothing about pointers and therefore have some little patience and understanding with me.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Tue Sep 17, 2013 5:53 pm    Post subject: Reply with quote

Are you searching pointers the way it's described in the tutorial, with find out what*** + manual scans?

If the answer is "yes": you shouldn't. The tutorial shows you what a pointer is in memory, but as you noticed, it is impractical for real-life scenarios. Instead you should use the pointerscanner (right click on your variable->pointer scan for this address).

If the answer is "no": well, there are programming languages/game engines for which it is impossible or very hard to find stable pointers, even with the pointerscanner. For example: flash, python, rpg maker games (ruby language?) and some games using a lua interpreter. I heard you can add java to this list, but I haven't checked personally.

_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
LalzDS
Newbie cheater
Reputation: 0

Joined: 17 Sep 2013
Posts: 11

PostPosted: Wed Sep 18, 2013 7:19 pm    Post subject: Reply with quote

Ok. I'll try using pointer scan the next time and I'll let you know how it went.
Back to top
View user's profile Send private message
calciumantacid
How do I cheat?
Reputation: 0

Joined: 28 Dec 2011
Posts: 5

PostPosted: Thu Sep 19, 2013 6:00 pm    Post subject: Reply with quote

Gniarf wrote:
I heard you can add java to this list, but I haven't checked personally.


I'm currently struggling with a Java game - when I search for pointers manually Java's garbage collector will flush memory before I can find the base address. It happens every 10 minutes or so and while I'm learning to search faster, the most I've been able to go is about 25 pointer levels and who knows how many there are.

Is there some better method I can try? I'm guessing automatic pointer scan is not an option since it will be slower than the garbage collector.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Thu Sep 19, 2013 6:13 pm    Post subject: Reply with quote

@calciumantacid: try using a java decompiler and editing the game's source code.
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Sep 19, 2013 6:43 pm    Post subject: Reply with quote

The pointerscan isn't really recommended for java (a self compiled openjdk might be more suitable. E.g one that exports a list of all classes and disables garbage collect on thing that are not destroyed)

Anyhow, if speed is a problem then pause the java process. Also, after the pointerscanner has finished the initial phase (progressbar at bottom) you can even close the target and the scan will continue without a problem.

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

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

Joined: 28 Dec 2011
Posts: 5

PostPosted: Thu Sep 19, 2013 8:10 pm    Post subject: Reply with quote

Thanks for the suggestions. Editing the source code and using a self-compiled openjdk sounds a bit complicated. Pausing the process sounds like an easy idea to start with. Problem is, I just tried it and I got an error during the automatic scan:

ReverseScanWorker:Stream write error

This is running inside a VM, so perhaps I need to allocate more ram to it.

Edit: Ah, I think I know what happened - the PTR files are huge, CE wrote about 30 GB and the VM disk got maxed out.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Fri Sep 20, 2013 7:41 am    Post subject: Reply with quote

Yeah, pointerscan results can even grow up to several terrabytes depending on the level and structsize (e.g bigger than 10 will usually guarantee a result too big for your harddisk)

Also, since you're saying your scans where affected by the garbage collector, which is weird, make sure that the address you're scanning for actually has an permanent effect in the game when changed.
A common mistake is that people look for pointers because changing the value has no effect in the game at all, or only temporary visible. (In case of a display variable, or online game) Pointers won't help in those cases

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

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

Joined: 28 Dec 2011
Posts: 5

PostPosted: Fri Sep 20, 2013 10:00 am    Post subject: Reply with quote

Dark Byte wrote:
Also, since you're saying your scans where affected by the garbage collector, which is weird


I made a guess that the scan would not complete because of JVM's garbage collector. However, I think I might have been wrong because it seems only the first stage of the scan (which is actually pretty quick) needs to finish before the addresses get re-routed. It's the second stage that takes a long time. I set my scan depth to 15 levels, hopefully it can finish before I grow a beard. (Edit: never mind, I ran out of terabytes before it finished, haha).

Update: This may help someone with a similar problem - if you find yourself unable to delete the terabyte-large files on a Unix system (in my case even the "rm" command would lock up the machine), do "cp /dev/null /your/path/to/PTR/file" first.
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