Hi there, Parazitas made a cleo for me that presses the set key in game without the need of a macro.
The spacebar is set to be spammed at 1MS delay, i set it that way.
here is the code:
The spacebar is set to be spammed at 1MS delay, i set it that way.
here is the code:
But im having issues implementing the "LALT" key to be pressed one time at the delay on 10 seconds, any help is accepted! <3{$CLEO .cs}
0000:
REPEAT
IF 8256: player $PLAYER_CHAR defined
THEN 0A93: end_custom_thread
END
WAIT 1500
UNTIL 0256: player $PLAYER_CHAR defined
WHILE TRUE
WAIT 0
IF 0ADC: test_cheat "="
THEN
IF 1@ == FALSE
THEN
0AD1: "SPACE/ALT Key sending Started!" 1337
1@ = TRUE
ELSE
0AD1: "SPACE/ALT Key sending Stopped!" 1337
1@ = FALSE
end
end
IF 1@ == TRUE
THEN
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x20 state 255
WAIT 1
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x20 state 0
end
end
:Set_Virtual_Key
{
255 = true
0 = false
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
}
2@ = 0xB72CC8
0@ *= 2
005A: 2@ += 0@ // (int)
0A8C: write_memory 2@ size 1 value 1@ virtual_protect 0
0AB2: ret 0