ORIGINAL POST:
MMOVision.net :: View topic - Beginners tutorial to AA scripting.
Hi, I will guide you through making your first AA script with a fake address to NOP.
Let's hypothetically say that you found this address -
000400, so you would want to change stuff in it right?
>
000400 - add [eax],al
This is what your address (hypothetically, again) looks like.
Now to start scripting you will need a tag that shows the script where to begin.
We also need somewhere to end the script..
Now that we have an enable and one disable tag, which indicates where the script begins and what happens when you disable it, let's get into how to NOP the address. (which is what we wanted to do)
Code:
[enable]
000400:
[disable]
As you see the "
000400:" indicates WHERE (which address) the following lines should be executed at, let's continue..
Code:
[enable]
000400:
nop
[disable]
That was easy right? If you wondered what NOP is, it is a short word for No Operation which is basically what it is described as.
Let's continue with disabling the script..
Code:
[enable]
000400:
nop
[disable]
000400:
add [eax],al
See? In the disable indicator we restored the address to its original state, which in this case was "
add [eax],al".
IMPORTANT: The number of NOPs can differ, every byte needs its own nop. In this case, our address "
000400" has the array of bytes "24 24 24" which in this case would need three NOPs, it's not that hard right?
I hope you all learned something!

Good luck!