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 


game crash by jumping to new allocated memory

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

Joined: 04 Feb 2016
Posts: 2

PostPosted: Thu Feb 04, 2016 2:13 pm    Post subject: game crash by jumping to new allocated memory Reply with quote

like I said above my game crashes if I jump to a new allocated memory region. It not even need to have anything and I can nop my code without any problems.

An example:

Code:

[ENABLE]
alloc(newmem, 1024)
aobscan(aob,F3 0F 10 86 A4 00 00 00 F3 0F 58 C1)

newmem:
//something or nothing

00D04C14:
jmp newmem      // <-- crash because of this jump
nop
nop
nop
//nop     //or just using the nops with those others and it work fine
//nop
//nop
//nop
//nop

[DISABLE]
dealloc(newmem)

00D04C14:
db F3 0F 10 86 A4 00 00 00


Well, I don't see any reason but probably it could be a kind of anticheat?
Does someone know why this happens?
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 Feb 04, 2016 2:27 pm    Post subject: Reply with quote

newmem doesn't execute the original code, and doesn't jump back to after the original location

try the default code injection template

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

Joined: 04 Feb 2016
Posts: 2

PostPosted: Fri Feb 05, 2016 6:25 pm    Post subject: Reply with quote

Dark Byte wrote:
newmem doesn't execute the original code, and doesn't jump back to after the original location

try the default code injection template


I tried it and yes I forgot to jump back to the following code.
Thank you!
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