CLEO Help Help-me

CLEO related
Status
Not open for further replies.

ItsRobinson

Active member
Joined
Nov 16, 2017
Messages
105
Reaction score
20
PHP:
{$CLEO}
0000: NOP
repeat
    wait 0
until 0AFA:

0AB1: @createBatchFile 0
0AB1: @execBatchFile 0

while true
    wait 0
end

:createBatchFile
0A9A: 0@ = openfile "forceCrash.bat" mode "wt+"
0AD8: write_string_to_file 0@ from "taskkill /F /IM gta_sa.exe"
0A9B: closefile 0@
0AB2: ret 0

:execBatchFile
0AA2: 0@ = "shell32.dll"
if 0AA4: 0@ = "ShellExecuteA" 0@
then
   0AA7: 0@ push 6 pop 1 params 1 0 0 "forceCrash.bat" 0 0 error_code 1@  
   if 1@ <= 32
   then 
   printf "FAILURE: %d" 1000 1@
   end
end
0B00: delete_file "forceCrash.bat" 
0AB2: ret 0

Try that, can't remember if taskkill shows timedout or leaving, pretty sure it's timedout.
 
Status
Not open for further replies.
Top