| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		B1op How do I cheat?
  Reputation: 0
  Joined: 18 May 2020 Posts: 3
 
  | 
		
			
				 Posted: Mon May 18, 2020 7:18 am    Post subject: Cheat Engine freezes on AOB Script injection | 
				       | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Mon May 18, 2020 9:53 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		B1op How do I cheat?
  Reputation: 0
  Joined: 18 May 2020 Posts: 3
 
  | 
		
			
				 Posted: Mon May 18, 2020 10:24 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		Csimbi I post too much
  Reputation: 97
  Joined: 14 Jul 2007 Posts: 3327
 
  | 
		
			
				 Posted: Wed May 20, 2020 2:45 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		B1op How do I cheat?
  Reputation: 0
  Joined: 18 May 2020 Posts: 3
 
  | 
		
			
				 Posted: Wed May 20, 2020 7:40 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		 |