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 


probably a dumb question about AOB scan

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
LastDance
Cheater
Reputation: 1

Joined: 09 Jun 2015
Posts: 37

PostPosted: Wed Aug 24, 2016 12:02 am    Post subject: probably a dumb question about AOB scan Reply with quote

i have a script that is using the AOB scan:
Code:

1C 38 6C 00 ?? ?? ?? ?? ?? ?? ?? 1? ?? ?? ?? 1?
00 00 ?? 00 FF FF FF FF 00 00 00 00 ?? ?? ?? ??
00 00 6B 43 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00
00 00 00 00 01 00 00 01 FF FF FF FF ?? ?? ?? 4?


i can verify for a fact it is unique and that all of this code is totally repeatable.

for example, in my current game session the AOB is :
Code:
1C 38 6C 00 65 00 30 00 18 F2 03 17 08 F2 03 17
00 00 26 00 FF FF FF FF 00 00 00 00 7C B2 C7 42
00 00 6B 43 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 2D 00 00 00 00 00 00 00 00 00
00 00 00 00 01 00 00 01 FF FF FF FF 19 90 01 44


But i cant toggle the script its attached to. Which suggests ive messed up somewhere. Anyone have any ideas?[/code]
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Wed Aug 24, 2016 2:11 am    Post subject: Reply with quote

Could you post your (whole) script? Without that it's hard to tell if the script somewhere is broken ...
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Aug 24, 2016 2:32 am    Post subject: Reply with quote

Incorporate more wildcard entries and use AOBScanModule if you can:

Code:
aobscanmodule(cheat,game.exe,1C386C00????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????FFFFFFFF)


Other than that, as hhhuut suggests...show your script in its entirety.
Back to top
View user's profile Send private message
LastDance
Cheater
Reputation: 1

Joined: 09 Jun 2015
Posts: 37

PostPosted: Wed Aug 24, 2016 4:22 pm    Post subject: Reply with quote

right, sorry!
I am attempting to make a script for infinite health that doesnt also give the enemies infinite health.

Code:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat



aobscanmodule(hp,vagante.exe,1C 38 6C 00 ?? ?? ?? ?? ?? ?? ?? 1? ?? ?? ?? 1? 00 00 ?? 00 FF FF FF FF 00 00 00 00 ?? ?? ?? ?? 00 00 6B 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 01 FF FF FF FF ?? ?? ?? 4?) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:

code:
  cmp dword [ebx+00000018],0
  je return

  movss [ebx+000000A8],xmm0
  jmp return

hp:
db 90 90


return:
registersymbol(hp)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
hp:
  db 1C 38 6C 00

unregistersymbol(hp)
dealloc(newmem)
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Aug 24, 2016 4:24 pm    Post subject: Reply with quote

Your script is broken. You need to let CE build your scripts!
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Aug 25, 2016 5:15 am    Post subject: Reply with quote

In the disassembler, select the address/instruction where you want your code injection to be, Tools -> Auto Assemble (or press CTRL+A).

Then select Templates -> AOB Injection, confirm the given address, give your script a unique name (your "hp") and add your custom code in the "code" section.
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