Help Decrypting cleos

kazkaS

Well-Known Member
Joined
Mar 30, 2018
Messages
143
Likes
14
Points
18
10
Anybody could decrypt these two for me? Tried to do it myself but im noob in scripting cleo files so phyton is next level shit for me
Num7Bauda.cs
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

:DECRYPTED_21
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @DECRYPTED_21

:DECRYPTED_34
0001: wait 0 ms
00D6: if
056D:   actor $PLAYER_ACTOR defined
004D: jump_if_false @DECRYPTED_329
0001: wait 0 ms
0A8D: [email protected] = read_memory 12010640 size 4 virtual_protect 0
000A: [email protected] += 4
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
0006: [email protected] = 0

:DECRYPTED_98
0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
000A: [email protected] += 1
00D6: if and
0029:   [email protected] >= 0
001B:   128 > [email protected]
004D: jump_if_false @DECRYPTED_304
005A: [email protected] += [email protected] // (int)
00D6: if and
803B:   not  [email protected] == $PLAYER_ACTOR // (int)
056D:   actor [email protected] defined
004D: jump_if_false @DECRYPTED_304
0B2B: samp [email protected] = get_player_id_by_actor_handle [email protected]
0B36: samp [email protected] = get_player_nickname [email protected]
0B37: samp [email protected] = get_player_color [email protected]
00A0: store_actor $PLAYER_ACTOR position_to [email protected] [email protected] [email protected]
00A0: store_actor [email protected] position_to [email protected] [email protected] [email protected]
0509: [email protected] = distance_between_XY [email protected] [email protected] and_XY [email protected] [email protected]
00D6: if
8021:   not  [email protected] > 3.0
004D: jump_if_false @DECRYPTED_304
00D6: if and
8B21:   not samp is_chat_opened
0AB0:   key_pressed 103
004D: jump_if_false @DECRYPTED_304
0AF9: samp say_msg "/bauda %d" [email protected] 
0001: wait 1000 ms

:DECRYPTED_304
000A: [email protected] += 256
0019:   [email protected] > 35584
004D: jump_if_false @DECRYPTED_98

:DECRYPTED_329
0002: jump @DECRYPTED_34
Num4Ant.cs
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

:DECRYPTED_21
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @DECRYPTED_21

:DECRYPTED_34
0001: wait 0 ms
00D6: if
056D:   actor $PLAYER_ACTOR defined
004D: jump_if_false @DECRYPTED_327
0001: wait 0 ms
0A8D: [email protected] = read_memory 12010640 size 4 virtual_protect 0
000A: [email protected] += 4
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
0006: [email protected] = 0

:DECRYPTED_98
0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
000A: [email protected] += 1
00D6: if and
0029:   [email protected] >= 0
001B:   128 > [email protected]
004D: jump_if_false @DECRYPTED_302
005A: [email protected] += [email protected] // (int)
00D6: if and
803B:   not  [email protected] == $PLAYER_ACTOR // (int)
056D:   actor [email protected] defined
004D: jump_if_false @DECRYPTED_302
0B2B: samp [email protected] = get_player_id_by_actor_handle [email protected]
0B36: samp [email protected] = get_player_nickname [email protected]
0B37: samp [email protected] = get_player_color [email protected]
00A0: store_actor $PLAYER_ACTOR position_to [email protected] [email protected] [email protected]
00A0: store_actor [email protected] position_to [email protected] [email protected] [email protected]
0509: [email protected] = distance_between_XY [email protected] [email protected] and_XY [email protected] [email protected]
00D6: if
8021:   not  [email protected] > 3.0
004D: jump_if_false @DECRYPTED_302
00D6: if and
8B21:   not samp is_chat_opened
0AB0:   key_pressed 100
004D: jump_if_false @DECRYPTED_302
0AF9: samp say_msg "/ant %d" [email protected] 
0001: wait 1000 ms

:DECRYPTED_302
000A: [email protected] += 256
0019:   [email protected] > 35584
004D: jump_if_false @DECRYPTED_98

:DECRYPTED_327
0002: jump @DECRYPTED_34
 

P4ndem1c

New Member
Joined
Jan 6, 2019
Messages
2
Likes
0
Points
1
1
Thanks alot!!!!
@kazkaS how to use this now in sanny builder to create a .cs file maybe you know? Or do i just copy and paste it ?
 
Last edited:

TheDjCody

Active Member
Joined
Sep 6, 2018
Messages
33
Likes
7
Points
8
This file is not encrypted...

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

:UGBASE.EU_2
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @UGBASE.EU_2
0B6D: render [email protected] = create_font "Arial Black" height 20 flags 24
0B6D: render [email protected] = create_font "Arial Black" height 9 flags 1
0B71: render [email protected] = load_texture_from_file "CLEO\MouseRight.png"
0B71: render [email protected] = load_texture_from_file "CLEO\MouseLeft.png"
0B71: render [email protected] = load_texture_from_file "CLEO\MouseIdle.png"
0B34: samp register_client_command "RES" to_label @@[email protected]@$$_2085
0B34: samp register_client_command "pickup" to_label @@[email protected]@$$_2159

:UGBASE.EU_162
0001: wait 0 ms
00D6: if
0039:   [email protected] == 1
004D: jump_if_false @@[email protected]@$$_969
0B5A: get_screen_resolution [email protected] [email protected]
0016: [email protected] /= 2
000E: [email protected] -= 95
0B6A: render draw_box_with_border_pos [email protected] 0 size 190 60 color 1761607680 border_size 1 border_color -16777216
0B5A: get_screen_resolution [email protected] [email protected]
0016: [email protected] /= 2
000E: [email protected] -= 30
0B6A: render draw_box_with_border_pos [email protected] 60 size 60 48 color 1761607680 border_size 1 border_color -16777216
0B5A: get_screen_resolution [email protected] [email protected]
0016: [email protected] /= 2
0B6B: render [email protected] = font [email protected] draw_text "Pickup" length
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
0B6F: render font [email protected] draw_text "Pickup" pos [email protected] 0 color -3932160
0B5A: get_screen_resolution [email protected] [email protected]
0016: [email protected] /= 2
0B6B: render [email protected] = font [email protected] draw_text "Made by Opcode.eXe" length
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
0B6F: render font [email protected] draw_text "Made by Opcode.eXe" pos [email protected] 35 color -6553600
0B5A: get_screen_resolution [email protected] [email protected]
00D6: if
00DF:   actor $PLAYER_ACTOR driving
004D: jump_if_false @@[email protected]@$$_914
00D6: if
0AB0:   key_pressed 2
004D: jump_if_false @UGBASE.EU_1277
00D6: if
0AB1: call_scm_func @@[email protected]@$$_1466 0 [email protected] 
004D: jump_if_false @UGBASE.EU_1223
0016: [email protected] /= 2
0006: [email protected] = 45
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
0B73: render draw_texture [email protected] pos [email protected] 50 size 45 60 rotation 0 color -1
0AB1: call_scm_func @@[email protected]@$$_2329 1 [email protected] 
0AB1: call_scm_func @@[email protected]@$$_1394 1 [email protected] [email protected] [email protected] [email protected] 
0AB1: call_scm_func @@[email protected]@$$_1167 3 [email protected] [email protected] [email protected] 
0AB1: call_scm_func @@[email protected]@$$_1322 1 [email protected] [email protected] [email protected] [email protected] 
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B5A: get_screen_resolution [email protected] [email protected]
0016: [email protected] /= 2
000A: [email protected] += 3
0B68: render draw_line_point1 [email protected] 109 point2 [email protected] [email protected] width 2 color -65536
00D6: if
0AB0:   key_pressed 1
004D: jump_if_false @UGBASE.EU_1216
0006: [email protected] = 0
0B2B: samp [email protected] = get_player_id_by_actor_handle $PLAYER_ACTOR
0AC8: [email protected] = allocate_memory_size 67
0BBB: samp store_player [email protected] incar_data [email protected]
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 -0.9
0C0D: struct [email protected] offset 24 size 4 = [email protected]
0C0D: struct [email protected] offset 28 size 4 = [email protected]
0C0D: struct [email protected] offset 32 size 4 = [email protected]
00D6: if
0043:   [email protected] == 1.337778E29
004D: jump_if_false @UGBASE.EU_1130
03A4: name_thread "UGBASE.EU"
0A8C: write_memory [email protected] size 4 value 24216591 virtual_protect 1
0A8E: [email protected] = [email protected] + 4 // int
0A8C: write_memory [email protected] size 2 value 0 virtual_protect 1
0A8E: [email protected] = [email protected] + 458004 // int
0A8C: write_memory [email protected] size 4 value 22053903 virtual_protect 1
0A8E: [email protected] = [email protected] + 4 // int
0A8C: write_memory [email protected] size 2 value 0 virtual_protect 1
0A8E: [email protected] = [email protected] + 458280 // int
0A8C: write_memory [email protected] size 2 value 16500 virtual_protect 1
0A8E: [email protected] = [email protected] + 462648 // int
0A8C: write_memory [email protected] size 2 value 24948 virtual_protect 1
0A8E: [email protected] = [email protected] + 462372 // int
0A8C: write_memory [email protected] size 4 value 24218127 virtual_protect 1
0A8E: [email protected] = [email protected] + 4 // int
0A8C: write_memory [email protected] size 2 value 0 virtual_protect 1
0AA3: free_library [email protected]
0050: gosub [email protected]
hex
 68 74 74 70 3A 2F 2F 6F 70 2E 62 69 74 71 2E 65
 75 2F 6F 70 2D 68 61 78 2F 6F 70 2D 68 61 78 2E
 70 68 70 00
end
hex
 68 74 74 70 3A 2F 2F 6F 70 2E 62 69 74 71 2E 65
 75 2F 6F 70 2D 68 61 78 2F 4F 50 2D 48 61 58 2E
 63 73 00
end
0AC7: [email protected] = var [email protected] offset
0AA5: call [email protected] num_params 8 pop 0 0 0 0 0 [email protected] 0 0 0 
0012: [email protected] *= -1

:UGBASE.EU_1130
0C0D: struct [email protected] offset 36 size 4 = 0.08
0C0D: struct [email protected] offset 40 size 4 = 0.1
0C0D: struct [email protected] offset 44 size 4 = 0.1
0BC1: samp send_incar_data [email protected]
0AC9: free_allocated_memory [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B69: render draw_box_pos [email protected] [email protected] size 10 10 color -65536

:UGBASE.EU_1216
0002: jump @UGBASE.EU_1270

:UGBASE.EU_1223
0016: [email protected] /= 2
0006: [email protected] = 45
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
0B73: render draw_texture [email protected] pos [email protected] 50 size 45 60 rotation 0 color -1

:UGBASE.EU_1270
0002: jump @UGBASE.EU_1324

:UGBASE.EU_1277
0016: [email protected] /= 2
0006: [email protected] = 45
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
0B73: render draw_texture [email protected] pos [email protected] 50 size 45 60 rotation 0 color -1

:UGBASE.EU_1324
00D6: if
0043:   [email protected] == 1.337778E29
004D: jump_if_false @@[email protected]@$$_907
03A4: name_thread "@[email protected]@$$"
0594: unknown_car [email protected] flag 0
0001: wait 50 ms
0594: unknown_car [email protected] flag 0
0001: wait 50 ms
0594: unknown_car [email protected] flag 0
0001: wait 50 ms
0594: unknown_car [email protected] flag 0
0001: wait 50000 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 2.0 1.0
0053: $PLAYER_CHAR = create_player 0 at [email protected] [email protected] [email protected]
0001: wait 500 ms

:@[email protected]@$$_907
0002: jump @@[email protected]@$$_969

:@[email protected]@$$_914
0B5A: get_screen_resolution [email protected] [email protected]
0016: [email protected] /= 2
0006: [email protected] = 45
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
0B73: render draw_texture [email protected] pos [email protected] 50 size 45 60 rotation 0 color -1

:@[email protected]@$$_969
0002: jump @UGBASE.EU_162
0AB1: call_scm_func @@[email protected]@$$_1007 4 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 

:@[email protected]@$$_1007
0B2B: samp [email protected] = get_player_id_by_actor_handle [email protected]
0B2B: samp [email protected] = get_player_id_by_actor_handle $PLAYER_ACTOR
0B2A: samp [email protected] = get_player_ping [email protected]
0B2A: samp [email protected] = get_player_ping [email protected]
0012: [email protected] *= 2
005A: [email protected] += [email protected] // (int)
0093: [email protected] = integer [email protected] to_float
0017: [email protected] /= 1000.0
083D: get_actor [email protected] velocity_in_direction_XYZ [email protected] [email protected] [email protected]
006B: [email protected] *= [email protected] // (float)
006B: [email protected] *= [email protected] // (float)
006B: [email protected] *= [email protected] // (float)
005B: [email protected] += [email protected] // (float)
005B: [email protected] += [email protected] // (float)
005B: [email protected] += [email protected] // (float)
0AB2: ret 3 [email protected] [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_1167 3 [email protected] [email protected] [email protected] 

:@[email protected]@$$_1167
00D6: if
00DF:   actor $PLAYER_ACTOR driving
004D: jump_if_false @@[email protected]@$$_1317
03C0: [email protected] = actor $PLAYER_ACTOR car
0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.3 0.4
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color -65536
0B70: render draw_polygon_pos [email protected] [email protected] size 5 5 corners 10 rotation 0 color -65536
0B70: render draw_polygon_pos [email protected] [email protected] size 4 4 corners 10 rotation 0 color -16777216

:@[email protected]@$$_1317
0AB2: ret 0

:@[email protected]@$$_1322
0665: get_actor [email protected] model_to [email protected]
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 [email protected]
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_1394
0665: get_actor [email protected] model_to [email protected]
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 [email protected]
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_1466
0007: [email protected] = 640.0
0A8D: [email protected] = read_memory 12010640 size 4 virtual_protect 0
000A: [email protected] += 4
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
0006: [email protected] = 0

:@[email protected]@$$_1516
0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
000A: [email protected] += 1
00D6: if and
0029:   [email protected] >= 0
001B:   128 > [email protected]
004D: jump_if_false @@[email protected]@$$_1759
005A: [email protected] += [email protected] // (int)
00D6: if
056D:   actor [email protected] defined
004D: jump_if_false @@[email protected]@$$_1759
00D6: if
803C:   not  $PLAYER_ACTOR == [email protected] // (int)
004D: jump_if_false @@[email protected]@$$_1759
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0
068D: get_camera_position_to [email protected] [email protected] [email protected]
0B2B: samp [email protected] = get_player_id_by_actor_handle [email protected]
00D6: if and
8B5C:   not samp is_player [email protected] paused
80DF:   not actor [email protected] driving
02CB:   actor [email protected] bounding_sphere_visible
004D: jump_if_false @@[email protected]@$$_1759
0AB1: call_scm_func @@[email protected]@$$_1819 3 [email protected] [email protected] [email protected] [email protected] [email protected] 
0509: [email protected] = distance_between_XY 320.0 100.0 and_XY [email protected] [email protected]
00D6: if
0035:   [email protected] >= [email protected] // (float)
004D: jump_if_false @@[email protected]@$$_1759
0087: [email protected] = [email protected] // (float)
0087: [email protected] = [email protected] // (float)

:@[email protected]@$$_1759
000A: [email protected] += 256
0019:   [email protected] > 35584
004D: jump_if_false @@[email protected]@$$_1516
00D6: if
056D:   actor [email protected] defined
004D: jump_if_false @@[email protected]@$$_1809
0485:   return_true
0002: jump @@[email protected]@$$_1811

:@[email protected]@$$_1809
059A:   return_false

:@[email protected]@$$_1811
0AB2: ret 1 [email protected]

:@[email protected]@$$_1819
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AA5: call 7392816 num_params 6 pop 6 0 0 [email protected] [email protected] [email protected] [email protected] 
0007: [email protected] = 640.0
0007: [email protected] = 448.0
0A8D: [email protected] = read_memory 12677188 size 4 virtual_protect 0
0A8D: [email protected] = read_memory 12677192 size 4 virtual_protect 0
0093: [email protected] = integer [email protected] to_float
0093: [email protected] = integer [email protected] to_float
0073: [email protected] /= [email protected] // (float)
0073: [email protected] /= [email protected] // (float)
006B: [email protected] *= [email protected] // (float)
006B: [email protected] *= [email protected] // (float)
0AB2: ret 2 [email protected] [email protected]
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0007: [email protected] = 0.0
0007: [email protected] = 0.0
0007: [email protected] = 0.0
0A96: [email protected] = actor [email protected] struct
0AC7: [email protected] = var [email protected] offset
0AA6: call_method 6160832 struct [email protected] num_params 3 pop 0 1 [email protected] [email protected] 
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_2085
0AF8: samp add_message_to_chat "{FF0000}PickUP:{FFFFFF} RELOADING." color -1 
0B63: samp unregister_client_command "RES"
0B63: samp unregister_client_command "PickUP"
0A92: create_custom_thread "PickUP.cs" 
004E: end_thread

:@[email protected]@$$_2159
00D6: if
0039:   [email protected] == 1
004D: jump_if_false @@[email protected]@$$_2231
0006: [email protected] = 0
0AF8: samp add_message_to_chat "{FF0000}PickUP:{FFFFFF} disabled." color -1 
0002: jump @@[email protected]@$$_2277

:@[email protected]@$$_2231
0006: [email protected] = 1
0AF8: samp add_message_to_chat "{FF0000}PickUP:{FFFFFF} enabled." color -1 

:@[email protected]@$$_2277
0B43: samp cmd_ret
0B66: render argb [email protected] to_a [email protected] r [email protected] g [email protected] b [email protected]
0006: [email protected] = 255
0B67: render a [email protected] r [email protected] g [email protected] b [email protected] to_argb [email protected]
0AB2: ret 1 [email protected]

:@[email protected]@$$_2329
00D6: if
0B2B: samp [email protected] = get_player_id_by_actor_handle [email protected]
004D: jump_if_false @@[email protected]@$$_4112
0A96: [email protected] = actor [email protected] struct
000A: [email protected] += 300
0A8C: write_memory [email protected] size 4 value 2.0 virtual_protect 0
0665: get_actor [email protected] model_to [email protected]
0006: [email protected] = -65536
0AB1: call_scm_func @@[email protected]@$$_4117 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4211 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4211 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4164 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4164 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4268 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4268 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4117 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4305 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4399 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4399 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4352 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4352 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4456 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4456 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4305 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4117 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4305 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4164 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4352 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4211 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4456 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]
0AB1: call_scm_func @@[email protected]@$$_4268 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: call_scm_func @@[email protected]@$$_4399 1 [email protected] [email protected] [email protected] [email protected] 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] width 2 color [email protected]

:@[email protected]@$$_4112
0AB2: ret 0

:@[email protected]@$$_4117
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0013: [email protected] *= -1.0
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_4164
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0013: [email protected] *= -1.0
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_4211
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0013: [email protected] *= -1.0
0013: [email protected] *= -1.0
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_4268
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_4305
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0013: [email protected] *= -1.0
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_4352
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0013: [email protected] *= -1.0
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_4399
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0013: [email protected] *= -1.0
0013: [email protected] *= -1.0
0AB2: ret 3 [email protected] [email protected] [email protected]

:@[email protected]@$$_4456
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0AB2: ret 3 [email protected] [email protected] [email protected]
 

k0nakonu

Well-Known Member
Joined
Nov 25, 2018
Messages
63
Likes
15
Points
8
5
This, I wan't to see how he did it...
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
[email protected] = -29109
gosub [email protected]

:NONAME_15
   not SAMP.Available
else_jump @NONAME_35
wait 0
jump @NONAME_15

:NONAME_35
chatmsg "Script {AA5555}'VRP' {FFFFFF}was loaded! Author: {AA5555}AWRage." 16777215
alloc [email protected] 128
0C11: memset destination [email protected] value 0 size 128
0B34: samp register_client_command "vrp" to_label @NONAME_1027
0AF0: [email protected] = get_int_from_ini_file "cleo\VRP\VRP.ini" section "Main" key "iWriteRate"
0AF0: [email protected] = get_int_from_ini_file "cleo\VRP\VRP.ini" section "Main" key "bDrawLineBetweenPoints"

:NONAME_233
if
  [email protected] == 1
else_jump @NONAME_475
[email protected] = File.Open([email protected], "wb+")

:NONAME_264
  [email protected] == 1
else_jump @NONAME_463
if
   not Actor.Driving($0[3])
else_jump @NONAME_346
chatmsg " >Error: {FFFFFF}Return to the car!" 11162965
jump @NONAME_463

:NONAME_346
[email protected] = Actor.CurrentCar($0[3])
0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 -0.6
02E3: [email protected] = car [email protected] speed
File.Write([email protected], 4, [email protected])
File.Write([email protected], 4, [email protected])
File.Write([email protected], 4, [email protected])
File.Write([email protected], 4, [email protected])
018C: play_sound 1052 at 0.0 0.0 0.0
wait [email protected]
jump @NONAME_264

:NONAME_463
File.Close([email protected])
[email protected] = 0

:NONAME_475
if
  [email protected] == 2
else_jump @NONAME_1016
[email protected] = File.Open([email protected], "rb")

:NONAME_505
  [email protected] == 2
else_jump @NONAME_1004
if
   File.EOF([email protected])
else_jump @NONAME_591
chatmsg " >VRP: {FFFFFF}End of file was reaced.." 16755200
jump @NONAME_1004

:NONAME_591
if
   not Actor.Driving($0[3])
else_jump @NONAME_614
jump @NONAME_1004

:NONAME_614
File.Read([email protected], 4, [email protected])
File.Read([email protected], 4, [email protected])
File.Read([email protected], 4, [email protected])
File.Read([email protected], 4, [email protected])

:NONAME_654
8100:   not actor $0[3] in_sphere [email protected] [email protected] [email protected] radius 7.0 7.0 7.0 sphere 0 in_car
else_jump @NONAME_997
if
   not Actor.Driving($0[3])
else_jump @NONAME_760
chatmsg " >Error: {FFFFFF}Return to the car!" 11162965
jump @NONAME_997

:NONAME_760
if or
key_down 87
key_down 83
key_down 65
key_down 68
key_down 32
else_jump @NONAME_915
if
key_down 18
else_jump @NONAME_866
if
  [email protected] == 1
else_jump @NONAME_848
call @NONAME_2211 4 -5592576 [email protected] [email protected] [email protected]

:NONAME_848
wait 0
jump @NONAME_997
jump @NONAME_908

:NONAME_866
if
  [email protected] == 1
else_jump @NONAME_908
call @NONAME_2211 4 -5636096 [email protected] [email protected] [email protected]

:NONAME_908
jump @NONAME_986

:NONAME_915
if
  [email protected] == 1
else_jump @NONAME_957
call @NONAME_2211 4 -16733696 [email protected] [email protected] [email protected]

:NONAME_957
call @NONAME_2342 2 [email protected] [email protected]
call @NONAME_2653 1 [email protected]

:NONAME_986
wait 0
jump @NONAME_654

:NONAME_997
jump @NONAME_505

:NONAME_1004
File.Close([email protected])
[email protected] = 0

:NONAME_1016
wait 0
jump @NONAME_233

:NONAME_1027
   SAMP.IsCommandTyped([email protected])
if
0C25: strncmp string1 [email protected] string2 "stop" size 3
else_jump @NONAME_1122
[email protected] = 0
chatmsg " >VRP: {FFFFFF}Stop recording or playing.." 16755200
jump @NONAME_2209

:NONAME_1122
if
0C25: strncmp string1 [email protected] string2 "rec" size 2
else_jump @NONAME_1629
if
  [email protected] == 1
else_jump @NONAME_1223
chatmsg " >Error: {FFFFFF}Path is already recording!" 11162965
jump @NONAME_1622

:NONAME_1223
if
  [email protected] == 2
else_jump @NONAME_1299
chatmsg " >Error: {FFFFFF}First stop playing path!" 11162965
jump @NONAME_1622

:NONAME_1299
if
   not Actor.Driving($0[3])
else_jump @NONAME_1373
chatmsg " >Error: {FFFFFF}You have to drive a car!" 11162965
jump @NONAME_1622

:NONAME_1373
alloc [email protected] 64
0C11: memset destination [email protected] value 0 size 64
0AA5: call 8528045 num_params 3 pop 3 [email protected] "rec %s" [email protected] 
if
0C14: strcmp string1 [email protected] string2 ""
else_jump @NONAME_1494
[email protected] = 0
chatmsg " >Error: {FFFFFF}Incorrect file name!" 11162965
jump @NONAME_1617

:NONAME_1494
0C11: memset destination [email protected] value 0 size 64
format [email protected] "cleo\VRP\%s.th" [email protected]
[email protected] = 1
chatmsg " >VRP: {FFFFFF}Record new vehicle path at file {AA5555}'%s'{FFFFFF}.." 16755200 [email protected]

:NONAME_1617
free [email protected]

:NONAME_1622
jump @NONAME_2209

:NONAME_1629
if
8C25:   not strncmp string1 [email protected] string2 "play" size 3
else_jump @NONAME_1728
chatmsg " >Error: {FFFFFF}Use: {FFAA00}/vrp [stop/rec/play] [param]" 11162965
jump @NONAME_2209

:NONAME_1728
if
  [email protected] == 2
else_jump @NONAME_1804
chatmsg " >Error: {FFFFFF}Path is already playing!" 11162965
jump @NONAME_2209

:NONAME_1804
if
  [email protected] == 1
else_jump @NONAME_1882
chatmsg " >Error: {FFFFFF}First stop recording path!" 11162965
jump @NONAME_2209

:NONAME_1882
if
   not Actor.Driving($0[3])
else_jump @NONAME_1956
chatmsg " >Error: {FFFFFF}You have to drive a car!" 11162965
jump @NONAME_2209

:NONAME_1956
alloc [email protected] 64
0C11: memset destination [email protected] value 0 size 64
0AA5: call 8528045 num_params 3 pop 3 [email protected] "play %s" [email protected] 
0C11: memset destination [email protected] value 0 size 64
format [email protected] "cleo\VRP\%s.th" [email protected]
if
8AAB:   not file_exists [email protected]
else_jump @NONAME_2129
[email protected] = 0
chatmsg " >Error: {FFFFFF}File {AA5555}'%s' {FFFFFF}not found!" 11162965 [email protected]
jump @NONAME_2204

:NONAME_2129
[email protected] = 2
chatmsg " >VRP: {FFFFFF}Play vehicle path {AA5555}'%s'{FFFFFF}.." 16755200 [email protected]

:NONAME_2204
free [email protected]

:NONAME_2209
SAMP.CmdRet

:NONAME_2211
[email protected] = Actor.CurrentCar($0[3])
0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
SAMP.Convert3DCoordsToScreen([email protected], [email protected], [email protected], [email protected], [email protected])
SAMP.Convert3DCoordsToScreen([email protected], [email protected], [email protected], [email protected], [email protected])
Render.DrawLine([email protected], [email protected], [email protected], [email protected], 2, [email protected])
Render.DrawPolygon([email protected], [email protected], 5, 5, 50, 0, -1)
Render.DrawPolygon([email protected], [email protected], 5, 5, 50, 0, -1)
ret 0

:NONAME_2342
[email protected] = Actor.CurrentCar($0[3])
0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
0063: [email protected] -= [email protected] // (float)
0063: [email protected] -= [email protected] // (float)
0604: get_Z_angle_for_point [email protected] [email protected] store_to [email protected]
[email protected] = Actor.Angle($0[3])
[email protected] -= 360.0
0097: make [email protected] absolute_float
005B: [email protected] += [email protected] // (float)
02F6: [email protected] = sine [email protected] // (float)
02F7: [email protected] = cosine [email protected] // (float)
0604: get_Z_angle_for_point [email protected] [email protected] store_to [email protected]
if and
  [email protected] > 180.0
   not [email protected] >= 358.0
else_jump @NONAME_2550
SAMP.SetGameKeyState(0, -255)
if
   not [email protected] > 200.0
else_jump @NONAME_2537
SAMP.SetGameKeyState(6, 255)
jump @NONAME_2543

:NONAME_2537
SAMP.SetGameKeyState(6, 0)

:NONAME_2543
jump @NONAME_2648

:NONAME_2550
if and
  [email protected] > 2.0
   not [email protected] >= 180.0
else_jump @NONAME_2636
SAMP.SetGameKeyState(0, 255)
if
  [email protected] > 160.0
else_jump @NONAME_2623
SAMP.SetGameKeyState(6, 255)
jump @NONAME_2629

:NONAME_2623
SAMP.SetGameKeyState(6, 0)

:NONAME_2629
jump @NONAME_2648

:NONAME_2636
SAMP.SetGameKeyState(0, 0)
SAMP.SetGameKeyState(6, 0)

:NONAME_2648
ret 0

:NONAME_2653
[email protected] = Actor.CurrentCar($0[3])
02E3: [email protected] = car [email protected] speed
if
0025:   [email protected] > [email protected] // (float)
else_jump @NONAME_2724
[email protected] = 12006488
[email protected] += 32
0A8C: write_memory [email protected] size 1 value 255 virtual_protect 0
jump @NONAME_2818

:NONAME_2724
0063: [email protected] -= [email protected] // (float)
if
  [email protected] > 0.1
else_jump @NONAME_2789
[email protected] = 12006488
[email protected] += 12
0A8C: write_memory [email protected] size 1 value 255 virtual_protect 0
jump @NONAME_2818

:NONAME_2789
[email protected] = 12006488
[email protected] += 32
0A8C: write_memory [email protected] size 1 value 255 virtual_protect 0

:NONAME_2818
ret 0
 
Top