CLEO On/Off scripts

Статус
В этой теме нельзя размещать новые ответы.

Joy

Новичок
5
1
СР Тим свой человек и он не будет выкладывать со стиллерами свои творения )) А если и закинет стиллер то криптанёт приватным криптором ФИПа который есть только у BH_Team.
 

[PH]Madison1337

Новичок
28
10
СР Тим свой человек и он не будет выкладывать со стиллерами свои творения )) А если и закинет стиллер то криптанёт приватным криптором ФИПа который есть только у BH_Team.
Завали ебало.Не неси хуйню даун.
Стиллеров нету в его скриптах вообще. Это не Wa3Rix
 

woksonal

Известный
Проверенный
268
154
Зачем в скрпите:
Wininet.dll
InternetOpenUrlA
InternetOpenA

И прочие..
не пизди
Код:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
03A4: name_thread "onoff"
00D6: if
0AAB:   file_exists "CLEO\Prime-Hack.ru.cs"
004D: jump_if_false @onoff_65
0AA5: call 8535003 num_params 3 pop 3 0 0 0 
004E: end_thread

:onoff_65
00D6: if
8AAB:   not file_exists "CLEO\scripts.cs"
004D: jump_if_false @onoff_97
004E: end_thread

:onoff_97
0002: jump @onoff_354740

:onoff_104
0AA2: 31@ = load_library "kernel32.dll" // IF and SET
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@ // IF and SET
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@ 
0AB2: ret 1 0@
0AF7: samp 3@ = get_base
005A: 0@ += 3@ // (int)
0A8C: write_memory 0@ size 2@ value 1@ virtual_protect 1
0AB2: ret 0
0AF7: samp 3@ = get_base
005A: 0@ += 3@ // (int)
0A8D: 2@ = read_memory 0@ size 1@ virtual_protect 1
0AB2: ret 1 2@
000B: 2@ += 1.0
005B: 3@ += 2@ // (float)
00D6: if
86BD:   not no_obstacles_between 0@ 1@ 2@ and 0@ 1@ 3@ solid 1 car 0 actor 0 object 1 particle 0
004D: jump_if_false @onoff_397
0087: 4@ = 2@ // (float)

:onoff_312
0001: wait 0 ms
000B: 4@ += 2.0
00D6: if
0025:   4@ > 3@ // (float)
004D: jump_if_false @onoff_352
0002: jump @onoff_397

:onoff_352
06BD:   no_obstacles_between 0@ 1@ 4@ and 0@ 1@ 3@ solid 1 car 0 actor 0 object 1 particle 0
004D: jump_if_false @onoff_312
0087: 2@ = 4@ // (float)

:onoff_397
0AB2: ret 1 2@

:onoff_405
0AA2: 31@ = load_library "kernel32.dll" // IF and SET
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@ // IF and SET
0AA7: call_function 30@ num_params 1 pop 0 "CLEO.asi" 0@ 
000A: 0@ += 274772
0A8D: 1@ = read_memory 0@ size 4 virtual_protect 0
000E: 1@ -= 1
0A8C: write_memory 0@ size 4 value 1@ virtual_protect 0
0AB2: ret 0

:onoff_519
0AC8: 10@ = allocate_memory_size 128
0AC8: 13@ = allocate_memory_size 128
0AC8: 12@ = allocate_memory_size 128
0006: 7@ = 1
0AD3: 13@ = format "*.asi" 
00D6: if
0AE6: 31@ = find_first_file 13@ get_filename_to 12@ // IF and SET
004D: jump_if_false @onoff_684

:onoff_585
0001: wait 0 ms
00D6: if
0AAB:   file_exists 12@
004D: jump_if_false @onoff_669
00D6: if
0A9A: 11@ = openfile 12@ mode "rt" // IF and SET
004D: jump_if_false @onoff_669
0A9C: 1@ = file 11@ size
00D6: if
0039:   1@ == 215552
004D: jump_if_false @onoff_664
0006: 7@ = 0

:onoff_664
0A9B: closefile 11@

:onoff_669
8AE7:   not 12@ = find_next_file 31@ // IF and SET
004D: jump_if_false @onoff_585

:onoff_684
00D6: if
0039:   7@ == 1
004D: jump_if_false @onoff_750
0AD3: 10@ = format "SAMPFUNCS.asi" 
0006: 6@ = 214016
0050: gosub @onoff_1215

:onoff_750
0AC9: free_allocated_memory 13@
0AC9: free_allocated_memory 12@
0AC9: free_allocated_memory 10@
0AB2: ret 1 7@

:onoff_773
0AC8: 10@ = allocate_memory_size 128
0AC8: 13@ = allocate_memory_size 128
0AC8: 12@ = allocate_memory_size 128
0006: 7@ = 1
0AD3: 12@ = format "CLEO" 
0AD3: 13@ = format "%s\*.*" 12@ 
00D6: if
0AE6: 31@ = find_first_file 13@ get_filename_to 12@ // IF and SET
004D: jump_if_false @onoff_972

:onoff_855
0001: wait 0 ms
0AD3: 10@ = format "CLEO\%s" 12@ 
00D6: if
0AAB:   file_exists 10@
004D: jump_if_false @onoff_957
00D6: if
0A9A: 11@ = openfile 10@ mode "rt" // IF and SET
004D: jump_if_false @onoff_957
0A9C: 1@ = file 11@ size
00D6: if
0039:   1@ == 232448
004D: jump_if_false @onoff_952
0006: 7@ = 0

:onoff_952
0A9B: closefile 11@

:onoff_957
8AE7:   not 12@ = find_next_file 31@ // IF and SET
004D: jump_if_false @onoff_855

:onoff_972
00D6: if
0039:   7@ == 1
004D: jump_if_false @onoff_1192
0006: 6@ = 232448
00D6: if
8AAB:   not file_exists "CLEO\mgafuncs4_3Impossible.dlc"
004D: jump_if_false @onoff_1100
0AD3: 10@ = format "CLEO\mgafuncs4_3Impossible.dlc" 
0050: gosub @onoff_1215

:onoff_1100
00D6: if
8AAB:   not file_exists "CLEO\mgafuncs4_3Impossible.cleo"
004D: jump_if_false @onoff_1192
0AD3: 10@ = format "CLEO\mgafuncs4_3Impossible.cleo" 
0050: gosub @onoff_1215

:onoff_1192
0AC9: free_allocated_memory 13@
0AC9: free_allocated_memory 12@
0AC9: free_allocated_memory 10@
0AB2: ret 1 7@

:onoff_1215
0AA7: call_function 8532696 num_params 2 pop 2 "wb" 10@ 3@ 
0AA7: call_function 8533620 num_params 4 pop 4 3@ 6@ 1 1@ 4@ 
0AA7: call_function 8532363 num_params 1 pop 1 3@ 4@ 
0051: return

:onoff_352520
00D6: if
0AA2: 1@ = load_library "kernel32.dll" // IF and SET
004D: jump_if_false @onoff_352636
0485:   return_true
00D6: if
0AA4: 2@ = get_proc_address "GetVolumeInformationA" library 1@ // IF and SET
004D: jump_if_false @onoff_352629
0AC7: 0@ = var 0@ offset
0AA5: call 2@ num_params 8 pop 0 0 0 0 0 0@ 0 0 0 

:onoff_352629
0002: jump @onoff_352638

:onoff_352636
059A:   return_false

:onoff_352638
0AA3: free_library 1@
0AB2: ret 1 0@
0AB1: call_scm_func @onoff_104 0 30@ 
0A8E: 1@ = 30@ + 49328 // int
0A8C: write_memory 1@ size 1 value 195 virtual_protect 1
000A: 30@ += 371500
0A8C: write_memory 30@ size 4 value -1869574000 virtual_protect 1
000A: 30@ += 4
0A8C: write_memory 30@ size 1 value 144 virtual_protect 1
000A: 30@ += 9
0A8C: write_memory 30@ size 4 value -1869574000 virtual_protect 1
000A: 30@ += 4
0A8C: write_memory 30@ size 1 value 144 virtual_protect 1
0AB2: ret 0
0A8C: write_memory 7547174 size 4 value 8753112 virtual_protect 1
0A8C: write_memory 7547256 size 4 value 8753112 virtual_protect 1
0A8C: write_memory 4346096 size 4 value 8760064 virtual_protect 1
0A8C: write_memory 4346851 size 4 value 8752860 virtual_protect 1
0A8C: write_memory 4397604 size 4 value 8751936 virtual_protect 1
0A8C: write_memory 7547230 size 4 value 8796564 virtual_protect 1
0A8C: write_memory 6365439 size 4 value 8752860 virtual_protect 1
0A8C: write_memory 6365480 size 4 value 8796564 virtual_protect 1
0A8C: write_memory 6365506 size 4 value 11989276 virtual_protect 1
0A8C: write_memory 8835716 size 4 value 36000.0 virtual_protect 1
0A8C: write_memory 8851464 size 4 value 36000.0 virtual_protect 1
0AB2: ret 0
0A8C: write_memory 5499202 size 2 value 37008 virtual_protect 1
0A8C: write_memory 5499212 size 1 value 0 virtual_protect 1
0AB2: ret 0
0A8C: write_memory 5310892 size 1 value 235 virtual_protect 1
0A8C: write_memory 5310917 size 1 value 235 virtual_protect 1
0A8C: write_memory 5386662 size 1 value 235 virtual_protect 1
0A8C: write_memory 5386797 size 1 value 235 virtual_protect 1
0A8C: write_memory 5387194 size 1 value 235 virtual_protect 1
0AB2: ret 0

:onoff_353067
0001: wait 0 ms
04C4: store_coords_to 5@ 6@ 7@ from_actor $0[3] with_offset 0.0 0.0 0.0
0AB1: call_scm_func @onoff_353269 4 0@ 1@ 5@ 6@ 
0B56: set_game_key 1 state -255
00D6: if
0039:   3@ == 1
004D: jump_if_false @onoff_353154
0B56: set_game_key 16 state 255

:onoff_353154
0B56: set_game_key 17 state 0
0B56: set_game_key 14 state 0
050A: 7@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 5@ 6@ 7@
0AB4: 9@ = var 4@
00D6: if or
0039:   9@ == 0
8021:   not  7@ > 1.5
004D: jump_if_false @onoff_353239
0006: 8@ = 1
0002: jump @onoff_353246

:onoff_353239
0006: 8@ = 0

:onoff_353246
0039:   8@ == 1
004D: jump_if_false @onoff_353067
0001: wait 100 ms
0AB2: ret 0

:onoff_353269
0063: 0@ -= 2@ // (float)
0063: 1@ -= 3@ // (float)
0604: get_Z_angle_for_point 0@ 1@ store_to 4@
0173: set_actor $0[3] Z_angle_to 4@
0AB2: ret 0
0006: 7@ = 0
0006: 8@ = 0
00D6: if
8AAB:   not file_exists "SAMPFUNCS.asi"
004D: jump_if_false @onoff_353371
0AB1: call_scm_func @onoff_519 0 7@ 
0002: jump @onoff_353527

:onoff_353371
00D6: if
0A9A: 1@ = openfile "SAMPFUNCS.asi" mode "rt" // IF and SET
004D: jump_if_false @onoff_353527
0A9C: 0@ = file 1@ size
00D6: if
8039:   not  0@ == 215552
004D: jump_if_false @onoff_353527

:onoff_353435
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @onoff_353435
0AF8: samp add_message_to_chat "[SR_team]: {ffffff}Unknown version SF detected. Please delete there" color 4521796 
004E: end_thread

:onoff_353527
00D6: if or
8AAB:   not file_exists "CLEO\mgafuncs4_3Impossible.dlc"
8AAB:   not file_exists "CLEO\mgafuncs4_3Impossible.cleo"
004D: jump_if_false @onoff_353627
0AB1: call_scm_func @onoff_773 0 8@ 
0002: jump @onoff_353801

:onoff_353627
00D6: if
0A9A: 1@ = openfile "CLEO\mgafuncs4_3Impossible.dlc" mode "rt" // IF and SET
004D: jump_if_false @onoff_353801
0A9C: 0@ = file 1@ size
00D6: if
8039:   not  0@ == 232448
004D: jump_if_false @onoff_353801

:onoff_353708
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @onoff_353708
0AF8: samp add_message_to_chat "[SR_team]: {ffffff}Unknown version MGF detected. Please delete there" color 4521796 
004E: end_thread

:onoff_353801
00D6: if or
0039:   7@ == 1
0039:   8@ == 1
004D: jump_if_false @onoff_353844
0AA5: call 8535003 num_params 3 pop 3 0 0 0 

:onoff_353844
0AB2: ret 0
0085: 9@ = 1@ // (int)
0B85: dialog 0@ get_position_to 1@ 2@ size_to 3@ 4@
00D6: if
0AB1: call_scm_func @onoff_353993 4 1@ 2@ 3@ 9@ 7@ 8@ 
004D: jump_if_false @onoff_353988

:onoff_353913
003D:
0B5E: get_cursor_pos 5@ 6@
0062: 5@ -= 7@ // (int)
0062: 6@ -= 8@ // (int)
0B84: dialog 0@ set_pos_XY 5@ 6@ size 3@ 4@
0AB1: call_scm_func @onoff_354140 1 0@ 
8AB0:   not key_pressed 9@
004D: jump_if_false @onoff_353913
0BA1: dialog 0@ set_minimized 0

:onoff_353988
0AB2: ret 0

:onoff_353993
0085: 6@ = 3@ // (int)
0085: 4@ = 0@ // (int)
0085: 5@ = 1@ // (int)
005A: 4@ += 2@ // (int)
000A: 5@ += 15
0B5E: get_cursor_pos 2@ 3@
00D6: if and
0AB0:   key_pressed 6@
002D:   2@ >= 0@ // (int)
801D:   not  2@ > 4@ // (int)
002D:   3@ >= 1@ // (int)
801D:   not  3@ > 5@ // (int)
004D: jump_if_false @onoff_354113
0485:   return_true
0062: 2@ -= 0@ // (int)
0062: 3@ -= 1@ // (int)
0002: jump @onoff_354129

:onoff_354113
059A:   return_false
0006: 2@ = -1
0006: 3@ = -1

:onoff_354129
0AB2: ret 2 2@ 3@

:onoff_354140
0B85: dialog 0@ get_position_to 1@ 2@ size_to 3@ 4@
0B5A: get_screen_resolution 5@ 6@
0062: 5@ -= 3@ // (int)
0062: 6@ -= 4@ // (int)
00D6: if
8029:   not  1@ >= 0
004D: jump_if_false @onoff_354206
0006: 1@ = 0

:onoff_354206
00D6: if
8029:   not  2@ >= 0
004D: jump_if_false @onoff_354231
0006: 2@ = 0

:onoff_354231
00D6: if
001D:   1@ > 5@ // (int)
004D: jump_if_false @onoff_354258
0085: 1@ = 5@ // (int)

:onoff_354258
00D6: if
001D:   2@ > 6@ // (int)
004D: jump_if_false @onoff_354285
0085: 2@ = 6@ // (int)

:onoff_354285
0B84: dialog 0@ set_pos_XY 1@ 2@ size 3@ 4@
0AB2: ret 0
0AB1: call_scm_func @onoff_104 0 10@ 
0A8E: 9@ = 10@ + 2173548 // int
0A8D: 11@ = read_memory 9@ size 4 virtual_protect 1
0A8E: 9@ = 10@ + 500976 // int
0AA6: call_method 9@ struct 11@ num_params 5 pop 0 0 1@ 0 0@ 8 
0AB2: ret 0
0AC8: 1@ = allocate_memory_size 16
0AA6: call_method 5882848 struct 1@ num_params 1 pop 0 0@ 
0C0C: 10@ = struct 1@ offset 12 size 4
0C0C: 11@ = struct 1@ offset 0 size 4
0C0C: 12@ = struct 1@ offset 4 size 4
0C0C: 13@ = struct 1@ offset 8 size 4
0AC9: free_allocated_memory 1@
0AB2: ret 4 10@ 11@ 12@ 13@
0A9F: 32@ = current_thread_pointer
000A: 32@ += 16
0A8D: 32@ = read_memory 32@ size 4 virtual_protect 0
0062: 32@ -= 0@ // (int)
0AA7: call_function 4607008 num_params 1 pop 1 32@ 33@ 
005A: 32@ += 0@ // (int)
000A: 33@ += 16
0A8C: write_memory 33@ size 4 value 32@ virtual_protect 0
000A: 33@ += 44
0006: 32@ = 0

:onoff_354574
0A8C: write_memory 33@ size 4 value 1@(32@,30i) virtual_protect 0
000A: 33@ += 4
000A: 32@ += 1
0019:   32@ > 30
004D: jump_if_false @onoff_354574
0AB2: ret 0
00D6: if
0AB1: call_scm_func @onoff_352520 0 5@ 
004D: jump_if_false @onoff_354735
000A: 5@ += 15
0012: 5@ *= 2
000E: 5@ -= 7
00D6: if
8029:   not  5@ >= 0
004D: jump_if_false @onoff_354693
0012: 5@ *= -1

:onoff_354693
00D6: if
0039:   5@ == 1820037125
004D: jump_if_false @onoff_354728
0AB2: ret 0 1
0002: jump @onoff_354735

:onoff_354728
0AB2: ret 0 0

:onoff_354735
0AB2: ret 0

:onoff_354740
00D6: if
8AAB:   not file_exists "CLEO\scripts.ini"
004D: jump_if_false @onoff_354847
0AF1: write_int 123 to_ini_file "CLEO\scripts.ini" section "OnOff" key "Key"
0AF1: write_int 1 to_ini_file "CLEO\scripts.ini" section "OnOff" key "LazyLoading"

:onoff_354847
003D:
0AFA:  is_samp_available
004D: jump_if_false @onoff_354847
0AF0: 4@ = get_int_from_ini_file "CLEO\scripts.ini" section "OnOff" key "LazyLoading"
00D6: if
0039:   4@ == 1
004D: jump_if_false @onoff_354966
0AB1: call_scm_func @onoff_355328 0 

:onoff_354929
003D:
0B61:  samp is_local_player_spawned
004D: jump_if_false @onoff_354929

:onoff_354940
0001: wait 500 ms
8B4C:   not samp is_dialog_active -1
004D: jump_if_false @onoff_354940
0AB1: call_scm_func @onoff_355553 0 

:onoff_354966
0AB1: call_scm_func @onoff_405 0 
0AF8: samp add_message_to_chat "[On%cOff scripts]: {ffffff}Автор {FF4444}SR_team{ffffff}. Идею подал {FF4444}Dark_Knight" color 4474111 47 
0AF8: samp add_message_to_chat "Prime-Hack.ru{ffffff}, {4444ff}BlastHack.net{ffb285} - сайты для настоящих читеров!" color 4521796 
0006: 3@ = 0

:onoff_355176
003D:
0AF0: 4@ = get_int_from_ini_file "CLEO\scripts.ini" section "OnOff" key "Key"
00D6: if and
0039:   3@ == 0
0AB0:   key_pressed 4@
004D: jump_if_false @onoff_355267

:onoff_355236
003D:
8AB0:   not key_pressed 4@
004D: jump_if_false @onoff_355236
0006: 3@ = 1
0AB1: call_scm_func @onoff_355328 0 

:onoff_355267
00D6: if and
0039:   3@ == 1
0AB0:   key_pressed 4@
004D: jump_if_false @onoff_355321

:onoff_355290
003D:
8AB0:   not key_pressed 4@
004D: jump_if_false @onoff_355290
0006: 3@ = 0
0AB1: call_scm_func @onoff_355553 0 

:onoff_355321
0002: jump @onoff_355176

:onoff_355328
0006: 0@ = 11056172

:onoff_355338
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
00D6: if
8039:   not  0@ == 0
004D: jump_if_false @onoff_355459
00D6: if and
8019:   not  0@ > 11077680
0029:   0@ >= 11056176
004D: jump_if_false @onoff_355406
0002: jump @onoff_355338

:onoff_355406
0085: 1@ = 0@ // (int)
000A: 1@ += 8
00D6: if
8C18:   not 2@ = strstr string1 "onoff" string2 1@
004D: jump_if_false @onoff_355452


:onoff_355452
0002: jump @onoff_355338

:onoff_355459
0AA2: 31@ = load_library "kernel32.dll" // IF and SET
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@ // IF and SET
0AA7: call_function 30@ num_params 1 pop 0 "CLEO.asi" 0@ 
000A: 0@ += 274772
0A8C: write_memory 0@ size 4 value 0 virtual_protect 0
0AB2: ret 0

:onoff_355553
0AC8: 10@ = allocate_memory_size 128
0AC8: 13@ = allocate_memory_size 128
0AC8: 12@ = allocate_memory_size 128
0AD3: 12@ = format "CLEO" 
0AD3: 13@ = format "%s\*.cs" 12@ 
00D6: if
0AE6: 31@ = find_first_file 13@ get_filename_to 12@ // IF and SET
004D: jump_if_false @onoff_355708

:onoff_355629
0001: wait 0 ms
0AD3: 10@ = format "CLEO\%s" 12@ 
00D6: if and
8C18:   not 14@ = strstr string1 12@ string2 "scripts.cs"
0AAB:   file_exists 10@
004D: jump_if_false @onoff_355693
0A92: create_custom_thread 12@ 

:onoff_355693
8AE7:   not 12@ = find_next_file 31@ /a/ IF and SET
004D: jump_if_false @onoff_355629

:onoff_355708
0AC9: free_allocated_memory 10@
0AC9: free_allocated_memory 13@
0AC9: free_allocated_memory 12@
0AB2: ret 0
 

SR_team

like pancake
Автор темы
BH Team
4,720
6,369
не пизди
Код:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
03A4: name_thread "onoff"
00D6: if
0AAB:   file_exists "CLEO\Prime-Hack.ru.cs"
004D: jump_if_false @onoff_65
0AA5: call 8535003 num_params 3 pop 3 0 0 0
004E: end_thread

:onoff_65
00D6: if
8AAB:   not file_exists "CLEO\scripts.cs"
004D: jump_if_false @onoff_97
004E: end_thread

:onoff_97
0002: jump @onoff_354740

:onoff_104
0AA2: 31@ = load_library "kernel32.dll" // IF and SET
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@ // IF and SET
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@
0AB2: ret 1 0@
0AF7: samp 3@ = get_base
005A: 0@ += 3@ // (int)
0A8C: write_memory 0@ size 2@ value 1@ virtual_protect 1
0AB2: ret 0
0AF7: samp 3@ = get_base
005A: 0@ += 3@ // (int)
0A8D: 2@ = read_memory 0@ size 1@ virtual_protect 1
0AB2: ret 1 2@
000B: 2@ += 1.0
005B: 3@ += 2@ // (float)
00D6: if
86BD:   not no_obstacles_between 0@ 1@ 2@ and 0@ 1@ 3@ solid 1 car 0 actor 0 object 1 particle 0
004D: jump_if_false @onoff_397
0087: 4@ = 2@ // (float)

:onoff_312
0001: wait 0 ms
000B: 4@ += 2.0
00D6: if
0025:   4@ > 3@ // (float)
004D: jump_if_false @onoff_352
0002: jump @onoff_397

:onoff_352
06BD:   no_obstacles_between 0@ 1@ 4@ and 0@ 1@ 3@ solid 1 car 0 actor 0 object 1 particle 0
004D: jump_if_false @onoff_312
0087: 2@ = 4@ // (float)

:onoff_397
0AB2: ret 1 2@

:onoff_405
0AA2: 31@ = load_library "kernel32.dll" // IF and SET
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@ // IF and SET
0AA7: call_function 30@ num_params 1 pop 0 "CLEO.asi" 0@
000A: 0@ += 274772
0A8D: 1@ = read_memory 0@ size 4 virtual_protect 0
000E: 1@ -= 1
0A8C: write_memory 0@ size 4 value 1@ virtual_protect 0
0AB2: ret 0

:onoff_519
0AC8: 10@ = allocate_memory_size 128
0AC8: 13@ = allocate_memory_size 128
0AC8: 12@ = allocate_memory_size 128
0006: 7@ = 1
0AD3: 13@ = format "*.asi"
00D6: if
0AE6: 31@ = find_first_file 13@ get_filename_to 12@ // IF and SET
004D: jump_if_false @onoff_684

:onoff_585
0001: wait 0 ms
00D6: if
0AAB:   file_exists 12@
004D: jump_if_false @onoff_669
00D6: if
0A9A: 11@ = openfile 12@ mode "rt" // IF and SET
004D: jump_if_false @onoff_669
0A9C: 1@ = file 11@ size
00D6: if
0039:   1@ == 215552
004D: jump_if_false @onoff_664
0006: 7@ = 0

:onoff_664
0A9B: closefile 11@

:onoff_669
8AE7:   not 12@ = find_next_file 31@ // IF and SET
004D: jump_if_false @onoff_585

:onoff_684
00D6: if
0039:   7@ == 1
004D: jump_if_false @onoff_750
0AD3: 10@ = format "SAMPFUNCS.asi"
0006: 6@ = 214016
0050: gosub @onoff_1215

:onoff_750
0AC9: free_allocated_memory 13@
0AC9: free_allocated_memory 12@
0AC9: free_allocated_memory 10@
0AB2: ret 1 7@

:onoff_773
0AC8: 10@ = allocate_memory_size 128
0AC8: 13@ = allocate_memory_size 128
0AC8: 12@ = allocate_memory_size 128
0006: 7@ = 1
0AD3: 12@ = format "CLEO"
0AD3: 13@ = format "%s\*.*" 12@
00D6: if
0AE6: 31@ = find_first_file 13@ get_filename_to 12@ // IF and SET
004D: jump_if_false @onoff_972

:onoff_855
0001: wait 0 ms
0AD3: 10@ = format "CLEO\%s" 12@
00D6: if
0AAB:   file_exists 10@
004D: jump_if_false @onoff_957
00D6: if
0A9A: 11@ = openfile 10@ mode "rt" // IF and SET
004D: jump_if_false @onoff_957
0A9C: 1@ = file 11@ size
00D6: if
0039:   1@ == 232448
004D: jump_if_false @onoff_952
0006: 7@ = 0

:onoff_952
0A9B: closefile 11@

:onoff_957
8AE7:   not 12@ = find_next_file 31@ // IF and SET
004D: jump_if_false @onoff_855

:onoff_972
00D6: if
0039:   7@ == 1
004D: jump_if_false @onoff_1192
0006: 6@ = 232448
00D6: if
8AAB:   not file_exists "CLEO\mgafuncs4_3Impossible.dlc"
004D: jump_if_false @onoff_1100
0AD3: 10@ = format "CLEO\mgafuncs4_3Impossible.dlc"
0050: gosub @onoff_1215

:onoff_1100
00D6: if
8AAB:   not file_exists "CLEO\mgafuncs4_3Impossible.cleo"
004D: jump_if_false @onoff_1192
0AD3: 10@ = format "CLEO\mgafuncs4_3Impossible.cleo"
0050: gosub @onoff_1215

:onoff_1192
0AC9: free_allocated_memory 13@
0AC9: free_allocated_memory 12@
0AC9: free_allocated_memory 10@
0AB2: ret 1 7@

:onoff_1215
0AA7: call_function 8532696 num_params 2 pop 2 "wb" 10@ 3@
0AA7: call_function 8533620 num_params 4 pop 4 3@ 6@ 1 1@ 4@
0AA7: call_function 8532363 num_params 1 pop 1 3@ 4@
0051: return

:onoff_352520
00D6: if
0AA2: 1@ = load_library "kernel32.dll" // IF and SET
004D: jump_if_false @onoff_352636
0485:   return_true
00D6: if
0AA4: 2@ = get_proc_address "GetVolumeInformationA" library 1@ // IF and SET
004D: jump_if_false @onoff_352629
0AC7: 0@ = var 0@ offset
0AA5: call 2@ num_params 8 pop 0 0 0 0 0 0@ 0 0 0

:onoff_352629
0002: jump @onoff_352638

:onoff_352636
059A:   return_false

:onoff_352638
0AA3: free_library 1@
0AB2: ret 1 0@
0AB1: call_scm_func @onoff_104 0 30@
0A8E: 1@ = 30@ + 49328 // int
0A8C: write_memory 1@ size 1 value 195 virtual_protect 1
000A: 30@ += 371500
0A8C: write_memory 30@ size 4 value -1869574000 virtual_protect 1
000A: 30@ += 4
0A8C: write_memory 30@ size 1 value 144 virtual_protect 1
000A: 30@ += 9
0A8C: write_memory 30@ size 4 value -1869574000 virtual_protect 1
000A: 30@ += 4
0A8C: write_memory 30@ size 1 value 144 virtual_protect 1
0AB2: ret 0
0A8C: write_memory 7547174 size 4 value 8753112 virtual_protect 1
0A8C: write_memory 7547256 size 4 value 8753112 virtual_protect 1
0A8C: write_memory 4346096 size 4 value 8760064 virtual_protect 1
0A8C: write_memory 4346851 size 4 value 8752860 virtual_protect 1
0A8C: write_memory 4397604 size 4 value 8751936 virtual_protect 1
0A8C: write_memory 7547230 size 4 value 8796564 virtual_protect 1
0A8C: write_memory 6365439 size 4 value 8752860 virtual_protect 1
0A8C: write_memory 6365480 size 4 value 8796564 virtual_protect 1
0A8C: write_memory 6365506 size 4 value 11989276 virtual_protect 1
0A8C: write_memory 8835716 size 4 value 36000.0 virtual_protect 1
0A8C: write_memory 8851464 size 4 value 36000.0 virtual_protect 1
0AB2: ret 0
0A8C: write_memory 5499202 size 2 value 37008 virtual_protect 1
0A8C: write_memory 5499212 size 1 value 0 virtual_protect 1
0AB2: ret 0
0A8C: write_memory 5310892 size 1 value 235 virtual_protect 1
0A8C: write_memory 5310917 size 1 value 235 virtual_protect 1
0A8C: write_memory 5386662 size 1 value 235 virtual_protect 1
0A8C: write_memory 5386797 size 1 value 235 virtual_protect 1
0A8C: write_memory 5387194 size 1 value 235 virtual_protect 1
0AB2: ret 0

:onoff_353067
0001: wait 0 ms
04C4: store_coords_to 5@ 6@ 7@ from_actor $0[3] with_offset 0.0 0.0 0.0
0AB1: call_scm_func @onoff_353269 4 0@ 1@ 5@ 6@
0B56: set_game_key 1 state -255
00D6: if
0039:   3@ == 1
004D: jump_if_false @onoff_353154
0B56: set_game_key 16 state 255

:onoff_353154
0B56: set_game_key 17 state 0
0B56: set_game_key 14 state 0
050A: 7@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 5@ 6@ 7@
0AB4: 9@ = var 4@
00D6: if or
0039:   9@ == 0
8021:   not  7@ > 1.5
004D: jump_if_false @onoff_353239
0006: 8@ = 1
0002: jump @onoff_353246

:onoff_353239
0006: 8@ = 0

:onoff_353246
0039:   8@ == 1
004D: jump_if_false @onoff_353067
0001: wait 100 ms
0AB2: ret 0

:onoff_353269
0063: 0@ -= 2@ // (float)
0063: 1@ -= 3@ // (float)
0604: get_Z_angle_for_point 0@ 1@ store_to 4@
0173: set_actor $0[3] Z_angle_to 4@
0AB2: ret 0
0006: 7@ = 0
0006: 8@ = 0
00D6: if
8AAB:   not file_exists "SAMPFUNCS.asi"
004D: jump_if_false @onoff_353371
0AB1: call_scm_func @onoff_519 0 7@
0002: jump @onoff_353527

:onoff_353371
00D6: if
0A9A: 1@ = openfile "SAMPFUNCS.asi" mode "rt" // IF and SET
004D: jump_if_false @onoff_353527
0A9C: 0@ = file 1@ size
00D6: if
8039:   not  0@ == 215552
004D: jump_if_false @onoff_353527

:onoff_353435
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @onoff_353435
0AF8: samp add_message_to_chat "[SR_team]: {ffffff}Unknown version SF detected. Please delete there" color 4521796
004E: end_thread

:onoff_353527
00D6: if or
8AAB:   not file_exists "CLEO\mgafuncs4_3Impossible.dlc"
8AAB:   not file_exists "CLEO\mgafuncs4_3Impossible.cleo"
004D: jump_if_false @onoff_353627
0AB1: call_scm_func @onoff_773 0 8@
0002: jump @onoff_353801

:onoff_353627
00D6: if
0A9A: 1@ = openfile "CLEO\mgafuncs4_3Impossible.dlc" mode "rt" // IF and SET
004D: jump_if_false @onoff_353801
0A9C: 0@ = file 1@ size
00D6: if
8039:   not  0@ == 232448
004D: jump_if_false @onoff_353801

:onoff_353708
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @onoff_353708
0AF8: samp add_message_to_chat "[SR_team]: {ffffff}Unknown version MGF detected. Please delete there" color 4521796
004E: end_thread

:onoff_353801
00D6: if or
0039:   7@ == 1
0039:   8@ == 1
004D: jump_if_false @onoff_353844
0AA5: call 8535003 num_params 3 pop 3 0 0 0

:onoff_353844
0AB2: ret 0
0085: 9@ = 1@ // (int)
0B85: dialog 0@ get_position_to 1@ 2@ size_to 3@ 4@
00D6: if
0AB1: call_scm_func @onoff_353993 4 1@ 2@ 3@ 9@ 7@ 8@
004D: jump_if_false @onoff_353988

:onoff_353913
003D:
0B5E: get_cursor_pos 5@ 6@
0062: 5@ -= 7@ // (int)
0062: 6@ -= 8@ // (int)
0B84: dialog 0@ set_pos_XY 5@ 6@ size 3@ 4@
0AB1: call_scm_func @onoff_354140 1 0@
8AB0:   not key_pressed 9@
004D: jump_if_false @onoff_353913
0BA1: dialog 0@ set_minimized 0

:onoff_353988
0AB2: ret 0

:onoff_353993
0085: 6@ = 3@ // (int)
0085: 4@ = 0@ // (int)
0085: 5@ = 1@ // (int)
005A: 4@ += 2@ // (int)
000A: 5@ += 15
0B5E: get_cursor_pos 2@ 3@
00D6: if and
0AB0:   key_pressed 6@
002D:   2@ >= 0@ // (int)
801D:   not  2@ > 4@ // (int)
002D:   3@ >= 1@ // (int)
801D:   not  3@ > 5@ // (int)
004D: jump_if_false @onoff_354113
0485:   return_true
0062: 2@ -= 0@ // (int)
0062: 3@ -= 1@ // (int)
0002: jump @onoff_354129

:onoff_354113
059A:   return_false
0006: 2@ = -1
0006: 3@ = -1

:onoff_354129
0AB2: ret 2 2@ 3@

:onoff_354140
0B85: dialog 0@ get_position_to 1@ 2@ size_to 3@ 4@
0B5A: get_screen_resolution 5@ 6@
0062: 5@ -= 3@ // (int)
0062: 6@ -= 4@ // (int)
00D6: if
8029:   not  1@ >= 0
004D: jump_if_false @onoff_354206
0006: 1@ = 0

:onoff_354206
00D6: if
8029:   not  2@ >= 0
004D: jump_if_false @onoff_354231
0006: 2@ = 0

:onoff_354231
00D6: if
001D:   1@ > 5@ // (int)
004D: jump_if_false @onoff_354258
0085: 1@ = 5@ // (int)

:onoff_354258
00D6: if
001D:   2@ > 6@ // (int)
004D: jump_if_false @onoff_354285
0085: 2@ = 6@ // (int)

:onoff_354285
0B84: dialog 0@ set_pos_XY 1@ 2@ size 3@ 4@
0AB2: ret 0
0AB1: call_scm_func @onoff_104 0 10@
0A8E: 9@ = 10@ + 2173548 // int
0A8D: 11@ = read_memory 9@ size 4 virtual_protect 1
0A8E: 9@ = 10@ + 500976 // int
0AA6: call_method 9@ struct 11@ num_params 5 pop 0 0 1@ 0 0@ 8
0AB2: ret 0
0AC8: 1@ = allocate_memory_size 16
0AA6: call_method 5882848 struct 1@ num_params 1 pop 0 0@
0C0C: 10@ = struct 1@ offset 12 size 4
0C0C: 11@ = struct 1@ offset 0 size 4
0C0C: 12@ = struct 1@ offset 4 size 4
0C0C: 13@ = struct 1@ offset 8 size 4
0AC9: free_allocated_memory 1@
0AB2: ret 4 10@ 11@ 12@ 13@
0A9F: 32@ = current_thread_pointer
000A: 32@ += 16
0A8D: 32@ = read_memory 32@ size 4 virtual_protect 0
0062: 32@ -= 0@ // (int)
0AA7: call_function 4607008 num_params 1 pop 1 32@ 33@
005A: 32@ += 0@ // (int)
000A: 33@ += 16
0A8C: write_memory 33@ size 4 value 32@ virtual_protect 0
000A: 33@ += 44
0006: 32@ = 0

:onoff_354574
0A8C: write_memory 33@ size 4 value 1@(32@,30i) virtual_protect 0
000A: 33@ += 4
000A: 32@ += 1
0019:   32@ > 30
004D: jump_if_false @onoff_354574
0AB2: ret 0
00D6: if
0AB1: call_scm_func @onoff_352520 0 5@
004D: jump_if_false @onoff_354735
000A: 5@ += 15
0012: 5@ *= 2
000E: 5@ -= 7
00D6: if
8029:   not  5@ >= 0
004D: jump_if_false @onoff_354693
0012: 5@ *= -1

:onoff_354693
00D6: if
0039:   5@ == 1820037125
004D: jump_if_false @onoff_354728
0AB2: ret 0 1
0002: jump @onoff_354735

:onoff_354728
0AB2: ret 0 0

:onoff_354735
0AB2: ret 0

:onoff_354740
00D6: if
8AAB:   not file_exists "CLEO\scripts.ini"
004D: jump_if_false @onoff_354847
0AF1: write_int 123 to_ini_file "CLEO\scripts.ini" section "OnOff" key "Key"
0AF1: write_int 1 to_ini_file "CLEO\scripts.ini" section "OnOff" key "LazyLoading"

:onoff_354847
003D:
0AFA:  is_samp_available
004D: jump_if_false @onoff_354847
0AF0: 4@ = get_int_from_ini_file "CLEO\scripts.ini" section "OnOff" key "LazyLoading"
00D6: if
0039:   4@ == 1
004D: jump_if_false @onoff_354966
0AB1: call_scm_func @onoff_355328 0

:onoff_354929
003D:
0B61:  samp is_local_player_spawned
004D: jump_if_false @onoff_354929

:onoff_354940
0001: wait 500 ms
8B4C:   not samp is_dialog_active -1
004D: jump_if_false @onoff_354940
0AB1: call_scm_func @onoff_355553 0

:onoff_354966
0AB1: call_scm_func @onoff_405 0
0AF8: samp add_message_to_chat "[On%cOff scripts]: {ffffff}Автор {FF4444}SR_team{ffffff}. Идею подал {FF4444}Dark_Knight" color 4474111 47
0AF8: samp add_message_to_chat "Prime-Hack.ru{ffffff}, {4444ff}BlastHack.net{ffb285} - сайты для настоящих читеров!" color 4521796
0006: 3@ = 0

:onoff_355176
003D:
0AF0: 4@ = get_int_from_ini_file "CLEO\scripts.ini" section "OnOff" key "Key"
00D6: if and
0039:   3@ == 0
0AB0:   key_pressed 4@
004D: jump_if_false @onoff_355267

:onoff_355236
003D:
8AB0:   not key_pressed 4@
004D: jump_if_false @onoff_355236
0006: 3@ = 1
0AB1: call_scm_func @onoff_355328 0

:onoff_355267
00D6: if and
0039:   3@ == 1
0AB0:   key_pressed 4@
004D: jump_if_false @onoff_355321

:onoff_355290
003D:
8AB0:   not key_pressed 4@
004D: jump_if_false @onoff_355290
0006: 3@ = 0
0AB1: call_scm_func @onoff_355553 0

:onoff_355321
0002: jump @onoff_355176

:onoff_355328
0006: 0@ = 11056172

:onoff_355338
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
00D6: if
8039:   not  0@ == 0
004D: jump_if_false @onoff_355459
00D6: if and
8019:   not  0@ > 11077680
0029:   0@ >= 11056176
004D: jump_if_false @onoff_355406
0002: jump @onoff_355338

:onoff_355406
0085: 1@ = 0@ // (int)
000A: 1@ += 8
00D6: if
8C18:   not 2@ = strstr string1 "onoff" string2 1@
004D: jump_if_false @onoff_355452


:onoff_355452
0002: jump @onoff_355338

:onoff_355459
0AA2: 31@ = load_library "kernel32.dll" // IF and SET
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@ // IF and SET
0AA7: call_function 30@ num_params 1 pop 0 "CLEO.asi" 0@
000A: 0@ += 274772
0A8C: write_memory 0@ size 4 value 0 virtual_protect 0
0AB2: ret 0

:onoff_355553
0AC8: 10@ = allocate_memory_size 128
0AC8: 13@ = allocate_memory_size 128
0AC8: 12@ = allocate_memory_size 128
0AD3: 12@ = format "CLEO"
0AD3: 13@ = format "%s\*.cs" 12@
00D6: if
0AE6: 31@ = find_first_file 13@ get_filename_to 12@ // IF and SET
004D: jump_if_false @onoff_355708

:onoff_355629
0001: wait 0 ms
0AD3: 10@ = format "CLEO\%s" 12@
00D6: if and
8C18:   not 14@ = strstr string1 12@ string2 "scripts.cs"
0AAB:   file_exists 10@
004D: jump_if_false @onoff_355693
0A92: create_custom_thread 12@

:onoff_355693
8AE7:   not 12@ = find_next_file 31@ /a/ IF and SET
004D: jump_if_false @onoff_355629

:onoff_355708
0AC9: free_allocated_memory 10@
0AC9: free_allocated_memory 13@
0AC9: free_allocated_memory 12@
0AB2: ret 0
нет там стилера, только стандартный include на 400кб, да и тот без стилера. И сурс скрипта я неоднократно кидал в чате prime-hack.net/Screens/scripts.txt
 
Статус
В этой теме нельзя размещать новые ответы.