CLEO Help I need help with a Cleo.

CLEO related
Status
Not open for further replies.

dakata994

Member
Joined
Dec 27, 2013
Messages
6
Reaction score
0
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 
03F0: enable_text_draw 1 
wait 5000 
13@ = 0

:Noname_11
wait 0 
if and 
0AB0: 75
0AB0: 51
then
    if 13@ == 1
    then
    13@ = 0
    else
    13@ = 1
    end
wait 500
end
if and
   Player.Defined($PLAYER_ACTOR)
   13@ == 1
else_jump @Noname_257 
0A8D: 29@ = read_memory 12010652 size 4 virtual_protect 0 
29@ += 4 
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0 
30@ = 0 

:Noname_71
0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0 
29@ += 1 
if and
  31@ >= 0 
  128 > 31@ 
else_jump @Noname_232 
005A: 31@ += 30@ // (int) 
15@ = Object.Model(31@)
Object.StorePos(31@, 1@, 2@, 3@)
call @Noname_264 3 1@ 2@ 3@ 4@ 5@ 
for 14@ = 321 to 397 step 1
    if or
    003B: 15@ == 14@
    0039: 15@ == 1240
    then
    0342: set_text_draw_centered 1 
    081C: draw_text_outline 1 RGBA 0 0 0 255 
    033F: set_text_draw_letter_size 0.3 1.0 
    0340: set_text_draw_RGBA 0 255 0 255 
    045A: draw_text_1number 4@ 5@ GXT 'NUMBER' number 15@  // ~1~
    end
end

:Noname_232
30@ += 256 
  30@ > 89344 
else_jump @Noname_71 

:Noname_257
jump @Noname_11 

:Noname_264
0AA7: call_function 7392816 num_params 6 pop 6 1 1 7@s 6@s 2@s 0@s 29@  
0073: 2@ /= 6@ // (float) 
0073: 2@ /= 4@ // (float) 
0073: 3@ /= 7@ // (float) 
0073: 3@ /= 4@ // (float) 
2@ *= 640.0 
3@ *= 448.0 
ret 2 2@ 3@


This is a cleo I downloaded. I opened it with Sanny Builder 3 and tried to change the activation keys, but it showed an error.
Code:
Unknown directive call @Noname_264 3 1@ 2@ 3@ 4@ 5@      ---- at line 0043.

Someone knows how to fix it? I have zero knowledge in Cleo Scripting, I just wanted to change the activation keys.
 
Status
Not open for further replies.
Top