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 


aob scan problem ! help
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
mohammedfenix1
Cheater
Reputation: 0

Joined: 08 Feb 2015
Posts: 48

PostPosted: Tue Feb 10, 2015 4:03 pm    Post subject: Reply with quote

++METHOS wrote:
Pingo wrote:
The jump requires 5 bytes.
Code:
AC4BFSP.exe+1566FDF  89 41 0C - mov [ecx+0C],eax
AC4BFSP.exe+1566FE2  B0 01    - mov al,01

These take up those 5 bytes so the next instruction is
Code:
AC4BFSP.exe+1566FE4  5D       - pop ebp


Pingo wrote:
Code:
jmp Aob+5//Aob is the AC4BFSP.exe+1566FDF and we add 5 bytes cause thats the distance to the next instruction in memory


Tip:
Let CE build your script for you to eliminate errors:

In memory viewer, with the instruction highlighted, select 'tools' from the drop-down menu. Click on 'auto assemble'. In the auto assemble window, click on 'template' and select 'cheat table framework code'. Click on 'template' again, and select 'code injection'. Click on 'file' from the drop-down menu...select 'assign to current cheat table'.

Hi ++METHOS and thanks but i know this way to make a script and i'm using it all the time but now i'm trying to use aob because if the game update the code injection will not work my problem it is , i do not know ho to write a script in assemble language and there are no lessons in Arabic just in English and my English not that good some time i can not understand what they are saying
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Feb 10, 2015 4:09 pm    Post subject: Reply with quote

Then just use the AOB Injection template in lieu of the Code Injection template.
Back to top
View user's profile Send private message
mohammedfenix1
Cheater
Reputation: 0

Joined: 08 Feb 2015
Posts: 48

PostPosted: Tue Feb 10, 2015 4:12 pm    Post subject: Reply with quote

Pingo wrote:
++METHOS wrote:
Pingo wrote:
The jump requires 5 bytes.
Code:
AC4BFSP.exe+1566FDF  89 41 0C - mov [ecx+0C],eax
AC4BFSP.exe+1566FE2  B0 01    - mov al,01

These take up those 5 bytes so the next instruction is
Code:
AC4BFSP.exe+1566FE4  5D       - pop ebp


Pingo wrote:
Code:
jmp Aob+5//Aob is the AC4BFSP.exe+1566FDF and we add 5 bytes cause thats the distance to the next instruction in memory


Tip:
Let CE build your script for you to eliminate errors:

In memory viewer, with the instruction highlighted, select 'tools' from the drop-down menu. Click on 'auto assemble'. In the auto assemble window, click on 'template' and select 'cheat table framework code'. Click on 'template' again, and select 'code injection'. Click on 'file' from the drop-down menu...select 'assign to current cheat table'.

Why would I do that. I'm well aware CE can do that but what would I learn having CE do everything for me.
I'd rather learn to do it manually and know how to fix errors.
There is nothing wrong with that script i wrote.

@mohammedfenix1
You can't just change the bytes that way. You're writing over other instructions.

maybe i did not do that , i made the script like this
Code:

[Enable]
alloc(Cave,128)
registersymbol(Aob)
aobscan(Aob,F3 0F 11 86 D0 00 00 00)

Cave:
add [esi+000000D0],F423F
mov eax,[esi+00000570]
jmp Aob+8

Aob:
jmp Cave

[Disable]
Aob:
movss [esi+000000D0],xmm0
mov eax,[esi+00000570]
dealloc(Cave)
unregistersymbol(Aob)


this is 8 bytes F3 0F 11 86 D0 00 00 00 and change the jump 8 like this jmp Aob+8 and change those too movss [esi+000000D0],xmm0
mov eax,[esi+00000570]
this there any problem in the script ?!

++METHOS wrote:
Then just use the AOB Injection template in lieu of the Code Injection template.

can u show me how to do it ?
maybe i will make something wrong in the script Very Happy
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Feb 10, 2015 4:28 pm    Post subject: Reply with quote

Let CE build your scripts for you...you will learn, eventually. In time, you will be able to write your own scripts from scratch, should you choose to do so. Otherwise, you're just making things more difficult than they need to be.

Just follow the instructions outlined in the previous posts and you won't have any problems. The only thing you will need to do is verify that the signature is unique and alter the code to do what you want. Easy.

Once you see what CE generates, you can ask questions about it for a better understanding. Expecting people to rewrite your broken script because you refuse to let CE build it, isn't the best approach, IMO.


mohammedfenix1 wrote:

++METHOS wrote:
Then just use the AOB Injection template in lieu of the Code Injection template.

can u show me how to do it ?
maybe i will make something wrong in the script Very Happy

Quote:
In memory viewer, with the instruction highlighted, select 'tools' from the drop-down menu. Click on 'auto assemble'. In the auto assemble window, click on 'template' and select 'cheat table framework code'. Click on 'template' again, and select 'code injection'. Click on 'file' from the drop-down menu...select 'assign to current cheat table'.
-For AOB, choose 'AOB Injection' instead of 'Code Injection'.
Back to top
View user's profile Send private message
mohammedfenix1
Cheater
Reputation: 0

Joined: 08 Feb 2015
Posts: 48

PostPosted: Tue Feb 10, 2015 6:25 pm    Post subject: Reply with quote

++METHOS wrote:
Let CE build your scripts for you...you will learn, eventually. In time, you will be able to write your own scripts from scratch, should you choose to do so. Otherwise, you're just making things more difficult than they need to be.

Just follow the instructions outlined in the previous posts and you won't have any problems. The only thing you will need to do is verify that the signature is unique and alter the code to do what you want. Easy.

Once you see what CE generates, you can ask questions about it for a better understanding. Expecting people to rewrite your broken script because you refuse to let CE build it, isn't the best approach, IMO.


mohammedfenix1 wrote:

++METHOS wrote:
Then just use the AOB Injection template in lieu of the Code Injection template.

can u show me how to do it ?
maybe i will make something wrong in the script Very Happy

Quote:
In memory viewer, with the instruction highlighted, select 'tools' from the drop-down menu. Click on 'auto assemble'. In the auto assemble window, click on 'template' and select 'cheat table framework code'. Click on 'template' again, and select 'code injection'. Click on 'file' from the drop-down menu...select 'assign to current cheat table'.
-For AOB, choose 'AOB Injection' instead of 'Code Injection'.

i didn't know that the CE can build AOB Injection if i know that i will not ask about anything ! and i did not make anything difficult , how wrote the script is Pingo so i ask him if he can help me " IF HE CAN " ! if u don't want to help me u can just stop answering and i will thank u and i do not think that i wrote the script in wrong way because when i use the AOB Injection it did nothing ! i will stop using the CE and i will hate it if u use this style , anyway thanks
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Wed Feb 11, 2015 10:14 am    Post subject: Reply with quote

Might be ok now, can't test so ya never know.
Code:
[Enable]
alloc(Cave,128)
registersymbol(Aob)
aobscan(Aob,F3 0F 11 86 D0 00 00 00)

Cave:
mov [esi+000000D0],F423F
jmp Aob+8

Aob:
jmp Cave
db 90 90 90//Original instruction is 8 bytes, jump needs 5, remaining 3 bytes to nop

[Disable]
Aob:
movss [esi+000000D0],xmm0
dealloc(Cave)
unregistersymbol(Aob)


This is only a basic script, you'l run into issues if the instruction address is shared.
Having CE create scripts for you is ok for some, just like the pointer scanner is ok for some. I personally find it easier to manually search for pointers and create scripts.

_________________
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 Feb 11, 2015 10:53 am    Post subject: Reply with quote

It is more to do about efficiency and mitigating erroneous input. Additionally, when you are starting out, the learning curve can be minimized because the need to understand every little thing becomes moot. The problem arises when the opportunity to go beyond that dependency is ignored and the desire to learn and understand fades. To each their own, of course.
Back to top
View user's profile Send private message
mohammedfenix1
Cheater
Reputation: 0

Joined: 08 Feb 2015
Posts: 48

PostPosted: Wed Feb 11, 2015 3:46 pm    Post subject: Reply with quote

Pingo wrote:
Might be ok now, can't test so ya never know.
Code:
[Enable]
alloc(Cave,128)
registersymbol(Aob)
aobscan(Aob,F3 0F 11 86 D0 00 00 00)

Cave:
mov [esi+000000D0],F423F
jmp Aob+8

Aob:
jmp Cave
db 90 90 90//Original instruction is 8 bytes, jump needs 5, remaining 3 bytes to nop

[Disable]
Aob:
movss [esi+000000D0],xmm0
dealloc(Cave)
unregistersymbol(Aob)


This is only a basic script, you'l run into issues if the instruction address is shared.
Having CE create scripts for you is ok for some, just like the pointer scanner is ok for some. I personally find it easier to manually search for pointers and create scripts.

++METHOS wrote:
It is more to do about efficiency and mitigating erroneous input. Additionally, when you are starting out, the learning curve can be minimized because the need to understand every little thing becomes moot. The problem arises when the opportunity to go beyond that dependency is ignored and the desire to learn and understand fades. To each their own, of course.


thank u and i will try to do that and i will try to learning assembler language so i can write any script that i want for now i will use aob injection , do u have any video can be helpful ? (about aob injection )
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
Goto page Previous  1, 2
Page 2 of 2

 
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