CLEO Help Decomplie files help

CLEO related
Status
Not open for further replies.

bonesaw2303

Active member
Joined
Jul 25, 2014
Messages
42
Reaction score
0
Hello, I want to ask anyone to help me how to decompile some cleo files these cleos are different than other, when you open that with sanny builder you get blank, nothing appear no compile the original source messenge.
And I also want to ask how to compile some sampfuncs-required script for example Master Car cleo. When I open to edit the key or anything, I got error and the error is at some write memory line
Thanks
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Could be crypted, check IGNORE_UNKNOWN to be sure. Also the scripter can chose wheter he wants the source embedded in the .cs file or not, so no message should come up in this case.
SAMPFUNCS compiled script use new opcodes, in order to decompile them right you need SAMPFUNCS SB DATA which comes with the sampfuncs archive. Take those files and put them in your sanny builder data/sa folder.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
It is indeed crypted, open the .cs in notepad and Search for "CLEO Crypted by FYP" which will prove that it was crypted.
 

bonesaw2303

Active member
Joined
Jul 25, 2014
Messages
42
Reaction score
0
@Sprinfield mate, i mean what im trying to ask it how can you compile Sampfuncs required script. I already put the Sb data in the folder. But i want to edit it and compile it, decompile works fine but compiles has errors in other line i didnt edit. For example, i edit the key down 10 to 11(sampfuncs script). I got errors not it the line i edit. Thanks btw
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
What kind of errors? If key_down gives errors you need to replace it with 0AB0 or use the keywords.txt that comes with sampfuncs.
 

bonesaw2303

Active member
Joined
Jul 25, 2014
Messages
42
Reaction score
0
  link said:
{$CLEO .cs}

thread 'NOPS'

0ACD: show_text_highpriority "CLEO MADE BY ~R~TH3RM4L" time 10000

:NOPS_1
wait 0
if
0AB0: key_pressed 17
else_jump @NOPS_1
0ACD: show_text_highpriority "NOPS ~G~ON" time 1500
0B2E: 1@ = read_samp_memory 0x12D60 size 2
0B2D: write samp_memory 0x12D60 value 0xC390 size 2
0B2E: 2@ = read_samp_memory 0x13FA0 size 2
0B2D: write samp_memory 0x13FA0 value 0xC390 size 2
0B2E: 3@ = read_samp_memory 0x78560 size 2
0B2D: write samp_memory 0x78560 value 0xC20400 size 2
wait 500
jump @NOPS_2

:NOPS_2
wait 0
if
0AB0: key_pressed 17
else_jump @NOPS_2
0ACD: show_text_highpriority "NOPS ~R~OFF" time 1500
0B2D: write samp_memory 0x12D60 value 1@ size 2
0B2D: write samp_memory 0x13FA0 value 2@ size 2
0B2D: write samp_memory 0x78560 value 3@ size 2
wait 500
jump @NOPS_1
Unknown opcode 0BZE
Eventhough that line is default i havent edit it at all
 
Status
Not open for further replies.
Top