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 trying to keep my first scan

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Fargostz
How do I cheat?
Reputation: 0

Joined: 15 Oct 2018
Posts: 3

PostPosted: Mon Oct 15, 2018 9:22 am    Post subject: AOB trying to keep my first scan Reply with quote

Hi everyone, i'v searched for a solution but couldn't find it ^^

So i'm trying to replace some bytes in an array like
Code:
F0 40 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 ?? ??
where the ?? is the actual value i can scan it by array and find it my script work well too but i'm forced to do 2 scan because i don't know how to keep the first scan to re-use it latelly :/

Here's the code !
Code:
[ENABLE]

aobscan(camera, F0 40 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 8C 41 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 8C CF)

camera+18:
db 48 43

[DISABLE]

aobscan(camera1, F0 40 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 8C 41 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 8C CF)

camera1+18:

db 8C 41


BTW: I'm forced to use all those bytes cause otherwise it keep finding 3 adresses that are not what i'm searching Smile

EDIT:

When i'm trying this code it won't work
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(camera, F0 40 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 8C 41 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 8C CF)

label(aobresult)

registersymbol(aobresult)

aobresult:
camera+18:
db 48 43

[DISABLE]
//code from here till the end of the code will be used to disable the cheat

aobresult:
camera+18
db 8C 41

unregistersymbol(aobresult)
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Mon Oct 15, 2018 11:07 am    Post subject: Reply with quote

Try this:
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(aobresult, F0 40 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 8C 41 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 8C CF)
registersymbol(aobresult)

aobresult+18:
db 48 43

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
aobresult+18:
db 8C 41

unregistersymbol(aobresult)


Or this:
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(aobresult, F0 40 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 8C 41 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 8C CF)
label(camera)
registersymbol(camera)

aobresult+18:
camera:
db 48 43

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
camera:
db 8C 41

unregistersymbol(camera)

_________________
Back to top
View user's profile Send private message Visit poster's website
Fargostz
How do I cheat?
Reputation: 0

Joined: 15 Oct 2018
Posts: 3

PostPosted: Mon Oct 15, 2018 8:17 pm    Post subject: AOB trying to keep my first scan Reply with quote

Thx for the help the first one worked like a charm !

Can you tell me what's the difference between those 2 here ? The fonction of each command Smile

Really appreciate your help ! Very Happy
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Mon Oct 15, 2018 10:12 pm    Post subject: Reply with quote

The first one just shows you can use the AOB symbol directly.
And the second is using a different label for the registered symbol.
The main thing you needed was to register the symbol, and you were missing a colon (":") in the disable section for the "camera+18" label.

_________________
Back to top
View user's profile Send private message Visit poster's website
Fargostz
How do I cheat?
Reputation: 0

Joined: 15 Oct 2018
Posts: 3

PostPosted: Tue Oct 16, 2018 8:57 am    Post subject: Aob Reply with quote

Thx for the explanation ! It really help me a lot ! Smile
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