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 


How to make same in AOB injection?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Sat Nov 07, 2015 6:20 am    Post subject: How to make same in AOB injection? Reply with quote

Hello..

So without using dissect data/structure , Me and monsters had inf, health in same time...

So... With code injection i usually do like this Example : -->

Inf, Health only for me by adding these high marked lines in code injection from dissect data/structure

label(player)

newmem:

cmp [esi+ac],2
je player
jmp originalcode

player:
jmp exit


Code:

[ENABLE]

alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(player)

newmem:

cmp [esi+ac],2
je player
jmp originalcode

player:
jmp exit

originalcode:
movss [esi+14],xmm0

exit:
jmp returnhere

"SporeApp.exe"+1CFBC6:
jmp newmem
returnhere:

[DISABLE]
dealloc(newmem)
"SporeApp.exe"+1CFBC6:
movss [esi+14],xmm0
//Alt: db F3 0F 11 46 14


Soo... question is :
How to make same in AOB injection...
Cause when i try do same what i do with simple code injection, doesn't work.


Last edited by Betcha on Sat Nov 07, 2015 10:11 am; edited 3 times in total
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Nov 07, 2015 7:24 am    Post subject: Reply with quote

Inside the AA window, select Template > AOB Injection.
You now have completed your AOB Injection.
Back to top
View user's profile Send private message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Sat Nov 07, 2015 10:07 am    Post subject: Reply with quote

Maybe this gonna explain my situation...

This is with AOB injection... and this doesn't work, cause health still decreases.. Added lines like i added in simple code injection..

Code:

[ENABLE]

aobscanmodule(INJECT,SporeApp.exe,F3 0F 11 46 14 76 43) // should be unique
alloc(newmem,$1000)

label(code)
label(return)
label(player)

newmem:
cmp [esi+ac],2
je player
jmp code

player:
jmp exit

code:
  movss [esi+14],xmm0
  jmp return

INJECT:
  jmp code
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db F3 0F 11 46 14

unregistersymbol(INJECT)
dealloc(newmem)


This is simple code injection, and works inf. health..

Code:

[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(player)

newmem:

cmp [esi+ac],2
je player
jmp originalcode

player:
jmp exit

originalcode:
movss [esi+14],xmm0

exit:
jmp returnhere

"SporeApp.exe"+1CFBC6:
jmp newmem
returnhere:

[DISABLE]
dealloc(newmem)
"SporeApp.exe"+1CFBC6:
movss [esi+14],xmm0
//Alt: db F3 0F 11 46 14
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Nov 07, 2015 11:18 am    Post subject: Reply with quote

The default jump for the injection is to the "code" label.
All of your code under "newmem" is not executing.
Change it to:
Code:
INJECT:
  jmp newmem
Back to top
View user's profile Send private message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Sat Nov 07, 2015 11:49 am    Post subject: Reply with quote

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