Помогите убрать колизию в скрипте

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

Artsug

Известный
Автор темы
240
57
Вообщем кто помнит Универсального бота для ТС 1.1 Мне нужно убрать из него коллизию иначе жестоко палится , не надо мне скидывать новых ботов , они не стоят более 5 сек на одном месте
Вот скрипт :

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

//-------------MAIN---------------
{0} 0000: NOP
{2} wait 0
{6} gosub @NONAME_1922
{13} 3@ = 0
{20} 0000: NOP
{22} gosub @NONAME_1954

:NONAME_29
{29} wait 0
{33} if and
{37} 0AB0:   key_pressed 67
{41} 0AB0:   key_pressed 81
{45} else_jump @NONAME_29

:NONAME_52
{52} wait 0
{56} if or
{60} 0AB0:   key_pressed 67
{64} 0AB0:   key_pressed 81
{68} else_jump @NONAME_141
{75} jump @NONAME_52
{82} if
{86} 0AE6: 12@ = find_first_file "CLEO\*.mga_path" get_filename_to "CLEO\driver.mga_path" // IF and SET
{130} else_jump @NONAME_869
{137} wait 0

:NONAME_141
{141} if
{145} 0@ = File.Open("CLEO\driver.mga_path", 25202)
{175} else_jump @NONAME_141
{182} 01BD: 9@ = current_time_in_ms
{187} 0ACD: show_text_highpriority "Start playng" time 2500
{206} 3@ = 0

:NONAME_213
{213} wait 0
{217} gosub @NONAME_1749
{224} gosub @NONAME_1976
{231} gosub @NONAME_2126
{238} if and
{242} 0AB0:   key_pressed 67
{246} 0AB0:   key_pressed 81
{250} else_jump @NONAME_264
{257} jump @NONAME_766

:NONAME_264
{264} $PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
{272} if and
{276}    not Actor.Dead($PLAYER_ACTOR)
{281}    Actor.Driving($PLAYER_ACTOR)
{286} else_jump @NONAME_796
{293} 2@ = Actor.CurrentCar($PLAYER_ACTOR)
{301} 0A97: 7@ = car 2@ struct
{309} 099A: set_car 2@ collision_detection 0
{316} if
{320}   3@ == 2
{327} else_jump @NONAME_348
{334} 3@ = 0
{341} jump @NONAME_796

:NONAME_348
{348} if
{352}   3@ == 3
{359} else_jump @NONAME_373
{366} jump @NONAME_141

:NONAME_373
{373} if
{377}   3@ == 1
{384} else_jump @NONAME_412
{391} Car.LockInCurrentPosition(2@) = True
{398} gosub @NONAME_921
{405} jump @NONAME_759

:NONAME_412
{412} Car.LockInCurrentPosition(2@) = False
{419} File.Read(0@, 1, 15@)
{429} File.Read(0@, 4, 10@)
{439} gosub @NONAME_854

:NONAME_446
{446} 002D:   10@ >= 8@ // (int)
{454} else_jump @NONAME_500
{461} gosub @NONAME_854
{468} gosub @NONAME_1749
{475} gosub @NONAME_1976
{482} gosub @NONAME_2126
{489} wait 0
{493} jump @NONAME_446

:NONAME_500
{500} if
{504}   15@ == 6
{511} else_jump @NONAME_532
{518} gosub @NONAME_1527
{525} jump @NONAME_759

:NONAME_532
{532} if
{536}   15@ == 0
{543} else_jump @NONAME_562
{550} File.Close(0@)
{555} jump @NONAME_796

:NONAME_562
{562} if
{566}   15@ == 1
{573} else_jump @NONAME_594
{580} gosub @NONAME_935
{587} jump @NONAME_759

:NONAME_594
{594} if
{598}   15@ == 16
{605} else_jump @NONAME_626
{612} gosub @NONAME_1715
{619} jump @NONAME_759

:NONAME_626
{626} if
{630}   15@ == 2
{637} else_jump @NONAME_656
{644} File.Close(0@)
{649} jump @NONAME_141

:NONAME_656
{656} if
{660}   15@ == 3
{667} else_jump @NONAME_688
{674} gosub @NONAME_1026
{681} jump @NONAME_759

:NONAME_688
{688} if
{692}   15@ == 4
{699} else_jump @NONAME_720
{706} gosub @NONAME_1253
{713} jump @NONAME_759

:NONAME_720
{720} if
{724}   15@ == 5
{731} else_jump @NONAME_752
{738} gosub @NONAME_1135
{745} jump @NONAME_759

:NONAME_752
{752} gosub @NONAME_899

:NONAME_759
{759} jump @NONAME_213

:NONAME_766
{766} wait 0
{770} if or
{774} 0AB0:   key_pressed 67
{778} 0AB0:   key_pressed 81
{782} else_jump @NONAME_796
{789} jump @NONAME_766

:NONAME_796
{796} Car.LockInCurrentPosition(2@) = True
{803} Car.LockInCurrentPosition(2@) = False
{810} 0ACD: show_text_highpriority "Stop playng" time 2500
{828} 099A: set_car 2@ collision_detection 1
{835} File.Close(0@)
{840} gosub @NONAME_1954
{847} jump @NONAME_29

:NONAME_854
{854} 01BD: 8@ = current_time_in_ms
{859} 0062: 8@ -= 9@ // (int)
{867} return

:NONAME_869
{869} 0ACD: show_text_highpriority "Cannot find File" time 2500
{892} jump @NONAME_29

:NONAME_899
{899} 0ACD: show_text_highpriority "UNIKNOW vType" time 1500
{919} return

:NONAME_921
{921} 0ACD: show_text_highpriority "Paused" time 1
{933} return

:NONAME_935
{935} File.Read(0@, 12, 4@)
{945} 0A8E: 13@ = 7@ + 20 // int
{955} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{967} 14@ += 48
{974} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{986} 14@ += 4
{993} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1005} 14@ += 4
{1012} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1024} return

:NONAME_1026
{1026} File.Read(0@, 12, 4@)
{1036} 0A8E: 13@ = 7@ + 20 // int
{1046} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1058} 14@ += 48
{1065} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1077} 14@ += 4
{1084} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1096} 14@ += 4
{1103} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1115} File.Read(0@, 4, 11@)
{1125} Car.Angle(2@) = 11@
{1133} return

:NONAME_1135
{1135} File.Read(0@, 12, 4@)
{1145} 0A8E: 13@ = 7@ + 20 // int
{1155} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1167} 14@ += 48
{1174} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1186} 14@ += 4
{1193} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1205} 14@ += 4
{1212} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1224} File.Read(0@, 16, 16@)
{1234} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1251} return

:NONAME_1253
{1253} File.Read(0@, 12, 4@)
{1263} 0A8E: 13@ = 7@ + 20 // int
{1273} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1285} 14@ += 48
{1292} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1304} 14@ += 4
{1311} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1323} 14@ += 4
{1330} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1342} File.Read(0@, 1, 16@)
{1352} if
{1356} 08B7:   test 16@ bit 0
{1363} else_jump @NONAME_1395
{1370} 0A8E: 13@ = 7@ + 1180 // int
{1381} 0A8C: write_memory 13@ size 4 value 1.0 virtual_protect 1

:NONAME_1395
{1395} if
{1399} 08B7:   test 16@ bit 1
{1406} else_jump @NONAME_1438
{1413} 0A8E: 13@ = 7@ + 1184 // int
{1424} 0A8C: write_memory 13@ size 4 value 1.0 virtual_protect 1

:NONAME_1438
{1438} if
{1442} 08B7:   test 16@ bit 2
{1449} else_jump @NONAME_1498
{1456} 0A8E: 13@ = 7@ + 1064 // int
{1467} 0A8D: 16@ = read_memory 13@ size 4 virtual_protect 1
{1479} 08BD: set 16@ bit 5
{1486} 0A8C: write_memory 13@ size 4 value 16@ virtual_protect 1

:NONAME_1498
{1498} File.Read(0@, 16, 16@)
{1508} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1525} return

:NONAME_1527
{1527} File.Read(0@, 12, 4@)
{1537} 0A8E: 13@ = 7@ + 20 // int
{1547} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1559} 14@ += 48
{1566} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1578} 14@ += 4
{1585} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1597} 14@ += 4
{1604} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1616} File.Read(0@, 12, 4@)
{1626} 0A8E: 13@ = 7@ + 68 // int
{1636} 0A8C: write_memory 13@ size 4 value 4@ virtual_protect 1
{1648} 13@ += 4
{1655} 0A8C: write_memory 13@ size 4 value 5@ virtual_protect 1
{1667} 13@ += 4
{1674} 0A8C: write_memory 13@ size 4 value 6@ virtual_protect 1
{1686} File.Read(0@, 16, 16@)
{1696} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1713} return

:NONAME_1715
{1715} File.Read(0@, 16, 16@)
{1725} if
{1729} 0AF7:

hex
{1731}  03 0E 00 4D 00 01 2D F9 FF FF F9 0A 11 10 00 00
{1747}  51 00
end

:NONAME_1749
{1749} 03F0: enable_text_draw 1
{1753} 03E3: set_texture_to_be_drawn_antialiased 1
{1757} 038D: draw_texture 1 position 320.0 400.0 size 320.0 40.0 RGBA 255 255 255 255
{1793} 03E4: set_text_draw_align_right 1
{1797} 0340: set_text_draw_RGBA 255 255 255 128
{1811} 060D: draw_text_shadow 1 rgba 32 32 32 128
{1824} 045A: draw_text_1number 447.0 394.0 GXT 'NUMBER' number 8@  // ~1~
{1848} 31@ += 8.0
{1858} 32@ += 8.0
{1868} 038D: draw_texture 2 position 31@ 32@ size 16.0 16.0 RGBA 255 255 255 255
{1900} 31@ -= 8.0
{1910} 32@ -= 8.0
{1920} return

:NONAME_1922
{1922} 0390: load_txd_dictionary "MGD"
{1929} 038F: load_texture "interf" as 1 // Load dictionary with 0390 first
{1941} 038F: load_texture "mouse" as 2 // Load dictionary with 0390 first
{1952} return

:NONAME_1954
{1954} 31@ = 320.0
{1964} 32@ = 224.0
{1974} return

:NONAME_1976
{1976} 0A4A: store_joystick_X_offset_to 16@ Y_offset_to 17@
{1984} 005B: 31@ += 16@ // (float)
{1992} 0063: 32@ -= 17@ // (float)
{2000} if
{2004}    not 31@ >= 0.0
{2014} else_jump @NONAME_2031
{2021} 31@ = 0.0

:NONAME_2031
{2031} if
{2035}    not 32@ >= 0.0
{2045} else_jump @NONAME_2062
{2052} 32@ = 0.0

:NONAME_2062
{2062} if
{2066}   31@ > 640.0
{2076} else_jump @NONAME_2093
{2083} 31@ = 640.0

:NONAME_2093
{2093} if
{2097}   32@ > 448.0
{2107} else_jump @NONAME_2124
{2114} 32@ = 448.0

:NONAME_2124
{2124} return

:NONAME_2126
{2126} if
{2130} 00E1:   player 0 pressed_key 17
{2136} else_jump @NONAME_2344
{2143} if and
{2147}   32@ > 386.0
{2157}    not 32@ >= 414.0
{2167} else_jump @NONAME_2320
{2174} if and
{2178}   31@ > 167.0
{2188}    not 31@ >= 214.0
{2198} else_jump @NONAME_2244
{2205} if
{2209}   3@ == 0
{2216} else_jump @NONAME_2237
{2223} 3@ = 1
{2230} jump @NONAME_2244

:NONAME_2237
{2237} 3@ = 0

:NONAME_2244
{2244} if and
{2248}   31@ > 222.0
{2258}    not 31@ >= 268.0
{2268} else_jump @NONAME_2282
{2275} 3@ = 2

:NONAME_2282
{2282} if and
{2286}   31@ > 277.0
{2296}    not 31@ >= 324.0
{2306} else_jump @NONAME_2320
{2313} 3@ = 3

:NONAME_2320
{2320} 00E1:   player 0 pressed_key 17
{2326} else_jump @NONAME_2344
{2333} wait 0
{2337} jump @NONAME_2320

:NONAME_2344
{2344} return
 
Последнее редактирование модератором:

unInstance

Новичок
Проверенный
311
224
CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
{0} 0000: NOP
{2} wait 0
{6} gosub @NONAME_1922
{13} 3@ = 0
{20} 0000: NOP
{22} gosub @NONAME_1954

:NONAME_29
{29} wait 0
{33} if and
{37} 0AB0:   key_pressed 67
{41} 0AB0:   key_pressed 81
{45} else_jump @NONAME_29

:NONAME_52
{52} wait 0
{56} if or
{60} 0AB0:   key_pressed 67
{64} 0AB0:   key_pressed 81
{68} else_jump @NONAME_141
{75} jump @NONAME_52
{82} if
{86} 0AE6: 12@ = find_first_file "CLEO\*.mga_path" get_filename_to "CLEO\driver.mga_path" // IF and SET
{130} else_jump @NONAME_869
{137} wait 0

:NONAME_141
{141} if
{145} 0@ = File.Open("CLEO\driver.mga_path", 25202)
{175} else_jump @NONAME_141
{182} 01BD: 9@ = current_time_in_ms
{187} 0ACD: show_text_highpriority "Start playng" time 2500
{206} 3@ = 0

:NONAME_213
{213} wait 0
{217} gosub @NONAME_1749
{224} gosub @NONAME_1976
{231} gosub @NONAME_2126
{238} if and
{242} 0AB0:   key_pressed 67
{246} 0AB0:   key_pressed 81
{250} else_jump @NONAME_264
{257} jump @NONAME_766

:NONAME_264
{264} $PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
{272} if and
{276}    not Actor.Dead($PLAYER_ACTOR)
{281}    Actor.Driving($PLAYER_ACTOR)
{286} else_jump @NONAME_796
{293} 2@ = Actor.CurrentCar($PLAYER_ACTOR)
{301} 0A97: 7@ = car 2@ struct
//{309} 099A: set_car 2@ collision_detection 0
{316} if
{320}   3@ == 2
{327} else_jump @NONAME_348
{334} 3@ = 0
{341} jump @NONAME_796

:NONAME_348
{348} if
{352}   3@ == 3
{359} else_jump @NONAME_373
{366} jump @NONAME_141

:NONAME_373
{373} if
{377}   3@ == 1
{384} else_jump @NONAME_412
{391} Car.LockInCurrentPosition(2@) = True
{398} gosub @NONAME_921
{405} jump @NONAME_759

:NONAME_412
{412} Car.LockInCurrentPosition(2@) = False
{419} File.Read(0@, 1, 15@)
{429} File.Read(0@, 4, 10@)
{439} gosub @NONAME_854

:NONAME_446
{446} 002D:   10@ >= 8@ // (int)
{454} else_jump @NONAME_500
{461} gosub @NONAME_854
{468} gosub @NONAME_1749
{475} gosub @NONAME_1976
{482} gosub @NONAME_2126
{489} wait 0
{493} jump @NONAME_446

:NONAME_500
{500} if
{504}   15@ == 6
{511} else_jump @NONAME_532
{518} gosub @NONAME_1527
{525} jump @NONAME_759

:NONAME_532
{532} if
{536}   15@ == 0
{543} else_jump @NONAME_562
{550} File.Close(0@)
{555} jump @NONAME_796

:NONAME_562
{562} if
{566}   15@ == 1
{573} else_jump @NONAME_594
{580} gosub @NONAME_935
{587} jump @NONAME_759

:NONAME_594
{594} if
{598}   15@ == 16
{605} else_jump @NONAME_626
{612} gosub @NONAME_1715
{619} jump @NONAME_759

:NONAME_626
{626} if
{630}   15@ == 2
{637} else_jump @NONAME_656
{644} File.Close(0@)
{649} jump @NONAME_141

:NONAME_656
{656} if
{660}   15@ == 3
{667} else_jump @NONAME_688
{674} gosub @NONAME_1026
{681} jump @NONAME_759

:NONAME_688
{688} if
{692}   15@ == 4
{699} else_jump @NONAME_720
{706} gosub @NONAME_1253
{713} jump @NONAME_759

:NONAME_720
{720} if
{724}   15@ == 5
{731} else_jump @NONAME_752
{738} gosub @NONAME_1135
{745} jump @NONAME_759

:NONAME_752
{752} gosub @NONAME_899

:NONAME_759
{759} jump @NONAME_213

:NONAME_766
{766} wait 0
{770} if or
{774} 0AB0:   key_pressed 67
{778} 0AB0:   key_pressed 81
{782} else_jump @NONAME_796
{789} jump @NONAME_766

:NONAME_796
{796} Car.LockInCurrentPosition(2@) = True
{803} Car.LockInCurrentPosition(2@) = False
{810} 0ACD: show_text_highpriority "Stop playng" time 2500
//{828} 099A: set_car 2@ collision_detection 1
{835} File.Close(0@)
{840} gosub @NONAME_1954
{847} jump @NONAME_29

:NONAME_854
{854} 01BD: 8@ = current_time_in_ms
{859} 0062: 8@ -= 9@ // (int)
{867} return

:NONAME_869
{869} 0ACD: show_text_highpriority "Cannot find File" time 2500
{892} jump @NONAME_29

:NONAME_899
{899} 0ACD: show_text_highpriority "UNIKNOW vType" time 1500
{919} return

:NONAME_921
{921} 0ACD: show_text_highpriority "Paused" time 1
{933} return

:NONAME_935
{935} File.Read(0@, 12, 4@)
{945} 0A8E: 13@ = 7@ + 20 // int
{955} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{967} 14@ += 48
{974} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{986} 14@ += 4
{993} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1005} 14@ += 4
{1012} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1024} return

:NONAME_1026
{1026} File.Read(0@, 12, 4@)
{1036} 0A8E: 13@ = 7@ + 20 // int
{1046} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1058} 14@ += 48
{1065} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1077} 14@ += 4
{1084} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1096} 14@ += 4
{1103} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1115} File.Read(0@, 4, 11@)
{1125} Car.Angle(2@) = 11@
{1133} return

:NONAME_1135
{1135} File.Read(0@, 12, 4@)
{1145} 0A8E: 13@ = 7@ + 20 // int
{1155} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1167} 14@ += 48
{1174} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1186} 14@ += 4
{1193} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1205} 14@ += 4
{1212} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1224} File.Read(0@, 16, 16@)
{1234} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1251} return

:NONAME_1253
{1253} File.Read(0@, 12, 4@)
{1263} 0A8E: 13@ = 7@ + 20 // int
{1273} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1285} 14@ += 48
{1292} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1304} 14@ += 4
{1311} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1323} 14@ += 4
{1330} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1342} File.Read(0@, 1, 16@)
{1352} if
{1356} 08B7:   test 16@ bit 0
{1363} else_jump @NONAME_1395
{1370} 0A8E: 13@ = 7@ + 1180 // int
{1381} 0A8C: write_memory 13@ size 4 value 1.0 virtual_protect 1

:NONAME_1395
{1395} if
{1399} 08B7:   test 16@ bit 1
{1406} else_jump @NONAME_1438
{1413} 0A8E: 13@ = 7@ + 1184 // int
{1424} 0A8C: write_memory 13@ size 4 value 1.0 virtual_protect 1

:NONAME_1438
{1438} if
{1442} 08B7:   test 16@ bit 2
{1449} else_jump @NONAME_1498
{1456} 0A8E: 13@ = 7@ + 1064 // int
{1467} 0A8D: 16@ = read_memory 13@ size 4 virtual_protect 1
{1479} 08BD: set 16@ bit 5
{1486} 0A8C: write_memory 13@ size 4 value 16@ virtual_protect 1

:NONAME_1498
{1498} File.Read(0@, 16, 16@)
{1508} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1525} return

:NONAME_1527
{1527} File.Read(0@, 12, 4@)
{1537} 0A8E: 13@ = 7@ + 20 // int
{1547} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1559} 14@ += 48
{1566} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1578} 14@ += 4
{1585} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1597} 14@ += 4
{1604} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1616} File.Read(0@, 12, 4@)
{1626} 0A8E: 13@ = 7@ + 68 // int
{1636} 0A8C: write_memory 13@ size 4 value 4@ virtual_protect 1
{1648} 13@ += 4
{1655} 0A8C: write_memory 13@ size 4 value 5@ virtual_protect 1
{1667} 13@ += 4
{1674} 0A8C: write_memory 13@ size 4 value 6@ virtual_protect 1
{1686} File.Read(0@, 16, 16@)
{1696} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1713} return

:NONAME_1715
{1715} File.Read(0@, 16, 16@)
{1725} if
{1729} 0AF7:

hex
{1731}  03 0E 00 4D 00 01 2D F9 FF FF F9 0A 11 10 00 00
{1747}  51 00
end

:NONAME_1749
{1749} 03F0: enable_text_draw 1
{1753} 03E3: set_texture_to_be_drawn_antialiased 1
{1757} 038D: draw_texture 1 position 320.0 400.0 size 320.0 40.0 RGBA 255 255 255 255
{1793} 03E4: set_text_draw_align_right 1
{1797} 0340: set_text_draw_RGBA 255 255 255 128
{1811} 060D: draw_text_shadow 1 rgba 32 32 32 128
{1824} 045A: draw_text_1number 447.0 394.0 GXT 'NUMBER' number 8@  // ~1~
{1848} 31@ += 8.0
{1858} 32@ += 8.0
{1868} 038D: draw_texture 2 position 31@ 32@ size 16.0 16.0 RGBA 255 255 255 255
{1900} 31@ -= 8.0
{1910} 32@ -= 8.0
{1920} return

:NONAME_1922
{1922} 0390: load_txd_dictionary "MGD"
{1929} 038F: load_texture "interf" as 1 // Load dictionary with 0390 first
{1941} 038F: load_texture "mouse" as 2 // Load dictionary with 0390 first
{1952} return

:NONAME_1954
{1954} 31@ = 320.0
{1964} 32@ = 224.0
{1974} return

:NONAME_1976
{1976} 0A4A: store_joystick_X_offset_to 16@ Y_offset_to 17@
{1984} 005B: 31@ += 16@ // (float)
{1992} 0063: 32@ -= 17@ // (float)
{2000} if
{2004}    not 31@ >= 0.0
{2014} else_jump @NONAME_2031
{2021} 31@ = 0.0

:NONAME_2031
{2031} if
{2035}    not 32@ >= 0.0
{2045} else_jump @NONAME_2062
{2052} 32@ = 0.0

:NONAME_2062
{2062} if
{2066}   31@ > 640.0
{2076} else_jump @NONAME_2093
{2083} 31@ = 640.0

:NONAME_2093
{2093} if
{2097}   32@ > 448.0
{2107} else_jump @NONAME_2124
{2114} 32@ = 448.0

:NONAME_2124
{2124} return

:NONAME_2126
{2126} if
{2130} 00E1:   player 0 pressed_key 17
{2136} else_jump @NONAME_2344
{2143} if and
{2147}   32@ > 386.0
{2157}    not 32@ >= 414.0
{2167} else_jump @NONAME_2320
{2174} if and
{2178}   31@ > 167.0
{2188}    not 31@ >= 214.0
{2198} else_jump @NONAME_2244
{2205} if
{2209}   3@ == 0
{2216} else_jump @NONAME_2237
{2223} 3@ = 1
{2230} jump @NONAME_2244

:NONAME_2237
{2237} 3@ = 0

:NONAME_2244
{2244} if and
{2248}   31@ > 222.0
{2258}    not 31@ >= 268.0
{2268} else_jump @NONAME_2282
{2275} 3@ = 2

:NONAME_2282
{2282} if and
{2286}   31@ > 277.0
{2296}    not 31@ >= 324.0
{2306} else_jump @NONAME_2320
{2313} 3@ = 3

:NONAME_2320
{2320} 00E1:   player 0 pressed_key 17
{2326} else_jump @NONAME_2344
{2333} wait 0
{2337} jump @NONAME_2320

:NONAME_2344
{2344} return
 

Artsug

Известный
Автор темы
240
57
CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
{0} 0000: NOP
{2} wait 0
{6} gosub @NONAME_1922
{13} 3@ = 0
{20} 0000: NOP
{22} gosub @NONAME_1954

:NONAME_29
{29} wait 0
{33} if and
{37} 0AB0:   key_pressed 67
{41} 0AB0:   key_pressed 81
{45} else_jump @NONAME_29

:NONAME_52
{52} wait 0
{56} if or
{60} 0AB0:   key_pressed 67
{64} 0AB0:   key_pressed 81
{68} else_jump @NONAME_141
{75} jump @NONAME_52
{82} if
{86} 0AE6: 12@ = find_first_file "CLEO\*.mga_path" get_filename_to "CLEO\driver.mga_path" // IF and SET
{130} else_jump @NONAME_869
{137} wait 0

:NONAME_141
{141} if
{145} 0@ = File.Open("CLEO\driver.mga_path", 25202)
{175} else_jump @NONAME_141
{182} 01BD: 9@ = current_time_in_ms
{187} 0ACD: show_text_highpriority "Start playng" time 2500
{206} 3@ = 0

:NONAME_213
{213} wait 0
{217} gosub @NONAME_1749
{224} gosub @NONAME_1976
{231} gosub @NONAME_2126
{238} if and
{242} 0AB0:   key_pressed 67
{246} 0AB0:   key_pressed 81
{250} else_jump @NONAME_264
{257} jump @NONAME_766

:NONAME_264
{264} $PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
{272} if and
{276}    not Actor.Dead($PLAYER_ACTOR)
{281}    Actor.Driving($PLAYER_ACTOR)
{286} else_jump @NONAME_796
{293} 2@ = Actor.CurrentCar($PLAYER_ACTOR)
{301} 0A97: 7@ = car 2@ struct
//{309} 099A: set_car 2@ collision_detection 0
{316} if
{320}   3@ == 2
{327} else_jump @NONAME_348
{334} 3@ = 0
{341} jump @NONAME_796

:NONAME_348
{348} if
{352}   3@ == 3
{359} else_jump @NONAME_373
{366} jump @NONAME_141

:NONAME_373
{373} if
{377}   3@ == 1
{384} else_jump @NONAME_412
{391} Car.LockInCurrentPosition(2@) = True
{398} gosub @NONAME_921
{405} jump @NONAME_759

:NONAME_412
{412} Car.LockInCurrentPosition(2@) = False
{419} File.Read(0@, 1, 15@)
{429} File.Read(0@, 4, 10@)
{439} gosub @NONAME_854

:NONAME_446
{446} 002D:   10@ >= 8@ // (int)
{454} else_jump @NONAME_500
{461} gosub @NONAME_854
{468} gosub @NONAME_1749
{475} gosub @NONAME_1976
{482} gosub @NONAME_2126
{489} wait 0
{493} jump @NONAME_446

:NONAME_500
{500} if
{504}   15@ == 6
{511} else_jump @NONAME_532
{518} gosub @NONAME_1527
{525} jump @NONAME_759

:NONAME_532
{532} if
{536}   15@ == 0
{543} else_jump @NONAME_562
{550} File.Close(0@)
{555} jump @NONAME_796

:NONAME_562
{562} if
{566}   15@ == 1
{573} else_jump @NONAME_594
{580} gosub @NONAME_935
{587} jump @NONAME_759

:NONAME_594
{594} if
{598}   15@ == 16
{605} else_jump @NONAME_626
{612} gosub @NONAME_1715
{619} jump @NONAME_759

:NONAME_626
{626} if
{630}   15@ == 2
{637} else_jump @NONAME_656
{644} File.Close(0@)
{649} jump @NONAME_141

:NONAME_656
{656} if
{660}   15@ == 3
{667} else_jump @NONAME_688
{674} gosub @NONAME_1026
{681} jump @NONAME_759

:NONAME_688
{688} if
{692}   15@ == 4
{699} else_jump @NONAME_720
{706} gosub @NONAME_1253
{713} jump @NONAME_759

:NONAME_720
{720} if
{724}   15@ == 5
{731} else_jump @NONAME_752
{738} gosub @NONAME_1135
{745} jump @NONAME_759

:NONAME_752
{752} gosub @NONAME_899

:NONAME_759
{759} jump @NONAME_213

:NONAME_766
{766} wait 0
{770} if or
{774} 0AB0:   key_pressed 67
{778} 0AB0:   key_pressed 81
{782} else_jump @NONAME_796
{789} jump @NONAME_766

:NONAME_796
{796} Car.LockInCurrentPosition(2@) = True
{803} Car.LockInCurrentPosition(2@) = False
{810} 0ACD: show_text_highpriority "Stop playng" time 2500
//{828} 099A: set_car 2@ collision_detection 1
{835} File.Close(0@)
{840} gosub @NONAME_1954
{847} jump @NONAME_29

:NONAME_854
{854} 01BD: 8@ = current_time_in_ms
{859} 0062: 8@ -= 9@ // (int)
{867} return

:NONAME_869
{869} 0ACD: show_text_highpriority "Cannot find File" time 2500
{892} jump @NONAME_29

:NONAME_899
{899} 0ACD: show_text_highpriority "UNIKNOW vType" time 1500
{919} return

:NONAME_921
{921} 0ACD: show_text_highpriority "Paused" time 1
{933} return

:NONAME_935
{935} File.Read(0@, 12, 4@)
{945} 0A8E: 13@ = 7@ + 20 // int
{955} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{967} 14@ += 48
{974} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{986} 14@ += 4
{993} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1005} 14@ += 4
{1012} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1024} return

:NONAME_1026
{1026} File.Read(0@, 12, 4@)
{1036} 0A8E: 13@ = 7@ + 20 // int
{1046} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1058} 14@ += 48
{1065} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1077} 14@ += 4
{1084} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1096} 14@ += 4
{1103} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1115} File.Read(0@, 4, 11@)
{1125} Car.Angle(2@) = 11@
{1133} return

:NONAME_1135
{1135} File.Read(0@, 12, 4@)
{1145} 0A8E: 13@ = 7@ + 20 // int
{1155} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1167} 14@ += 48
{1174} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1186} 14@ += 4
{1193} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1205} 14@ += 4
{1212} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1224} File.Read(0@, 16, 16@)
{1234} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1251} return

:NONAME_1253
{1253} File.Read(0@, 12, 4@)
{1263} 0A8E: 13@ = 7@ + 20 // int
{1273} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1285} 14@ += 48
{1292} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1304} 14@ += 4
{1311} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1323} 14@ += 4
{1330} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1342} File.Read(0@, 1, 16@)
{1352} if
{1356} 08B7:   test 16@ bit 0
{1363} else_jump @NONAME_1395
{1370} 0A8E: 13@ = 7@ + 1180 // int
{1381} 0A8C: write_memory 13@ size 4 value 1.0 virtual_protect 1

:NONAME_1395
{1395} if
{1399} 08B7:   test 16@ bit 1
{1406} else_jump @NONAME_1438
{1413} 0A8E: 13@ = 7@ + 1184 // int
{1424} 0A8C: write_memory 13@ size 4 value 1.0 virtual_protect 1

:NONAME_1438
{1438} if
{1442} 08B7:   test 16@ bit 2
{1449} else_jump @NONAME_1498
{1456} 0A8E: 13@ = 7@ + 1064 // int
{1467} 0A8D: 16@ = read_memory 13@ size 4 virtual_protect 1
{1479} 08BD: set 16@ bit 5
{1486} 0A8C: write_memory 13@ size 4 value 16@ virtual_protect 1

:NONAME_1498
{1498} File.Read(0@, 16, 16@)
{1508} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1525} return

:NONAME_1527
{1527} File.Read(0@, 12, 4@)
{1537} 0A8E: 13@ = 7@ + 20 // int
{1547} 0A8D: 14@ = read_memory 13@ size 4 virtual_protect 0
{1559} 14@ += 48
{1566} 0A8C: write_memory 14@ size 4 value 4@ virtual_protect 1
{1578} 14@ += 4
{1585} 0A8C: write_memory 14@ size 4 value 5@ virtual_protect 1
{1597} 14@ += 4
{1604} 0A8C: write_memory 14@ size 4 value 6@ virtual_protect 1
{1616} File.Read(0@, 12, 4@)
{1626} 0A8E: 13@ = 7@ + 68 // int
{1636} 0A8C: write_memory 13@ size 4 value 4@ virtual_protect 1
{1648} 13@ += 4
{1655} 0A8C: write_memory 13@ size 4 value 5@ virtual_protect 1
{1667} 13@ += 4
{1674} 0A8C: write_memory 13@ size 4 value 6@ virtual_protect 1
{1686} File.Read(0@, 16, 16@)
{1696} 07C6: set_car 2@ axis_angle_relation_to 16@ 17@ 18@ 19@
{1713} return

:NONAME_1715
{1715} File.Read(0@, 16, 16@)
{1725} if
{1729} 0AF7:

hex
{1731}  03 0E 00 4D 00 01 2D F9 FF FF F9 0A 11 10 00 00
{1747}  51 00
end

:NONAME_1749
{1749} 03F0: enable_text_draw 1
{1753} 03E3: set_texture_to_be_drawn_antialiased 1
{1757} 038D: draw_texture 1 position 320.0 400.0 size 320.0 40.0 RGBA 255 255 255 255
{1793} 03E4: set_text_draw_align_right 1
{1797} 0340: set_text_draw_RGBA 255 255 255 128
{1811} 060D: draw_text_shadow 1 rgba 32 32 32 128
{1824} 045A: draw_text_1number 447.0 394.0 GXT 'NUMBER' number 8@  // ~1~
{1848} 31@ += 8.0
{1858} 32@ += 8.0
{1868} 038D: draw_texture 2 position 31@ 32@ size 16.0 16.0 RGBA 255 255 255 255
{1900} 31@ -= 8.0
{1910} 32@ -= 8.0
{1920} return

:NONAME_1922
{1922} 0390: load_txd_dictionary "MGD"
{1929} 038F: load_texture "interf" as 1 // Load dictionary with 0390 first
{1941} 038F: load_texture "mouse" as 2 // Load dictionary with 0390 first
{1952} return

:NONAME_1954
{1954} 31@ = 320.0
{1964} 32@ = 224.0
{1974} return

:NONAME_1976
{1976} 0A4A: store_joystick_X_offset_to 16@ Y_offset_to 17@
{1984} 005B: 31@ += 16@ // (float)
{1992} 0063: 32@ -= 17@ // (float)
{2000} if
{2004}    not 31@ >= 0.0
{2014} else_jump @NONAME_2031
{2021} 31@ = 0.0

:NONAME_2031
{2031} if
{2035}    not 32@ >= 0.0
{2045} else_jump @NONAME_2062
{2052} 32@ = 0.0

:NONAME_2062
{2062} if
{2066}   31@ > 640.0
{2076} else_jump @NONAME_2093
{2083} 31@ = 640.0

:NONAME_2093
{2093} if
{2097}   32@ > 448.0
{2107} else_jump @NONAME_2124
{2114} 32@ = 448.0

:NONAME_2124
{2124} return

:NONAME_2126
{2126} if
{2130} 00E1:   player 0 pressed_key 17
{2136} else_jump @NONAME_2344
{2143} if and
{2147}   32@ > 386.0
{2157}    not 32@ >= 414.0
{2167} else_jump @NONAME_2320
{2174} if and
{2178}   31@ > 167.0
{2188}    not 31@ >= 214.0
{2198} else_jump @NONAME_2244
{2205} if
{2209}   3@ == 0
{2216} else_jump @NONAME_2237
{2223} 3@ = 1
{2230} jump @NONAME_2244

:NONAME_2237
{2237} 3@ = 0

:NONAME_2244
{2244} if and
{2248}   31@ > 222.0
{2258}    not 31@ >= 268.0
{2268} else_jump @NONAME_2282
{2275} 3@ = 2

:NONAME_2282
{2282} if and
{2286}   31@ > 277.0
{2296}    not 31@ >= 324.0
{2306} else_jump @NONAME_2320
{2313} 3@ = 3

:NONAME_2320
{2320} 00E1:   player 0 pressed_key 17
{2326} else_jump @NONAME_2344
{2333} wait 0
{2337} jump @NONAME_2320

:NONAME_2344
{2344} return
Cпасибо , но уже сам разобрался
 
Статус
В этой теме нельзя размещать новые ответы.