Quantcast

Jump to content

» «
Photo

Beta 3.3 files released!

278 replies to this topic
Jeansowaty
  • Jeansowaty

    ._.

  • Members
  • Joined: 31 Mar 2013
  • Poland

#271

Posted A week ago

It works, but the game crashes more frequently than VC does.

Oh, okay. Wooow, this is awesome then :D


Craig Kostelecky
  • Craig Kostelecky

    GTA:LC Team Leader

  • The Connection
  • Joined: 28 Jan 2004

#272

Posted A week ago

I don't have anything in my CLEO. I gave it a try to see if I could get some things working, but I think we have to change a few things in the scm to get it to work better. When I have time again to work on this (and Silent is available to assist) I'll try to get that taken care of.


ArchKnight
  • ArchKnight

    Dodge Charger

  • Members
  • Joined: 17 Jul 2013
  • United-Kingdom

#273

Posted A week ago

I don't have anything in my CLEO. I gave it a try to see if I could get some things working, but I think we have to change a few things in the scm to get it to work better. When I have time again to work on this (and Silent is available to assist) I'll try to get that taken care of.

I'm interested in hearing what you guys are going to add using CLEO.

Craig Kostelecky
  • Craig Kostelecky

    GTA:LC Team Leader

  • The Connection
  • Joined: 28 Jan 2004

#274

Posted A week ago

I don't plan on adding anything with CLEO. Anything we'd put in the mod would be done directly into the scm or with asi files. My intention with adding CLEO support is just setting it up so users can add their own CLEO files to personalize their own game. I'd even like to start a thread where LC specific CLEO scripts can be shared.

 

But it is not my intention to use CLEO for anything with the mod directly.

  • Silent and theNGclan like this

Silent
  • Silent

    Moderating Cookie Monster

  • Members
  • Joined: 01 Feb 2010
  • Poland

#275

Posted A week ago

Nor is mine, if I can add my own two cents.

Wrzosio
  • Wrzosio

    Player Hater

  • Members
  • Joined: 2 weeks ago
  • Poland

#276

Posted A week ago

About that cleo delaying thing i mentioned, here's the asi i used: https://dl.dropboxus...leo_starter.asi

Code is very simple:

CODE Sleep(1000);
LoadLibrary ("./CLEO.dll");
CLEO.asi should be renamed to CLEO.dll and be located in root directory, cleo_starter.asi goes to root folder too.

I don't know what bugs it may cause.

UPD. I might have an idea why cleo scripts isn't compatible with GTA LC:
Original game:
CODE $2=player_char
$3=player_actor

GTA LC:
CODE $136 = $player_char
$137 = $player_actor

Shouldn't be too hard to fix.

UPD2: Okay, 100% of cleo scripts working with GTA LC.
https://dl.dropboxus...CLEOtoGTALC.bat
You'll need 010 editor to run this script.
Copy VCCLEOtoGTALC.bat to CLEO folder, run it and wait a few seconds, it will convert vice city's cleos to compatible with GTA LC main.scm(this one, not sure about the others) cleos.

gtavc2013051416323293.th.jpg gtavc2013051416324331.th.jpg gtavc2013051416335952.th.jpg

 

Can someone, tell me how to change code? or how to do it?


ArchKnight
  • ArchKnight

    Dodge Charger

  • Members
  • Joined: 17 Jul 2013
  • United-Kingdom

#277

Posted 2 days ago

// THREAD "o4x4_1"
0001B3BE: wait                                     $var16FC
// THREAD "100rew"
0000E104: if                                       0
0000E108:   gtfg                                   100.0000, $var1934
0000E112: jf                                       @0000E125
0000E119: opcode_058C                              $var1934, $var0100, "ÿà", "Ö", "", "]", 2050, "", 15, 540.7500, -311.7500, 14.5000, $var1938, "	„ë³òÉŒ", ""
0000E11E: jump                                     @0000E0FF
0000E0FF: wait                                     250
// THREAD "ilandid"
0000E832: if                                       0
0000E836:   is_defined                             $var0008
0000E83B: jf                                       @0000E82D
0000E842: if                                       0
0000E846:   NOT is_player_in_rect                  $var0008, 365.0000, 1900.0000, 1915.0000, -1900.0000, 0
0000E861: jf                                       @0000E8E4
0000E868: if                                       22
0000E86C:   is_player_in_rect                      $var0008, -2335.0000, 70.0000, -720.0000, -1900.0000, 0
0000E887:   is_player_in_rect                      $var0008, -2335.0000, 175.0000, -575.0000, 50.0000, 0
0000E8A2:   is_player_in_rect                      $var0008, -2335.0000, 1900.0000, -500.0000, 170.0000, 0
0000E8BD: jf                                       @0000E904
0000E904: if                                       0
0000E908:   NOT egi                                $var1120, 2
0000E90F: jf                                       @0000E82D
0000E82D: wait                                     $var16FC
// THREAD "boost"
000240BC: if                                       0
000240C0:   is_defined                             $var0008
000240C5: jf                                       @000245AA
000240CC: if                                       0
000240D0:   is_player_driving_car_model            $var0008, 199
000240D8: jf                                       @000245AA
000245AA: jump                                     @000240B8
000240B8: wait                                     0
// THREAD "time"
000227DB: if                                       0
000227DF:   is_defined                             $var0008
000227E4: jf                                       @000227D7
000227EB: if                                       21
000227EF:   is_player_driving_car_model            $var0008, 211
000227F7:   is_player_driving_car_model            $var0008, 199
000227FF: jf                                       @000227D7
00022806: get_player_car                           $var0008, 0
0002280E: toggle_car_tires_vulnerable              0, 0
00022815: get_car_speed                            0, 1
0002281D: gosub                                    @000245E2
000245E2: set_radio_station                        $var20F8, 255
000245E9: if                                       0
000245ED:   is_key_pressed                         0, 4
000245F3: jf                                       @00024621
00024621: if                                       0
00024625:   is_key_pressed                         0, 4
0002462B: jf                                       @0002463D
0002463D: return                                   
00022824: if                                       1
00022828:   is_key_pressed                         0, 2
0002282E:   NOT is_car_upsidedown                  0
00022833: jf                                       @00022841
00022841: if                                       1
00022845:   gtlf                                   1, 43.5000
0002284F:   is_car_health_greater_than             0, 1200
00022857: jf                                       @000227D7
000227D7: wait                                     0
// THREAD "conv"
0002402F: if                                       0
00024033:   is_defined                             $var0008
00024038: jf                                       @00023FB9
0002403F: if                                       21
00024043:   is_player_driving_car_model            $var0008, 211
0002404B:   is_player_driving_car_model            $var0008, 199
00024053: jf                                       @00023FB9
0002405A: get_point_on_car_plane                   0, 0.0000, 1.0000, 0.0000, $var20FC, $var2100, $var2104
00024077: subglf                                   $var20FC, 1
0002407F: subglf                                   $var2100, 2
00024087: subglf                                   $var2104, 3
0002408F: addlgf                                   1, $var20FC
00024097: addlgf                                   2, $var2100
0002409F: addlgf                                   3, $var2104
000240A7: jump                                     @0002402B
0002402B: wait                                     0
// THREAD "noname"
00019ED5: if                                       0
00019ED9:   egi                                    $var17D8, 1
00019EE0: jf                                       @00019EE9
00019EE9: if                                       0
00019EED:   is_defined                             $var0008
00019EF2: jf                                       @0001A000
00019EF9: if                                       0
00019EFD:   is_player_near_point_3d_on_foot        $var0008, -296.7500, -725.3750, 28.7500, 1.1875, 1.1875, 2.0000, 0
00019F22: jf                                       @0001A000
0001A000: jump                                     @00019ED1
00019ED1: wait                                     0
// THREAD "bust_h"
00016DA9: if                                       0
00016DAD:   is_defined                             $var0008
00016DB2: jf                                       @00016DA5
00016DB9: if                                       2
00016DBD:   is_player_in_zone                      $var0008, "S_VIEW"
00016DCA:   egi                                    $var04E4, 0
00016DD1:   egi                                    $var1130, 1
00016DD8: jf                                       @00016DA5
00016DA5: wait                                     0
// THREAD "subway"
00021995: setlg                                    3, $var1FB4
0002199D: gosub                                    @00022448
00022448: get_point_on_object_plane                3, 1.0000, 9.5000, 0.0000, 7, 8, 9
00022465: if                                       0
00022469:   is_defined                             $var0008
0002246E: jf                                       @000224E1
00022475: setli                                    15, 0
0002247C: if                                       1
00022480:   eli                                    0, 0
00022487:   is_player_near_point_3d                $var0008, 7, 8, 9, 2.0000, 2.0000, 1.9000, 0
000224A6: jf                                       @000224E1
000224E1: return                                   
000219A4: set_scripted_file_speed_to               $var1FB0, $var1FF0
000219AC: addgf                                    $var1FF0, 1.0000
000219B6: if                                       0
000219BA:   gtgf                                   $var1FF0, 20.0000
000219C4: jf                                       @00021991
00021991: wait                                     100
// THREAD "usj"
00014CD8: if                                       0
00014CDC:   NOT is_defined                         $var0008
00014CE1: jf                                       @00014CEF
00014CEF: if                                       0
00014CF3:   NOT is_player_driving                  $var0008
00014CF8: jf                                       @00014D06
00014D06: get_player_car                           $var0008, $var1D04
00014D0E: if                                       0
00014D12:   is_car_stopped                         $var1D04
00014D17: jf                                       @00014D25
00014D25: if                                       0
00014D29:   is_player_driving_boat                 $var0008
00014D2E: jf                                       @00014D3C
00014D3C: if                                       0
00014D40:   is_player_driving_air_vehicle          $var0008
00014D45: jf                                       @00014D53
00014D53: get_car_speed                            $var1D04, $var1D08
00014D5B: if                                       0
00014D5F:   NOT gtgf                               $var1D08, 25.0000
00014D69: jf                                       @00014D77
00014D77: if                                       0
00014D7B:   NOT is_airborne                        $var1D04
00014D80: jf                                       @00014D8E
00014D8E: if                                       0
00014D92:   egi                                    $var1120, 1
00014D99: jf                                       @000150C3
000150C3: if                                       0
000150C7:   egi                                    $var1120, 2
000150CE: jf                                       @00015268
000150D5: if                                       0
000150D9:   is_player_in_zone                      $var0008, "COM_EAS"
000150E6: jf                                       @000151ED
000150ED: if                                       0
000150F1:   is_player_near_point_3d_in_car         $var0008, 135.6880, -918.3750, 25.8125, 6.0000, 3.0000, 3.0000, 0
00015116: jf                                       @00015149
00015149: if                                       0
0001514D:   is_player_near_point_in_car            $var0008, -63.8750, -607.0000, 4.0000, 5.0000, 0
00015168: jf                                       @0001519B
0001519B: if                                       0
0001519F:   is_player_near_point_in_car            $var0008, -14.8120, -896.3120, 6.0000, 5.0000, 0
000151BA: jf                                       @000151ED
000151ED: if                                       0
000151F1:   is_player_in_zone                      $var0008, "PARK"
000151FE: jf                                       @00015261
00015261: jump                                     @00014CD4
00014CD4: wait                                     0
// THREAD "hj"
00010C1B: if                                       0
00010C1F:   NOT is_defined                         $var0008
00010C24: jf                                       @00010C32
00010C32: addgi                                    $var1A68, 1
00010C39: jump                                     @00010BE7
00010BE7: if                                       0
00010BEB:   gtig                                   90, $var1A68
00010BF2: jf                                       @00010C40
00010BF9: if                                       0
00010BFD:   is_car_wrecked                         $var19FC
00010C02: jf                                       @00010C17
00010C17: wait                                     0
// THREAD "rctrig"
0001C7B6: if                                       1
0001C7BA:   is_defined                             $var0008
0001C7BF:   egi                                    $var1DF4, 0
0001C7C6: jf                                       @0001C93E
0001C7CD: if                                       0
0001C7D1:   is_player_driving_car_model            $var0008, 189
0001C7D9: jf                                       @0001C93E
0001C93E: if                                       0
0001C942:   is_defined                             $var0008
0001C947: jf                                       @0001C7B2
0001C94E: if                                       0
0001C952:   NOT is_player_driving_car_model        $var0008, 189
0001C95A: jf                                       @0001C7B2
0001C961: setgi                                    $var1DF4, 0
0001C968: jump                                     @0001C7B2
0001C7B2: wait                                     0
// THREAD "cop_m"
0001DADA: if                                       0
0001DADE:   is_defined                             $var0008
0001DAE3: jf                                       @0001DAD6
0001DAEA: if                                       25
0001DAEE:   is_player_driving_car_model            $var0008, 156
0001DAF6:   is_player_driving_car_model            $var0008, 157
0001DAFE:   is_player_driving_car_model            $var0008, 236
0001DB06:   is_player_driving_car_model            $var0008, 162
0001DB0E:   is_player_driving_car_model            $var0008, 220
0001DB16:   is_player_driving_car_model            $var0008, 155
0001DB1E: jf                                       @0001DC5F
0001DC5F: if                                       0
0001DC63:   egi                                    $var1E18, 1
0001DC6A: jf                                       @0001DAD6
0001DAD6: wait                                     0
// THREAD "fire_m"
0001D94D: if                                       0
0001D951:   is_defined                             $var0008
0001D956: jf                                       @0001D949
0001D95D: if                                       0
0001D961:   is_player_driving_car_model            $var0008, 137
0001D969: jf                                       @0001DAAA
0001DAAA: if                                       0
0001DAAE:   egi                                    $var1E10, 1
0001DAB5: jf                                       @0001D949
0001D949: wait                                     0
// THREAD "taxi_l"
0001D7C3: if                                       0
0001D7C7:   is_defined                             $var0008
0001D7CC: jf                                       @0001D7BF
0001D7D3: if                                       0
0001D7D7:   is_player_driving_taxi                 $var0008
0001D7DC: jf                                       @0001D91D
0001D91D: if                                       0
0001D921:   egi                                    $var1E08, 1
0001D928: jf                                       @0001D7BF
0001D7BF: wait                                     0
// THREAD "ambul_m"
0001DC8F: if                                       0
0001DC93:   is_defined                             $var0008
0001DC98: jf                                       @0001DC8B
0001DC9F: if                                       0
0001DCA3:   is_player_driving_car_model            $var0008, 146
0001DCAB: jf                                       @0001DDEC
0001DDEC: if                                       0
0001DDF0:   egi                                    $var1E20, 1
0001DDF7: jf                                       @0001DC8B
0001DC8B: wait                                     0
// THREAD "train"
00021C29: if                                       0
00021C2D:   eli                                    15, 1
00021C34: jf                                       @00021C7F
00021C7F: setlg                                    3, $var2030
00021C87: gosub                                    @00022448
00022448: get_point_on_object_plane                3, 1.0000, 9.5000, 0.0000, 7, 8, 9
00022465: if                                       0
00022469:   is_defined                             $var0008
0002246E: jf                                       @000224E1
00022475: setli                                    15, 0
0002247C: if                                       1
00022480:   eli                                    0, 0
00022487:   is_player_near_point_3d                $var0008, 7, 8, 9, 2.0000, 2.0000, 1.9000, 0
000224A6: jf                                       @000224E1
000224E1: return                                   
00021C8E: get_object_coords                        $var2030, $var2078, $var207C, $var2080
00021C9C: get_object_coords                        $var2040, $var2084, $var2088, $var208C
00021CAA: setggf                                   $var2090, $var2074
00021CB2: get_distance_between_two_points          $var2094, $var2098, $var2078, $var207C, $var2074
00021CC3: setggf                                   $var209C, $var2074
00021CCB: mulgf                                    $var209C, 2.0000
00021CD5: if                                       0
00021CD9:   gtfg                                   20.0000, $var209C
00021CE3: jf                                       @00021C25
00021C25: wait                                     100
Here's one of the crashes I got using the Debug script. I started a new game and was heading for staunton using the delofly.

Craig Kostelecky
  • Craig Kostelecky

    GTA:LC Team Leader

  • The Connection
  • Joined: 28 Jan 2004

#278

Posted 21 hours ago

That crash would not have been related to the scm script so that log doesn't help much. The top lines may help someone like Silent know what happened. 

 

I had seemingly random crashes while flying the DeLorean. Never seemed to narrow it down to anything I could fix in the scm. And they seem to happen rare enough that it doesn't screw things up too much.


ArchKnight
  • ArchKnight

    Dodge Charger

  • Members
  • Joined: 17 Jul 2013
  • United-Kingdom

#279

Posted 9 hours ago

That crash would not have been related to the scm script so that log doesn't help much. The top lines may help someone like Silent know what happened. 
 
I had seemingly random crashes while flying the DeLorean. Never seemed to narrow it down to anything I could fix in the scm. And they seem to happen rare enough that it doesn't screw things up too much.

Yeah, it's something related to Delorean. It didn't happen after that. I've not got any other crashes after that one.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users