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 freezes on AOB Script injection

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

Joined: 18 May 2020
Posts: 3

PostPosted: Mon May 18, 2020 7:18 am    Post subject: Cheat Engine freezes on AOB Script injection Reply with quote

I know it isn't the script itself since it freezes on every script, but I have a script and everytime I enable it, my Cheat Engine freezes. I can go back to the game I was using the script on, but it isn't enabled and then I am forced to force quit Cheat Engine. Here is the code, not that it really matters.
Code:
[ENABLE]

aobscan(INJECT,89 88 E8 00 00 00 41 83 FD 1D) // should be unique
alloc(newmem,$1000,14D731C05)

label(code)
label(return)

newmem:

code:
  mov [rax+000000E8],ecx
  jmp return

INJECT:
  jmp newmem
  nop
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db 89 88 E8 00 00 00

unregistersymbol(INJECT)
dealloc(newmem)

Edit: it is any script, not just AOB

_________________
- Some lame Mac user who cannot afford a new computer that has decent specs.
- GeForce 750M
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon May 18, 2020 9:53 am    Post subject: Reply with quote

Have you tried waiting 20 minutes?

is kernelmode query memory regions enabled? If so, disable it.

try
Code:

[ENABLE]

aobscan(INJECT,89 88 E8 00 00 00 41 83 FD 1D) // should be unique
alloc(newmem,$1000,INJECT)

label(code)
label(return)

newmem:

code:
  mov [rax+000000E8],ecx
  jmp return

INJECT:
  jmp newmem
  nop
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db 89 88 E8 00 00 00

unregistersymbol(INJECT)
dealloc(newmem)

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

Joined: 18 May 2020
Posts: 3

PostPosted: Mon May 18, 2020 10:24 am    Post subject: Reply with quote

Thanks for the reply! Yes, I have tried waiting over an hour, and I do not know what that 2nd part means about disabling kernels, but I will try the code.

EDIT: No I am not using that setting (Also I have now waited 4 hours without closing cheat engine, still frozen.)

_________________
- Some lame Mac user who cannot afford a new computer that has decent specs.
- GeForce 750M
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3327

PostPosted: Wed May 20, 2020 2:45 am    Post subject: Reply with quote

Can you check in task manager how much memory your process consumes?
On faster systems, even a few gigabytes should not take more than a minute.
On slower systems, a few hundred megs take minutes.
Did you try DB's code above?

Are you using it on Mac?
Back to top
View user's profile Send private message
B1op
How do I cheat?
Reputation: 0

Joined: 18 May 2020
Posts: 3

PostPosted: Wed May 20, 2020 7:40 am    Post subject: Reply with quote

1. Cheat Engine Takes up 951 mb and the game (Terraria) takes up 2.5 GB. I tried running it on edge earlier, just some jank script that changes nothing and it still freezes permanently for that which takes up 300 MB.
2. Yes I did try it and same thing, it just ended up freezing.
3. Yes I am on a macbook pro with 16 GB RAM.

_________________
- Some lame Mac user who cannot afford a new computer that has decent specs.
- GeForce 750M
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