CLEO Help Code bugs after decompile, how to fix?

CLEO related
Status
Not open for further replies.

dadelfather

Member
Joined
Feb 16, 2014
Messages
9
Reaction score
0
Hey
I downloaded a CLEO but I wanna change around the hotkeys, everytime I decompile the file it bugs out, so it wont work again once I'm done editing and compiles it again.

Some functions work in the CLEO, but others dont.

I uploaded the file if anyone knows how to do it.
I want to change the off button, value "48" in the coding to value "50".
From button 0 to button 2 instead.

Thanks in upperhand.
 

Attachments

  • bmxsprint.cs
    18.7 KB · Views: 30

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
dadelfather link said:
[quote author=pepeelpubero link=topic=5886.msg33412#msg33412 date=1394323496]
Try with this. Next time use cApSL0ckb0mb3r tutorial.

:watchout:

The one you gave me doesn't even work, same problem  :fuck_you:
[/quote]

what happens? You must press W+2.
 

dadelfather

Member
Joined
Feb 16, 2014
Messages
9
Reaction score
0
pepeelpubero link said:
[quote author=dadelfather link=topic=5886.msg33413#msg33413 date=1394324444]
[quote author=pepeelpubero link=topic=5886.msg33412#msg33412 date=1394323496]
Try with this. Next time use cApSL0ckb0mb3r tutorial.

:watchout:

The one you gave me doesn't even work, same problem  :fuck_you:
[/quote]

what happens? You must press W+2.
[/quote]

The code bugs after you decompile it as I said.
Once you decompile it and compile it again, the functions does not work.
 

Z0DY

Well-known member
Joined
Feb 20, 2013
Messages
225
Reaction score
0
here is the code :)

Code:
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'BMXSPRINT' 
0662: NOP "XZYTRO SAYS HI" 

:MAIN
wait 0
if and
047A:   actor $PLAYER_ACTOR driving_bike
0AB0:   key_pressed 87
0AB0:   key_pressed 49
else_jump @MAIN
0ACD: show_text_highpriority "~B~BMXSPRINT ~G~ACTIVATED" time 1500
wait 500

:SEND_CMD_IF_NOT_DEACTIVATED
wait 0 
if
047A:   actor $PLAYER_ACTOR driving_bike
else_jump @NOT_IN_A_BIKE
if and
0AB0:   key_pressed 87
0AB0:   key_pressed 50
then
0ACD: show_text_highpriority "~B~BMXSPRINT ~R~DEACTIVATED" time 1500
wait 500
jump @MAIN
else
0AB1: call_scm_func @SENDKEY 2 key 87 time 10  
wait 200 
jump @SEND_CMD_IF_NOT_DEACTIVATED 
end

:SENDKEY
if 
0AA2: 2@ = load_library "User32.dll" // IF and SET 
jf @RETURN 
if 
0AA4: 2@ = get_proc_address "keybd_event" library 2@ // IF and SET 
jf @RETURN 
0AA5: call 2@ num_params 4 pop 0 0 0 0 0@  
wait 1@ 
0AA5: call 2@ num_params 4 pop 0 0 2 0 0@  

:RETURN
0AB2: ret 0

:NOT_IN_A_BIKE
wait 0
0ACD: show_text_highpriority "~R~YOU ARE NOT IN A BIKE" time 1500
wait 500
jump @MAIN
 
Status
Not open for further replies.
Top