View previous topic :: View next topic |
Author |
Message |
Fargostz How do I cheat? Reputation: 0
Joined: 15 Oct 2018 Posts: 3
|
Posted: Mon Oct 15, 2018 9:22 am Post subject: AOB trying to keep my first scan |
|
|
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
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 |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Mon Oct 15, 2018 11:07 am Post subject: |
|
|
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 |
|
|
Fargostz How do I cheat? Reputation: 0
Joined: 15 Oct 2018 Posts: 3
|
Posted: Mon Oct 15, 2018 8:17 pm Post subject: AOB trying to keep my first scan |
|
|
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
Really appreciate your help !
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Mon Oct 15, 2018 10:12 pm Post subject: |
|
|
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 |
|
|
Fargostz How do I cheat? Reputation: 0
Joined: 15 Oct 2018 Posts: 3
|
Posted: Tue Oct 16, 2018 8:57 am Post subject: Aob |
|
|
Thx for the explanation ! It really help me a lot !
|
|
Back to top |
|
|
|