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 


Question about heap (pointerscan)

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

Joined: 02 Mar 2011
Posts: 5

PostPosted: Fri Apr 20, 2012 7:20 am    Post subject: Question about heap (pointerscan) Reply with quote

What I am wondering is, when would heap be used? Are there certain types of games (like maybe flash games or other very small games) that would put most of the most hacked data (hp mp gold etc.) in the heap data, or would it be used for a different use? (maybe hacking a different type of stat or data)

I ask this because while I really like the idea behind it, on a game i tried recently one character has a stat placement way off base of everyone else and I did a heap search 9 levels (everyone else made it in 3 or 4) and 18k limit (I just do obscene numbers...). I then went on a babysitting job that lasted the whole day, came back, search was done (would have taken a month normally... I think.) and 300million results. quickly leaving battle then rejoining and finding the new address, then rescanning again.... 0 results. So I am now doing it the old fashioned way, though trying 6 levels and 4-6k (can't remember I set it then went to sleep, and it's still going).*oh and next try will be the old old fashion way where I manually see what is accessing it and try to hunt it down meself!*

There was my example and now once again my main question, when would you use heap data?

BTW, I like the Derpy banner.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Fri Apr 20, 2012 7:37 am    Post subject: Reply with quote

It depends on the game and the memory manager it uses

1: Some use their own memory manager for small allocations (minimum allocatable block is 64kb by windows if using virtualalloc, which is a waste if you only need 28 bytes)

2: some use the heap functions in windows which handle this for you.
This heap api can be queried and asked how big each little allocation was.
e.g:
This way you know that the block at 2003cd90 was allocated as 64 bytes.
So for queries regarding this specific block a smaller chunk needs to be investigated

3: some games use a mix of their own memory manager and the heap. They tell the heap api to allocate 4kb of ram and then they use their own memory manager to divide it up into chunks


Only in case 2 the heap data is useful for the pointerscanner

tip: If you enable heapdata and the address turns red, it's useless, the game didn't use the heap to allocate the address you're looking for

_________________
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
goofydude
How do I cheat?
Reputation: 0

Joined: 02 Mar 2011
Posts: 5

PostPosted: Fri Apr 20, 2012 8:11 am    Post subject: Reply with quote

Ok, well I don't see me really taking advantage of case 2 very much. And as for the tip, I take it that heapdata is the option below enable heap? (which can't be enabled if heap isn't enabled)

Otherwise I somehow missed any and all red.

That said thanks for clearing up that issue for me, as for what I use cheat engine for I don't think I'll really use heap.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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