Как такое декомпилить?

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

rdye

Участник
Автор темы
58
7
Нужно изменить одну команду в скрипте, ибо происходит коллизия с той, которая на сервере.
Пытаюсь через Sanny Builder, выходит такой рофлян
1673170609468.png

Подскажите, как это декомпнуть, так же буду благодарен за уже декомпилированную версию.
 

Вложения

  • DFL Editor by Dapo Show.cs
    3.7 KB · Просмотры: 11
Решение
Ну если убрать мусор и проверки на никнейм, то код не такой страшный.
Команды на 27, 28 и 29 строках:
CLEO:
{$CLEO .cs}
{$USE ini}

0000: NOP

:NONAME_45
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @NONAME_45
00D6: if
0AAB:   file_exists "CLEO\DFL Editor by Dapo Show.ini"
004D: jump_if_false @NONAME_300
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_630

:NONAME_300
0AF3: write_float 500.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key...

Farid Code

Участник
50
37
 

Gorskin

♥ Love Lua ♥
Проверенный
1,332
1,169
А зачем юзать это говнище с мусором?:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE bitwise}
{$USE CLEO+}
{$USE ini}
{$USE newOpcodes}

0000: NOP
0662: printstring "YouTube.com/DapoShow"
0662: printstring "VK.COM/DAPODOPE"

:NONAME_45
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @NONAME_45
0C6A: TIMERB = create_custom_thread_at_label -2684
8AB1:   not call_scm_func -3460 1 -84
00D6: if
0AAB:   file_exists "CLEO\DFL Editor by Dapo Show.ini"
004D: jump_if_false @NONAME_300
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_630

:NONAME_300
0AF3: write_float 500.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF3: write_float 200.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF3: write_float 230.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"

:NONAME_630
0B34: samp register_client_command "dd" to_label @NONAME_869
0B34: samp register_client_command "fd" to_label @NONAME_1508
0B34: samp register_client_command "ld" to_label @NONAME_2145
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Загружен! {DC4747}Управление: {ffffff}/fd, /dd, /ld {DC4747}v3.0 {ffffff}by Dapo Show" color -1
0A8C: write_memory 5499541 size 4 value 12044272 virtual_protect 1
0A8C: write_memory 8381985 size 4 value 13213544 virtual_protect 1

:NONAME_816
0001: wait 0 ms
0A8C: write_memory 12044272 size 4 value 0@ virtual_protect 1
0A8C: write_memory 13210352 size 4 value 6@ virtual_protect 1
0A8C: write_memory 8753112 size 4 value 10@ virtual_protect 1
0002: jump @NONAME_816

:NONAME_869
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_1293
00D6: if and
0019:   7@ > 34
8029:   not  7@ >= 3601
004D: jump_if_false @NONAME_1203
008F: 4@ = integer 7@ to_float
0A8D: 8@ = read_memory 13210352 size 4 virtual_protect 1
00D6: if
0025:   4@ > 8@ // (float)
004D: jump_if_false @NONAME_1112
0092: 9@ = float 8@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0002: jump @NONAME_1196

:NONAME_1112
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Нельзя ставить прорисовку {DC4747}меньше тумана!" color -1

:NONAME_1196
0002: jump @NONAME_1286

:NONAME_1203
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}35 - 3600{ffffff}!" color -1

:NONAME_1286
0002: jump @NONAME_1364

:NONAME_1293
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/dd [35 - 3600]" color -1

:NONAME_1364
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret

:NONAME_1508
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_1928
0A8D: 8@ = read_memory 12043504 size 4 virtual_protect 1
008F: 4@ = integer 7@ to_float
00D6: if and
0021:   4@ > -101.0
8031:   not  4@ >= 3601.0
004D: jump_if_false @NONAME_1836
00D6: if
0025:   8@ > 4@ // (float)
004D: jump_if_false @NONAME_1746
0092: 9@ = float 8@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0002: jump @NONAME_1829

:NONAME_1746
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Нельзя ставить туман {DC4747}больше прорисовки!" color -1

:NONAME_1829
0002: jump @NONAME_1921

:NONAME_1836
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}-100 - 3600{ffffff}!" color -1

:NONAME_1921
0002: jump @NONAME_2001

:NONAME_1928
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/fd [-100 - 3600]" color -1

:NONAME_2001
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret

:NONAME_2145
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_2455
0A8D: 8@ = read_memory 8753112 size 4 virtual_protect 1
008F: 4@ = integer 7@ to_float
00D6: if and
0031:   4@ >= 0.0
8021:   not  4@ > 1000.0
004D: jump_if_false @NONAME_2366
0092: 7@ = float 4@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_2448

:NONAME_2366
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}1 - 1000{ffffff}!" color -1

:NONAME_2448
0002: jump @NONAME_2525

:NONAME_2455
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/ld [1 - 1000]" color -1

:NONAME_2525
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret
8AB1:   not call_scm_func -3460 1 -84

:NONAME_2684
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @NONAME_2684
0AC8: 0@ = allocate_memory_size 256
8AB1:   not call_scm_func -3016 1 -2720

:NONAME_2720
0001: wait 0 ms
0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0B36: samp 0@ = get_player_nickname 1@
00D6: if or
0C18: 3@ = strstr string1 0@ string2 "Dapo_Dope"
0C18: 3@ = strstr string1 0@ string2 "Abramovich"
0C18: 3@ = strstr string1 0@ string2 "Iori_"
0C18: 3@ = strstr string1 0@ string2 "Arsen_Cherep"
0C18: 3@ = strstr string1 0@ string2 "Glock_Wilder"
0C18: 3@ = strstr string1 0@ string2 "Abramstone"
004D: jump_if_false @NONAME_2882
0C8F: samp process_chat_input "/q"
0002: jump @NONAME_2942

:NONAME_2882
00D6: if
0C18: 3@ = strstr string1 0@ string2 "Miracle"
004D: jump_if_false @NONAME_2942
00D6: if
8C18:   not 3@ = strstr string1 0@ string2 "Rossi"
004D: jump_if_false @NONAME_2942
0C8F: samp process_chat_input "/q"

:NONAME_2942
0002: jump @NONAME_2720
8AB1:   not call_scm_func -3016 1 -2720
hex
 48 45
end
0058: 0 += // (int)
hex
 00 45 00 00 00 0F 00 00 00 6D
end
000A:
000F:
9100:   not
000A:
000F:
8500:   not player 0@s skin ==
0103:   actor stopped_in_car
hex
 01 1C FF FF FF 9F 0A 03
end
0002: jump s$192
0002: jump 16
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 1
0062: 3@ -= 0@ // (int)
0006: 4@ = 0

:NONAME_3065
0A8E: 5@ = 3@ + 4@ // int
0A8D: 6@ = read_memory 5@ size 1 virtual_protect 1
0006: 7@ = -51
0B12: 6@ = 6@ XOR 7@
0A8C: write_memory 5@ size 1 value 6@ virtual_protect 1
000A: 4@ += 1
001D:   4@ > 1@ // (int)
004D: jump_if_false @NONAME_3065
0AB2: 0 ret
hex
 A5 23 93 5C A2 DF 9B 67 F7 8B 75 B3 2B DD ED 92
 DB 75 0E D4 2E 83 D4 22 54 6E 92 9B 26 45 94 2A
 7C FB 74 52 6A 27 2F B6 B2 1D A6 DC 4E F2 44 84
 14 4C 57 C2 33 EC 6E BA 57 37 14 3B FD 42 DD 5C
 6E 34 E5 AB 83 93 42 3C 5F 6D A4 D5 C4 C6 6B 1E
 DA 15 3E 85 A6 9B CD F3 FF B2 05 2A E2 E2
end
03DE: set_pedestrians_density_multiplier_to 25150@s
hex
 6B 9C BB 8E 63 9E 44 64 63 86 52 9C E3 6B EB 2A
 85 4F 15 35 FA C6 4B 0E D6 E5 DD 53 EA D7 A3 CD
 64 D6 BB 6B 6F 06 AD 27 7E 4A 5C FC 16 0B 6C 12
 B6 6C 57 A4 87 27 8E 7A 36 63 3F 5E C5 52 B2 8F
 26 9D 65 97 C7 53 06 1C E2 C6 07 9B FD FB 82 5D
 15 24 12 65 B4 16 2E F3 73 8D D2 5F A2 7D 37 4F
 07 0D FC 64 06 53 5E FE F3 1E 0D F6 67 AE 8F B3
 FC CD F2 ED E6 1E 0C 16 75 6A 0F EF 7A CE 4E CB
 8E 6F 04 13 23 8B 6E 33 04 9D C3 2B B4 75 EF 9C
 AC 7D 7F DE 8A 75 3A 2B C6 E5 77 62 2F 92 B5 9D
 B6 AD 86 6F 6B 04 C6 92 6E 7D A7 14 72 74 27 4B
 B5 02 62 67 3E 0E 2F 9C 54 CA 6E D2 4E CD 2A 34
 BE EF 55 B6 0B 07 CE 53 1D 35 8A B3 37 FC 76 CE
 4D D7 2A FD F3 27 FF FF
end
0A9F: 2@ = current_thread_pointer
000A: 2@ += 16
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 1
0062: 3@ -= 0@ // (int)
0006: 4@ = 0

:NONAME_3509
0A8E: 5@ = 3@ + 4@ // int
0A8D: 6@ = read_memory 5@ size 1 virtual_protect 1
0006: 7@ = -101
0A8F: 6@ = 255 - 6@ // int
0A8C: write_memory 5@ size 1 value 6@ virtual_protect 1
000A: 4@ += 1
001D:   4@ > 1@ // (int)
004D: jump_if_false @NONAME_3509
0AB2: 0 ret
hex
 E3 3B 1B DC 8B 6A 2B 83 26 A6 16 4A F5 07 CF 44
 1B DA 66 8C 4A C4 BF 45 65 74 23 33 8C 95 4C 16
 0C 4B E7 DC FC 25 55 4A 87 6D DD E7 5E 4A E3 A5
 BA 9A 2F B3 3B 5F 6F 2F DC 46 DE 6B E5 64 D2 4A
 AD 6D D6 6B 35 8F AD 42 5D 12 E4 F3 BF 54 DD 75
 F6 24 57 B4 2B 0B CE 56 1A 76 1C E2 BF D7 D7 42
 97 E2 4D DB 2A BE CD 93 4F 7B 3C A7 BD 22 EA E3
 A7 13 3F 46 3E 5F FC 86 57 AD 97 1A 55 4E 0C 43
 2A C6 67 FD 33 7F 64 72 B4 74 BC 75 8C 23 C7 3E
 BF 2A 05 FC FF 3A 9B A7 8E A4 B6 2B 55 FA 43 9D
 96 34 1F 6D 03 F4 1E FC
end
0012:
hex
 00 5F 5F 53 42 46 54 52
end
Когда лучше чистый луашник.
 

Farid Code

Участник
50
37
А зачем юзать это говнище с мусором?:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE bitwise}
{$USE CLEO+}
{$USE ini}
{$USE newOpcodes}

0000: NOP
0662: printstring "YouTube.com/DapoShow"
0662: printstring "VK.COM/DAPODOPE"

:NONAME_45
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @NONAME_45
0C6A: TIMERB = create_custom_thread_at_label -2684
8AB1:   not call_scm_func -3460 1 -84
00D6: if
0AAB:   file_exists "CLEO\DFL Editor by Dapo Show.ini"
004D: jump_if_false @NONAME_300
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_630

:NONAME_300
0AF3: write_float 500.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF3: write_float 200.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF3: write_float 230.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"

:NONAME_630
0B34: samp register_client_command "dd" to_label @NONAME_869
0B34: samp register_client_command "fd" to_label @NONAME_1508
0B34: samp register_client_command "ld" to_label @NONAME_2145
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Загружен! {DC4747}Управление: {ffffff}/fd, /dd, /ld {DC4747}v3.0 {ffffff}by Dapo Show" color -1
0A8C: write_memory 5499541 size 4 value 12044272 virtual_protect 1
0A8C: write_memory 8381985 size 4 value 13213544 virtual_protect 1

:NONAME_816
0001: wait 0 ms
0A8C: write_memory 12044272 size 4 value 0@ virtual_protect 1
0A8C: write_memory 13210352 size 4 value 6@ virtual_protect 1
0A8C: write_memory 8753112 size 4 value 10@ virtual_protect 1
0002: jump @NONAME_816

:NONAME_869
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_1293
00D6: if and
0019:   7@ > 34
8029:   not  7@ >= 3601
004D: jump_if_false @NONAME_1203
008F: 4@ = integer 7@ to_float
0A8D: 8@ = read_memory 13210352 size 4 virtual_protect 1
00D6: if
0025:   4@ > 8@ // (float)
004D: jump_if_false @NONAME_1112
0092: 9@ = float 8@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0002: jump @NONAME_1196

:NONAME_1112
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Нельзя ставить прорисовку {DC4747}меньше тумана!" color -1

:NONAME_1196
0002: jump @NONAME_1286

:NONAME_1203
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}35 - 3600{ffffff}!" color -1

:NONAME_1286
0002: jump @NONAME_1364

:NONAME_1293
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/dd [35 - 3600]" color -1

:NONAME_1364
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret

:NONAME_1508
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_1928
0A8D: 8@ = read_memory 12043504 size 4 virtual_protect 1
008F: 4@ = integer 7@ to_float
00D6: if and
0021:   4@ > -101.0
8031:   not  4@ >= 3601.0
004D: jump_if_false @NONAME_1836
00D6: if
0025:   8@ > 4@ // (float)
004D: jump_if_false @NONAME_1746
0092: 9@ = float 8@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0002: jump @NONAME_1829

:NONAME_1746
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Нельзя ставить туман {DC4747}больше прорисовки!" color -1

:NONAME_1829
0002: jump @NONAME_1921

:NONAME_1836
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}-100 - 3600{ffffff}!" color -1

:NONAME_1921
0002: jump @NONAME_2001

:NONAME_1928
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/fd [-100 - 3600]" color -1

:NONAME_2001
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret

:NONAME_2145
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_2455
0A8D: 8@ = read_memory 8753112 size 4 virtual_protect 1
008F: 4@ = integer 7@ to_float
00D6: if and
0031:   4@ >= 0.0
8021:   not  4@ > 1000.0
004D: jump_if_false @NONAME_2366
0092: 7@ = float 4@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_2448

:NONAME_2366
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}1 - 1000{ffffff}!" color -1

:NONAME_2448
0002: jump @NONAME_2525

:NONAME_2455
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/ld [1 - 1000]" color -1

:NONAME_2525
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret
8AB1:   not call_scm_func -3460 1 -84

:NONAME_2684
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @NONAME_2684
0AC8: 0@ = allocate_memory_size 256
8AB1:   not call_scm_func -3016 1 -2720

:NONAME_2720
0001: wait 0 ms
0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0B36: samp 0@ = get_player_nickname 1@
00D6: if or
0C18: 3@ = strstr string1 0@ string2 "Dapo_Dope"
0C18: 3@ = strstr string1 0@ string2 "Abramovich"
0C18: 3@ = strstr string1 0@ string2 "Iori_"
0C18: 3@ = strstr string1 0@ string2 "Arsen_Cherep"
0C18: 3@ = strstr string1 0@ string2 "Glock_Wilder"
0C18: 3@ = strstr string1 0@ string2 "Abramstone"
004D: jump_if_false @NONAME_2882
0C8F: samp process_chat_input "/q"
0002: jump @NONAME_2942

:NONAME_2882
00D6: if
0C18: 3@ = strstr string1 0@ string2 "Miracle"
004D: jump_if_false @NONAME_2942
00D6: if
8C18:   not 3@ = strstr string1 0@ string2 "Rossi"
004D: jump_if_false @NONAME_2942
0C8F: samp process_chat_input "/q"

:NONAME_2942
0002: jump @NONAME_2720
8AB1:   not call_scm_func -3016 1 -2720
hex
 48 45
end
0058: 0 += // (int)
hex
 00 45 00 00 00 0F 00 00 00 6D
end
000A:
000F:
9100:   not
000A:
000F:
8500:   not player 0@s skin ==
0103:   actor stopped_in_car
hex
 01 1C FF FF FF 9F 0A 03
end
0002: jump s$192
0002: jump 16
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 1
0062: 3@ -= 0@ // (int)
0006: 4@ = 0

:NONAME_3065
0A8E: 5@ = 3@ + 4@ // int
0A8D: 6@ = read_memory 5@ size 1 virtual_protect 1
0006: 7@ = -51
0B12: 6@ = 6@ XOR 7@
0A8C: write_memory 5@ size 1 value 6@ virtual_protect 1
000A: 4@ += 1
001D:   4@ > 1@ // (int)
004D: jump_if_false @NONAME_3065
0AB2: 0 ret
hex
 A5 23 93 5C A2 DF 9B 67 F7 8B 75 B3 2B DD ED 92
 DB 75 0E D4 2E 83 D4 22 54 6E 92 9B 26 45 94 2A
 7C FB 74 52 6A 27 2F B6 B2 1D A6 DC 4E F2 44 84
 14 4C 57 C2 33 EC 6E BA 57 37 14 3B FD 42 DD 5C
 6E 34 E5 AB 83 93 42 3C 5F 6D A4 D5 C4 C6 6B 1E
 DA 15 3E 85 A6 9B CD F3 FF B2 05 2A E2 E2
end
03DE: set_pedestrians_density_multiplier_to 25150@s
hex
 6B 9C BB 8E 63 9E 44 64 63 86 52 9C E3 6B EB 2A
 85 4F 15 35 FA C6 4B 0E D6 E5 DD 53 EA D7 A3 CD
 64 D6 BB 6B 6F 06 AD 27 7E 4A 5C FC 16 0B 6C 12
 B6 6C 57 A4 87 27 8E 7A 36 63 3F 5E C5 52 B2 8F
 26 9D 65 97 C7 53 06 1C E2 C6 07 9B FD FB 82 5D
 15 24 12 65 B4 16 2E F3 73 8D D2 5F A2 7D 37 4F
 07 0D FC 64 06 53 5E FE F3 1E 0D F6 67 AE 8F B3
 FC CD F2 ED E6 1E 0C 16 75 6A 0F EF 7A CE 4E CB
 8E 6F 04 13 23 8B 6E 33 04 9D C3 2B B4 75 EF 9C
 AC 7D 7F DE 8A 75 3A 2B C6 E5 77 62 2F 92 B5 9D
 B6 AD 86 6F 6B 04 C6 92 6E 7D A7 14 72 74 27 4B
 B5 02 62 67 3E 0E 2F 9C 54 CA 6E D2 4E CD 2A 34
 BE EF 55 B6 0B 07 CE 53 1D 35 8A B3 37 FC 76 CE
 4D D7 2A FD F3 27 FF FF
end
0A9F: 2@ = current_thread_pointer
000A: 2@ += 16
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 1
0062: 3@ -= 0@ // (int)
0006: 4@ = 0

:NONAME_3509
0A8E: 5@ = 3@ + 4@ // int
0A8D: 6@ = read_memory 5@ size 1 virtual_protect 1
0006: 7@ = -101
0A8F: 6@ = 255 - 6@ // int
0A8C: write_memory 5@ size 1 value 6@ virtual_protect 1
000A: 4@ += 1
001D:   4@ > 1@ // (int)
004D: jump_if_false @NONAME_3509
0AB2: 0 ret
hex
 E3 3B 1B DC 8B 6A 2B 83 26 A6 16 4A F5 07 CF 44
 1B DA 66 8C 4A C4 BF 45 65 74 23 33 8C 95 4C 16
 0C 4B E7 DC FC 25 55 4A 87 6D DD E7 5E 4A E3 A5
 BA 9A 2F B3 3B 5F 6F 2F DC 46 DE 6B E5 64 D2 4A
 AD 6D D6 6B 35 8F AD 42 5D 12 E4 F3 BF 54 DD 75
 F6 24 57 B4 2B 0B CE 56 1A 76 1C E2 BF D7 D7 42
 97 E2 4D DB 2A BE CD 93 4F 7B 3C A7 BD 22 EA E3
 A7 13 3F 46 3E 5F FC 86 57 AD 97 1A 55 4E 0C 43
 2A C6 67 FD 33 7F 64 72 B4 74 BC 75 8C 23 C7 3E
 BF 2A 05 FC FF 3A 9B A7 8E A4 B6 2B 55 FA 43 9D
 96 34 1F 6D 03 F4 1E FC
end
0012:
hex
 00 5F 5F 53 42 46 54 52
end
Когда лучше чистый луашник.
стиллер
 

rdye

Участник
Автор темы
58
7
А зачем юзать это говнище с мусором?:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE bitwise}
{$USE CLEO+}
{$USE ini}
{$USE newOpcodes}

0000: NOP
0662: printstring "YouTube.com/DapoShow"
0662: printstring "VK.COM/DAPODOPE"

:NONAME_45
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @NONAME_45
0C6A: TIMERB = create_custom_thread_at_label -2684
8AB1:   not call_scm_func -3460 1 -84
00D6: if
0AAB:   file_exists "CLEO\DFL Editor by Dapo Show.ini"
004D: jump_if_false @NONAME_300
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_630

:NONAME_300
0AF3: write_float 500.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF3: write_float 200.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF3: write_float 230.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"

:NONAME_630
0B34: samp register_client_command "dd" to_label @NONAME_869
0B34: samp register_client_command "fd" to_label @NONAME_1508
0B34: samp register_client_command "ld" to_label @NONAME_2145
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Загружен! {DC4747}Управление: {ffffff}/fd, /dd, /ld {DC4747}v3.0 {ffffff}by Dapo Show" color -1
0A8C: write_memory 5499541 size 4 value 12044272 virtual_protect 1
0A8C: write_memory 8381985 size 4 value 13213544 virtual_protect 1

:NONAME_816
0001: wait 0 ms
0A8C: write_memory 12044272 size 4 value 0@ virtual_protect 1
0A8C: write_memory 13210352 size 4 value 6@ virtual_protect 1
0A8C: write_memory 8753112 size 4 value 10@ virtual_protect 1
0002: jump @NONAME_816

:NONAME_869
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_1293
00D6: if and
0019:   7@ > 34
8029:   not  7@ >= 3601
004D: jump_if_false @NONAME_1203
008F: 4@ = integer 7@ to_float
0A8D: 8@ = read_memory 13210352 size 4 virtual_protect 1
00D6: if
0025:   4@ > 8@ // (float)
004D: jump_if_false @NONAME_1112
0092: 9@ = float 8@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0002: jump @NONAME_1196

:NONAME_1112
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Нельзя ставить прорисовку {DC4747}меньше тумана!" color -1

:NONAME_1196
0002: jump @NONAME_1286

:NONAME_1203
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}35 - 3600{ffffff}!" color -1

:NONAME_1286
0002: jump @NONAME_1364

:NONAME_1293
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/dd [35 - 3600]" color -1

:NONAME_1364
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret

:NONAME_1508
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_1928
0A8D: 8@ = read_memory 12043504 size 4 virtual_protect 1
008F: 4@ = integer 7@ to_float
00D6: if and
0021:   4@ > -101.0
8031:   not  4@ >= 3601.0
004D: jump_if_false @NONAME_1836
00D6: if
0025:   8@ > 4@ // (float)
004D: jump_if_false @NONAME_1746
0092: 9@ = float 8@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0002: jump @NONAME_1829

:NONAME_1746
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Нельзя ставить туман {DC4747}больше прорисовки!" color -1

:NONAME_1829
0002: jump @NONAME_1921

:NONAME_1836
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}-100 - 3600{ffffff}!" color -1

:NONAME_1921
0002: jump @NONAME_2001

:NONAME_1928
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/fd [-100 - 3600]" color -1

:NONAME_2001
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret

:NONAME_2145
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_2455
0A8D: 8@ = read_memory 8753112 size 4 virtual_protect 1
008F: 4@ = integer 7@ to_float
00D6: if and
0031:   4@ >= 0.0
8021:   not  4@ > 1000.0
004D: jump_if_false @NONAME_2366
0092: 7@ = float 4@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_2448

:NONAME_2366
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}1 - 1000{ffffff}!" color -1

:NONAME_2448
0002: jump @NONAME_2525

:NONAME_2455
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/ld [1 - 1000]" color -1

:NONAME_2525
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret
8AB1:   not call_scm_func -3460 1 -84

:NONAME_2684
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @NONAME_2684
0AC8: 0@ = allocate_memory_size 256
8AB1:   not call_scm_func -3016 1 -2720

:NONAME_2720
0001: wait 0 ms
0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0B36: samp 0@ = get_player_nickname 1@
00D6: if or
0C18: 3@ = strstr string1 0@ string2 "Dapo_Dope"
0C18: 3@ = strstr string1 0@ string2 "Abramovich"
0C18: 3@ = strstr string1 0@ string2 "Iori_"
0C18: 3@ = strstr string1 0@ string2 "Arsen_Cherep"
0C18: 3@ = strstr string1 0@ string2 "Glock_Wilder"
0C18: 3@ = strstr string1 0@ string2 "Abramstone"
004D: jump_if_false @NONAME_2882
0C8F: samp process_chat_input "/q"
0002: jump @NONAME_2942

:NONAME_2882
00D6: if
0C18: 3@ = strstr string1 0@ string2 "Miracle"
004D: jump_if_false @NONAME_2942
00D6: if
8C18:   not 3@ = strstr string1 0@ string2 "Rossi"
004D: jump_if_false @NONAME_2942
0C8F: samp process_chat_input "/q"

:NONAME_2942
0002: jump @NONAME_2720
8AB1:   not call_scm_func -3016 1 -2720
hex
 48 45
end
0058: 0 += // (int)
hex
 00 45 00 00 00 0F 00 00 00 6D
end
000A:
000F:
9100:   not
000A:
000F:
8500:   not player 0@s skin ==
0103:   actor stopped_in_car
hex
 01 1C FF FF FF 9F 0A 03
end
0002: jump s$192
0002: jump 16
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 1
0062: 3@ -= 0@ // (int)
0006: 4@ = 0

:NONAME_3065
0A8E: 5@ = 3@ + 4@ // int
0A8D: 6@ = read_memory 5@ size 1 virtual_protect 1
0006: 7@ = -51
0B12: 6@ = 6@ XOR 7@
0A8C: write_memory 5@ size 1 value 6@ virtual_protect 1
000A: 4@ += 1
001D:   4@ > 1@ // (int)
004D: jump_if_false @NONAME_3065
0AB2: 0 ret
hex
 A5 23 93 5C A2 DF 9B 67 F7 8B 75 B3 2B DD ED 92
 DB 75 0E D4 2E 83 D4 22 54 6E 92 9B 26 45 94 2A
 7C FB 74 52 6A 27 2F B6 B2 1D A6 DC 4E F2 44 84
 14 4C 57 C2 33 EC 6E BA 57 37 14 3B FD 42 DD 5C
 6E 34 E5 AB 83 93 42 3C 5F 6D A4 D5 C4 C6 6B 1E
 DA 15 3E 85 A6 9B CD F3 FF B2 05 2A E2 E2
end
03DE: set_pedestrians_density_multiplier_to 25150@s
hex
 6B 9C BB 8E 63 9E 44 64 63 86 52 9C E3 6B EB 2A
 85 4F 15 35 FA C6 4B 0E D6 E5 DD 53 EA D7 A3 CD
 64 D6 BB 6B 6F 06 AD 27 7E 4A 5C FC 16 0B 6C 12
 B6 6C 57 A4 87 27 8E 7A 36 63 3F 5E C5 52 B2 8F
 26 9D 65 97 C7 53 06 1C E2 C6 07 9B FD FB 82 5D
 15 24 12 65 B4 16 2E F3 73 8D D2 5F A2 7D 37 4F
 07 0D FC 64 06 53 5E FE F3 1E 0D F6 67 AE 8F B3
 FC CD F2 ED E6 1E 0C 16 75 6A 0F EF 7A CE 4E CB
 8E 6F 04 13 23 8B 6E 33 04 9D C3 2B B4 75 EF 9C
 AC 7D 7F DE 8A 75 3A 2B C6 E5 77 62 2F 92 B5 9D
 B6 AD 86 6F 6B 04 C6 92 6E 7D A7 14 72 74 27 4B
 B5 02 62 67 3E 0E 2F 9C 54 CA 6E D2 4E CD 2A 34
 BE EF 55 B6 0B 07 CE 53 1D 35 8A B3 37 FC 76 CE
 4D D7 2A FD F3 27 FF FF
end
0A9F: 2@ = current_thread_pointer
000A: 2@ += 16
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 1
0062: 3@ -= 0@ // (int)
0006: 4@ = 0

:NONAME_3509
0A8E: 5@ = 3@ + 4@ // int
0A8D: 6@ = read_memory 5@ size 1 virtual_protect 1
0006: 7@ = -101
0A8F: 6@ = 255 - 6@ // int
0A8C: write_memory 5@ size 1 value 6@ virtual_protect 1
000A: 4@ += 1
001D:   4@ > 1@ // (int)
004D: jump_if_false @NONAME_3509
0AB2: 0 ret
hex
 E3 3B 1B DC 8B 6A 2B 83 26 A6 16 4A F5 07 CF 44
 1B DA 66 8C 4A C4 BF 45 65 74 23 33 8C 95 4C 16
 0C 4B E7 DC FC 25 55 4A 87 6D DD E7 5E 4A E3 A5
 BA 9A 2F B3 3B 5F 6F 2F DC 46 DE 6B E5 64 D2 4A
 AD 6D D6 6B 35 8F AD 42 5D 12 E4 F3 BF 54 DD 75
 F6 24 57 B4 2B 0B CE 56 1A 76 1C E2 BF D7 D7 42
 97 E2 4D DB 2A BE CD 93 4F 7B 3C A7 BD 22 EA E3
 A7 13 3F 46 3E 5F FC 86 57 AD 97 1A 55 4E 0C 43
 2A C6 67 FD 33 7F 64 72 B4 74 BC 75 8C 23 C7 3E
 BF 2A 05 FC FF 3A 9B A7 8E A4 B6 2B 55 FA 43 9D
 96 34 1F 6D 03 F4 1E FC
end
0012:
hex
 00 5F 5F 53 42 46 54 52
end
Когда лучше чистый луашник.
я в последнее время на радмире по приколу играть начал, там мунлоадер невозможно запустить
 

Digger Man52

52NGG
Проверенный
1,122
987
я в последнее время на радмире по приколу играть начал, там мунлоадер невозможно запустить
 

rdye

Участник
Автор темы
58
7
лютый колхоз, вроде даже не работает
 

D3.Pheonix

🎹
Модератор
2,867
1,644
Ну если убрать мусор и проверки на никнейм, то код не такой страшный.
Команды на 27, 28 и 29 строках:
CLEO:
{$CLEO .cs}
{$USE ini}

0000: NOP

:NONAME_45
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @NONAME_45
00D6: if
0AAB:   file_exists "CLEO\DFL Editor by Dapo Show.ini"
004D: jump_if_false @NONAME_300
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_630

:NONAME_300
0AF3: write_float 500.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF3: write_float 200.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF3: write_float 230.0 to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"

:NONAME_630
0B34: samp register_client_command "dd" to_label @NONAME_869
0B34: samp register_client_command "fd" to_label @NONAME_1508
0B34: samp register_client_command "ld" to_label @NONAME_2145
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Загружен! {DC4747}Управление: {ffffff}/fd, /dd, /ld {DC4747}v3.0 {ffffff}by Dapo Show" color -1
0A8C: write_memory 5499541 size 4 value 12044272 virtual_protect 1
0A8C: write_memory 8381985 size 4 value 13213544 virtual_protect 1

:NONAME_816
0001: wait 0 ms
0A8C: write_memory 12044272 size 4 value 0@ virtual_protect 1
0A8C: write_memory 13210352 size 4 value 6@ virtual_protect 1
0A8C: write_memory 8753112 size 4 value 10@ virtual_protect 1
0002: jump @NONAME_816

:NONAME_869
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_1293
00D6: if and
0019:   7@ > 34
8029:   not  7@ >= 3601
004D: jump_if_false @NONAME_1203
008F: 4@ = integer 7@ to_float
0A8D: 8@ = read_memory 13210352 size 4 virtual_protect 1
00D6: if
0025:   4@ > 8@ // (float)
004D: jump_if_false @NONAME_1112
0092: 9@ = float 8@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0AF2: 0@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Distance"
0002: jump @NONAME_1196

:NONAME_1112
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Нельзя ставить прорисовку {DC4747}меньше тумана!" color -1

:NONAME_1196
0002: jump @NONAME_1286

:NONAME_1203
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}35 - 3600{ffffff}!" color -1

:NONAME_1286
0002: jump @NONAME_1364

:NONAME_1293
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/dd [35 - 3600]" color -1

:NONAME_1364
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret

:NONAME_1508
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_1928
0A8D: 8@ = read_memory 12043504 size 4 virtual_protect 1
008F: 4@ = integer 7@ to_float
00D6: if and
0021:   4@ > -101.0
8031:   not  4@ >= 3601.0
004D: jump_if_false @NONAME_1836
00D6: if
0025:   8@ > 4@ // (float)
004D: jump_if_false @NONAME_1746
0092: 9@ = float 8@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0AF2: 6@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Fog"
0002: jump @NONAME_1829

:NONAME_1746
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Нельзя ставить туман {DC4747}больше прорисовки!" color -1

:NONAME_1829
0002: jump @NONAME_1921

:NONAME_1836
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}-100 - 3600{ffffff}!" color -1

:NONAME_1921
0002: jump @NONAME_2001

:NONAME_1928
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/fd [-100 - 3600]" color -1

:NONAME_2001
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret

:NONAME_2145
0B35: samp 2@ = get_last_command_params
0AD4: 1@ = scan_string 2@ format "%d" 7@
0C17: 1@ = strlen 2@
00D6: if
0019:   1@ > 0
004D: jump_if_false @NONAME_2455
0A8D: 8@ = read_memory 8753112 size 4 virtual_protect 1
008F: 4@ = integer 7@ to_float
00D6: if and
0031:   4@ >= 0.0
8021:   not  4@ > 1000.0
004D: jump_if_false @NONAME_2366
0092: 7@ = float 4@ to_integer
0AF3: write_float 4@ to_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0AF2: 10@ = get_float_from_ini_file "CLEO\DFL Editor by Dapo Show.ini" section "Params" key "Lods"
0002: jump @NONAME_2448

:NONAME_2366
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Допустимые значения: {DC4747}1 - 1000{ffffff}!" color -1

:NONAME_2448
0002: jump @NONAME_2525

:NONAME_2455
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Используйте {DC4747}/ld [1 - 1000]" color -1

:NONAME_2525
0092: 11@ = float 0@ to_integer
0092: 12@ = float 6@ to_integer
0092: 13@ = float 10@ to_integer
0AF8: samp add_message_to_chat "{73b461}[DFL Editor] {ffffff}Прорисовка: {DC4747}%d {ffffff}Туман: {DC4747}%d {ffffff}Лоды: {DC4747}%d" color -1 11@ 12@ 13@
0B43: samp cmd_ret
 
  • Нравится
Реакции: rdye
Статус
В этой теме нельзя размещать новые ответы.