CLEO HELP decrypt

Joined
Mar 17, 2014
Messages
17
Likes
3
Points
108
#3
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 
8AFA:   not is_samp_available 
004D: jump_if_false @Noname_37 
0001: wait 100 ms 
0002: jump @Noname_17 
0AF8: samp add_message_to_chat "DMG Informer {ff0000}v 0.1 {ffffff}(0.3.7 RC2) by {ff0000}p1cador" color 16777215 
0006: [email protected] = 0 
0006: [email protected] = -1 
0006: [email protected] = 0 
0006: [email protected] = 0 
0006: [email protected] = 0 
0006: [email protected] = 0 
0006: [email protected] = 0 
0006: [email protected] = 0 
0952: load_soundtrack 1149 
0AAC: [email protected] = load_audiostream "CLEO\p1cador.mp3" 
0B78: log "{F44336}[p1cador] > Audio Loaded!" 
0B6D: render [email protected] = create_font "Arial" height 10 flags 12 
0B6D: render [email protected] = create_font "Arial" height 21 flags 13 
0AC8: [email protected] = allocate_memory_size 48 
0AC8: [email protected] = allocate_memory_size 48 
0007: [email protected] = 339.0 
0007: [email protected] = 174.0 
0BE1: raknet setup_outcoming_rpc_hook -805 
0001: wait 0 ms 
00D6: if 
0039:   [email protected] == 9 

:Noname_307
004D: jump_if_false @Noname_548 
000A: [email protected] += 1 
0007: [email protected] = 384.0 
0B60: convert_game_screen_coords [email protected] [email protected] to_window_screen_coords [email protected] [email protected] 
00D6: if 
0B5C:  samp is_player [email protected] paused 
004D: jump_if_false @Noname_402 
0AD3: [email protected] = format "{FFFFFF}AFK" 
0002: jump @Noname_467 
00D6: if 
0118:   actor [email protected] dead 
004D: jump_if_false @Noname_451 
0AD3: [email protected] = format "{ff0000} ÂÛÅÁÀÍ" [email protected] 
0002: jump @Noname_467 
0AD3: [email protected] = format "-%.2f" [email protected] 
0B6F: render font [email protected] draw_text [email protected] pos [email protected] [email protected] color -1879113728 
0B6C: render [email protected] = font [email protected] draw_height 
005A: [email protected] += [email protected] // (int) 
0AD3: [email protected] = format "%s[%d]" [email protected] [email protected] 
0B6F: render font [email protected] draw_text [email protected] pos [email protected] [email protected] color -251658241 
0002: jump @Noname_548 
00D6: if 
0039:   [email protected] == 10 
004D: jump_if_false @Noname_758 
000A: [email protected] += 1 
0007: [email protected] = 294.0 
0B60: convert_game_screen_coords [email protected] [email protected] to_window_screen_coords [email protected] [email protected] 
0B6B: render [email protected] = font [email protected] draw_text [email protected] length 
0063: [email protected] -= [email protected] // (float) 
00D6: if or
0118:   actor $PLAYER_ACTOR dead 
8256:   not player $PLAYER_ACTOR defined 
004D: jump_if_false @Noname_660 
0AD3: [email protected] = format "" 
0AD3: [email protected] = format "" 
0002: jump @Noname_697 
0AD3: [email protected] = format "- %.2f" [email protected] 
0AD3: [email protected] = format "%s[%d]" [email protected] [email protected] 
0B6F: render font [email protected] draw_text [email protected] pos [email protected] [email protected] color 2147418112 
0B6C: render [email protected] = font [email protected] draw_height 
005A: [email protected] += [email protected] // (int) 
0B6F: render font [email protected] draw_text [email protected] pos [email protected] [email protected] color -251674689 
0002: jump @Noname_758 
00D6: if 
0039:   [email protected] == 450 
004D: jump_if_false @Noname_798 
0006: [email protected] = -1 
0006: [email protected] = -1 
0002: jump @Noname_798 
0002: jump @Noname_307 
0BE5: raknet [email protected] = get_hook_param 1 
00D6: if 
0039:   [email protected] == 115 
004D: jump_if_false @Noname_1032 
0BE5: raknet [email protected] = get_hook_param 0 
0BE7: raknet [email protected] = bit_stream_read [email protected] type 1 
0BE7: raknet [email protected] = bit_stream_read [email protected] type 2 
0BE7: raknet [email protected] = bit_stream_read [email protected] type 3 
0BE7: raknet [email protected] = bit_stream_read [email protected] type 3 
0BE7: raknet [email protected] = bit_stream_read [email protected] type 3 
0006: [email protected] = 0 
00D6: if 
0039:   [email protected] == 0 
004D: jump_if_false @Noname_965 
0006: [email protected] = 9 
0085: [email protected] = [email protected] // (int) 
0085: [email protected] = [email protected] // (int) 
0B20: samp [email protected] = actor_handle_by_samp_player_id [email protected] 
0B36: samp [email protected] = get_player_nickname [email protected] 
0AAD: set_mp3 [email protected] perform_action 1 
0002: jump @Noname_965 
00D6: if 
0039:   [email protected] == 1 
004D: jump_if_false @Noname_1021 
0006: [email protected] = 10 
0085: [email protected] = [email protected] // (int) 
0085: [email protected] = [email protected] // (int) 
0B36: samp [email protected] = get_player_nickname [email protected] 
0002: jump @Noname_1021 
0BE0: raknet hook_ret 1 
0002: jump @Noname_1036 
0BE0: raknet hook_ret 1 

:Noname_1021 // Note: a jump to this label will crash the game
 
OP
OP
R
Joined
Dec 27, 2018
Messages
2
Likes
0
Points
1
1
#4
Anyway.. If someone need it:

Code:
/*
 [email protected] - p1cador.mp3
 [email protected] - get_hook_param PARAM_BITSTREAM
 [email protected] - RPC_GIVETAKEDAMAGE
 [email protected] - 0 = give / 1 =take
 [email protected] - Player ID
 [email protected] - ammount damage(FLOAT)
 [email protected] - GUN -> BodyPart
 [email protected] - handle
 [email protected] - nickname
 [email protected] - COUNTER
 [email protected] - прицел INGAME X
 [email protected] - прицел INGAME Y
 [email protected] - прицел WINDOW X
 [email protected] - прицел WINDOW Y
 [email protected] - [email protected]
 [email protected] - [email protected]
 [email protected] - [email protected]
 [email protected] - [email protected]
 [email protected] - nickname(2)
 [email protected] - MAIN TRIGGER 0-600ms
 [email protected] - ACTOR X
 [email protected] - ACTOR Y
 [email protected] - ACTOR Z
 [email protected] - length [email protected] [email protected]
 [email protected] - font [email protected] высота
 [email protected] - TRIGGER 1
 [email protected] - TRIGGER 2
 [email protected] - length [email protected]  <-------------------
 [email protected] - alloc dmg                      |
 [email protected] - alloc name                     |
 [email protected] - FONT dmg                       |
 [email protected] - FONT name  <--------------------
 [email protected] -
 */
 {$CLEO} 
{$INCLUDE SF}   
0000:
    
while not SAMP.Available()
wait 100
end

////////////////////////////////////////
/*alloc [email protected] 128

0b6d: render [email protected] = create_font "Arial" height 15 flags 12

0B5A: get_screen_resolution [email protected] [email protected]
0062: [email protected] -= [email protected]
//0062: [email protected] -= [email protected]
[email protected] -= 25


while true
    wait 0           
    format [email protected] "{ffffff}DMG Informer 0.3.7 RC2 {BEBEBE}v 0.1"
    0B6F: render font [email protected] draw_text [email protected]  pos [email protected] [email protected] color 0xFFffffff
     //0B6C: render [email protected] = font [email protected] draw_height 
    0062:    [email protected] -= [email protected]
        format [email protected] "{ffffff}by {ff0000}p{ffffff}1cador"
    0B6F: render font [email protected] draw_text [email protected]  pos [email protected] [email protected] color 0xFFffff
    005a:     [email protected] += [email protected]
    

    
  
    
    if 0B61: samp is_local_player_spawned
        then break
    end
end
*/



/////////////////////////////////////

[email protected] = 0
[email protected] = -1
[email protected] = 0
[email protected] = 0           
[email protected] = 0
[email protected] = 0
[email protected] = 0
[email protected] = 0
0952: load_soundtrack 1149
//qoloqol3.mp3
0AAC: [email protected] = load_audiostream "CLEO\p1cador.mp3"   
//0AC1: [email protected] = load_audiostream_with_3d_support "CLEO\qoloqol3.mp3"
0B78: log "{F44336}[p1cador] > Audio Loaded!"


0b6d: render [email protected] = create_font "Arial" height 10 flags 12
0b6d: render [email protected] = create_font "Arial" height 21 flags 13
alloc [email protected] 48
alloc [email protected] 48
 
[email protected] = 339.0  // ПРИЦЕЛ //[email protected] += 45.0 
[email protected] = 174.0  // ПРИЦЕЛ


    
0BE1: raknet setup_outcoming_rpc_hook @outRPC   
//thread "qol"

//0085: [email protected] = [email protected] // (int)
//0087: [email protected] = [email protected] // (float)

//003B:   [email protected] == [email protected]  // (int)
//0045:   [email protected] == [email protected]  // (float)

while true
    wait 0
    
    
    if [email protected] == 9         
        then
        [email protected] += 1
        [email protected] = 384.0
        0B60: convert_game_screen_coords [email protected] [email protected] to_window_screen_coords [email protected] [email protected] 
        if SAMP.IsPlayerPaused([email protected])
            then
            format [email protected] "{FFFFFF}AFK"
            else
                if Actor.Dead([email protected])
                    then
                    format [email protected] "{ff0000}NOOB" [email protected]
                    else
                    format [email protected] "-%.2f" [email protected]
                end
            end
        0b6f: render font [email protected] draw_text [email protected] pos [email protected] [email protected] color 0x8fff0000
        0B6C: render [email protected] = font [email protected] draw_height
        005a: [email protected] -= [email protected] //error opcode   
                                            
        
        format [email protected] "%s[%d]" [email protected] [email protected]         
        0b6f: render font [email protected] draw_text [email protected] pos [email protected] [email protected] color 0xf0ffffff //ff00ff00
                    
        else
    end
    
    if [email protected] == 10 
        then
        [email protected] += 1
        [email protected] = 294.0
        
        0B60: convert_game_screen_coords [email protected] [email protected] to_window_screen_coords [email protected] [email protected]     
        0B6B: render [email protected] = font [email protected] draw_text [email protected] length
        0063: [email protected] -= [email protected]
        
        if or
            actor.dead($PLAYER_ACTOR)
            not player.Defined($PLAYER_ACTOR)
            then
            format [email protected] ""
            format [email protected] ""
            else
            format [email protected] "- %.2f" [email protected]
            format [email protected] "%s[%d]" [email protected] [email protected]
        end
        0b6f: render font [email protected] draw_text [email protected] pos [email protected] [email protected] color 0x7fff0000 
        0B6C: render [email protected] = font [email protected] draw_height
        005a: [email protected] -= [email protected]//error opcode
        
        //format [email protected] "%s[%d]" [email protected] [email protected]               //TAKE         
        0b6f: render font [email protected] draw_text [email protected] pos [email protected] [email protected] color 0xf0FFBFBF
          
                
        else
    end 
 
        
    if [email protected] == 450
    then
    [email protected] = -1
    [email protected] = -1
    //0AF8: samp add_message_to_chat "GAVENDA" color 0xFFF000
    else
    end
 
end
                                

//0BDE: pause_thread 0

:outRPC     
0BE5: raknet [email protected] = get_hook_param PARAM_PACKETID
IF 0039: [email protected] == RPC_GIVETAKEDAMAGE
    THEN
    0BE5: raknet [email protected] = get_hook_param PARAM_BITSTREAM
    0BE7: raknet [email protected] = bit_stream_read [email protected] type BS_TYPE_BOOL      //give/take
    0BE7: raknet [email protected] = bit_stream_read [email protected] type BS_TYPE_SHORT     //Player
    0BE7: raknet [email protected] = bit_stream_read [email protected] type BS_TYPE_INT       //ammount(FLOAT)
    0BE7: raknet [email protected] = bit_stream_read [email protected] type BS_TYPE_INT       //GUN
    0BE7: raknet [email protected] = bit_stream_read [email protected] type BS_TYPE_INT       //BodyPart
    [email protected] = 0                                             
    if [email protected] == 0
        then 
        [email protected] = 9
        0085: [email protected] = [email protected]
        0085: [email protected] = [email protected]
        0B20: samp [email protected] = actor_handle_by_samp_player_id [email protected] 
        0B36: samp [email protected] = get_player_nickname [email protected]
        0ABC: set_audiostream [email protected] volume 0.1
        0AAD: set_mp3 [email protected] perform_action 1
          
        //0B78: log "{F44336}[MyTestScript] > Audio Action Changed."     
        //0AF8: samp add_message_to_chat "GIVE %d %.2f" color 0x00ff00 [email protected] [email protected] //%.1f             
        else
    end
    
    if [email protected] == 1
        then
        [email protected] = 10
        0085: [email protected] = [email protected]
        0085: [email protected] = [email protected]
        //0B20: samp [email protected] = actor_handle_by_samp_player_id [email protected] 
        0B36: samp [email protected] = get_player_nickname [email protected]
        //0AAD: set_mp3 [email protected] perform_action 1   
        //0B78: log "{F44336}[MyTestScript] > Audio Action Changed."     
        //0AF8: samp add_message_to_chat "TAKE %d %.2f" color 0xff0000 [email protected] [email protected] //%.1f             
        else
    end
        
        
    
    0BE0: raknet hook_ret true
    ELSE 0BE0: raknet hook_ret TRUE 
END
 
Top