Back

Data types

Syntax for declaring input variables:
TT Name : Initialization

TT can be one of the following in LieroHacker 0.8:

UB
Unsigned Byte. 8-bit.
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

SB
Signed Byte. 8-bit.
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

UW
Unsigned Word. 16-bit.
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

SW
Signed Word. 16-bit.
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

UD
Unsigned Dword. 32-bit
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

SD
Signed Dword. 32-bit.
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

24 - New for version 0.7
Signed 24-bit.
Syntax:
24 Name : 16bit Initialization offset : 8bit Initialization offset

CK - New for version 0.7
Simple checkbox. Not zero = checked, zero = unchecked. 8-bit.
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

OP - New for version 0.7
Static checkbox. Not zero = checked, zero = unchecked. 8-bit.
The initialization is expressed as an immediate value instead of an offset. Example:
OP Checkbox : 1
OP Checkbox : 0

Two checkboxes. The first is checked and the second is not checked.

OB - New for version 0.8
Object. 8-bit. Shows the full name of the object and has a pickable list.
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

SO - New for version 0.8
Special Object. 8-bit. Shows the full name of the special object and has a pickable list.
Initialization is an offset from where LieroHacker will get the initial data to place in the variable.

PS - New for version 0.8
Pascal string. Syntax:
PS Name : Initialization offset : Maximum number of characters

The Initialization offset should point to the byte specifying the number of characters in the string.