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 


AutoAssembler script is imposible to disable

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Hooch
Newbie cheater
Reputation: 0

Joined: 08 Oct 2010
Posts: 19

PostPosted: Sat Aug 30, 2014 5:54 pm    Post subject: AutoAssembler script is imposible to disable Reply with quote

Hello.

This is my script for Metro 2033 redux:

Code:
[ENABLE]
aobscanmodule(injectAmmoPool,metro.exe,48 8B F9 89 91 ?? ?? ?? ?? 48 81 C1 ?? ?? ?? ?? 48 8B 01)
registersymbol(injectAmmoPool)
alloc(newmem,1024,"metro.exe"+2B2426)
alloc(orgBytes, 9)
registersymbol(orgBytes)

label(return)
label(orgBytes)

orgBytes:
Readmem(injectAmmoPool, 9)

newmem:
  mov edx, #1000

  mov rdi, rcx
  mov [rcx+000004F4],edx
  jmp return

injectAmmoPool:
  jmp newmem
  nop
  nop
  nop
  nop
return:

[DISABLE]
injectAmmoPool:
  Readmem(orgBytes, 9)

unregistersymbol(injectAmmoPool)
unregistersymbol(orgBytes)
dealloc(orgBytes)
dealloc(newmem)


It works when I enable it from cheat table. But box is never checked and I can't disable it. But by looking at memory view I see that [Enable] section did it work correctly.

Can anyone tell me why this script can't be disabled?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Aug 30, 2014 6:32 pm    Post subject: Reply with quote

restart the game from scratch and then try again
perhaps the AOB can not be found because the code has already been changed (e.g an earlier test)

_________________
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
Hooch
Newbie cheater
Reputation: 0

Joined: 08 Oct 2010
Posts: 19

PostPosted: Sun Aug 31, 2014 4:34 am    Post subject: Reply with quote

I fixed it by removing
Code:
label(orgBytes)


Can you shortly tell me more on what label(orgBytes) really does?
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