Gumby22don is right it must be 0x00000008 because 0x00000006 is not a power of two (I make this mistake quite often ^^). Btw. the scancodes I used are NOT the scancodes of w-a-s-d!

Best would be to work with the debugger or print the variable.

Test it this way:
- press forward key => see what value skill1 has on the client (1)
- press backward key => check the value (2)
- press left key => check the value (4)
- press right key => ckeck the value (8)

The correct values are in the brackets.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version