A simple hack
Now, I think it's time to create a simple hack. First I'll write down the hack here and then I'll explain what everything means. This is the hack:
Worm speed settings :WORM
This hack can adjust worm speed limits and acceleration
SW Worm speed limit, left: 3F8C
SW Worm speed limit, right: 400D
SW Worm acc, left: 3F97
SW Worm acc, right: 4018
-
<3F8C>%a {This is just a comment}
<400D>%b
<3F97>%c
<4018>%d
|
Now an analysis:
Worm speed settings :WORM
This hack can adjust worm speed limits and acceleration
|
The hack info. This hack is placed in the 'Worms' category.
SW Worm speed limit, left: 3F8C
SW Worm speed limit, right: 400D
SW Worm acc, left: 3F97
SW Worm acc, right: 4018
|
This hack contains four variables of the type Signed Word (SW).
-
<3F8C>%a {This is just a comment}
<400D>%b
<3F97>%c
<4018>%d
|
The '-' tells LieroHacker that the variables part has ended and the hack part has started.
The '<x>' statement tells LieroHacker to seek to a certain offset in Liero.exe. 'x' is written in hex.
The '%x' tells LieroHacker to write a variable to the current position in Liero.exe. 'x' specifies the variable you want to write. The first variable is 'a', the next 'b' and so on. If you look at the variables part of the hack you'll see that '%a' means 'Worm speed limit, left', '%b' means 'Worm speed limit, right' and so on.
The '{}' block is a comment block which is ignored by LieroHacker.
That is all you need to now to create a simple hack which only outputs variables the user specifies.
Next...
|