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 


Cheat Engine Forum Index
PostGo back to topic
ParkourPenguin
I post too much
Reputation: 140
Joined: 06 Jul 2014
Posts: 4297

PostPosted: Fri Feb 17, 2017 9:03 am    Post subject:

SunBeam wrote:
alloc( newmem, $1000 ) will allocate arbitrary memory, not inside the game's process. Normally, you want it inside the game's process.

alloc will attempt to allocate memory in whatever process CE is attached to. If CE is attached to the game, it will allocate memory that belongs to the game (i.e. in the same virtual address space as everything else in the game).

careca777:
The third parameter to alloc is an address that specifies the median of a ~4GB memory region CE should allocate memory in. It's useful for 64-bit targets so that jmp instructions can use a rel32 operand (i.e. 5 bytes) instead of an r/m64 stored just after the jmp instruction (i.e. 14 bytes). It isn't useful in 32-bit targets since every address is within a rel32 displacement of each other.

Anyways... that error is an exception thrown by the symbol handler. It means "TheForest.exe" isn't a valid address. You probably weren't attached to the correct process when you tried that.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Post reviews:   Approve 2
Author Review
++METHOS
Review: Approve
Post reference:
ReviewPosted: Fri Feb 17, 2017 9:05 am


Back to top
View user's profile Send private message
SunBeam
Review: Approve
Post reference:
ReviewPosted: Fri Feb 17, 2017 10:55 am

Thumbs-up for the explanation Smile
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites