CLEO Help Help with this Turbo Speed script.

CLEO related
Status
Not open for further replies.

grassyass

Member
Joined
Dec 26, 2014
Messages
5
Reaction score
0
Hey I found this turbo scrip but it gives me a lot of warnings when a car is despawned.

this erros.

Code:
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x4082C0
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x0
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x0
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x4897E4
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x465FA1
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x0
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x486DDF
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x4874A2
[23:03:49] Warning(s007): Exception 0xC0000005 at 0x4861F4

Here's de decompiled script.
Code:
{$CLEO .cs}

//-------------MAIN---------------
thread 'ANMZTRB' 

:ANMZTRB_11
wait 0 
if and
056D:   actor $PLAYER_ACTOR defined 
   Player.Defined($PLAYER_CHAR)
else_jump @ANMZTRB_11 

:ANMZTRB_36
wait 0 
if 
   Actor.Driving($PLAYER_ACTOR)
else_jump @ANMZTRB_36 
0811: 0@ = actor $PLAYER_ACTOR used_car 
Car.SetMaxSpeed(0@, 10000.0)

:ANMZTRB_74
wait 0 
if and
00E1:   player 0 pressed_key 16 
80E1:   not player 0 pressed_key 14 
80E1:   not player 0 pressed_key 6 
0AB0:   key_pressed 16 
else_jump @ANMZTRB_395 
if and
   not Actor.DrivingPlane($PLAYER_ACTOR)
84C8:   not actor $PLAYER_ACTOR driving_flying_vehicle 
84A9:   not actor $PLAYER_ACTOR driving_heli 
else_jump @ANMZTRB_274 
if 
09D0:   car 0@ on_wheels 
else_jump @ANMZTRB_395 
Car.StorePos(0@, 30@, 29@, 28@)
0407: store_coords_to 33@ 32@ 31@ from_car 0@ with_offset 0.0 10.0 -1.0 
0AB1: call_scm_func @ANMZTRB_1348 7 30@ 29@ 28@ 33@ 32@ 31@ 0.04 33@ 32@ 31@  
07D5: set_car 0@ velocity_in_direction_XYZ 33@ 32@ 31@ rotation_velocitiesXY 0.0 0.0 unk 0.0 
jump @ANMZTRB_395 

:ANMZTRB_274
Car.StorePos(0@, 30@, 29@, 28@)
0407: store_coords_to 33@ 32@ 31@ from_car 0@ with_offset 0.0 10.0 0.0 
0AB1: call_scm_func @ANMZTRB_1348 7 30@ 29@ 28@ 33@ 32@ 31@ 0.1 33@ 32@ 31@  
07D5: set_car 0@ velocity_in_direction_XYZ 33@ 32@ 31@ rotation_velocitiesXY 0.0 0.0 unk 0.0 
jump @ANMZTRB_703 

:ANMZTRB_395
wait 0 
if and
00E1:   player 0 pressed_key 14 
80E1:   not player 0 pressed_key 16 
0AB0:   key_pressed 16 
else_jump @ANMZTRB_703 
if and
   not Actor.DrivingPlane($PLAYER_ACTOR)
84C8:   not actor $PLAYER_ACTOR driving_flying_vehicle 
84A9:   not actor $PLAYER_ACTOR driving_heli 
else_jump @ANMZTRB_589 
if 
09D0:   car 0@ on_wheels 
else_jump @ANMZTRB_703 
Car.StorePos(0@, 30@, 29@, 28@)
0407: store_coords_to 33@ 32@ 31@ from_car 0@ with_offset 0.0 -10.0 -1.0 
0AB1: call_scm_func @ANMZTRB_1348 7 30@ 29@ 28@ 33@ 32@ 31@ 0.04 33@ 32@ 31@  
07D5: set_car 0@ velocity_in_direction_XYZ 33@ 32@ 31@ rotation_velocitiesXY 0.0 0.0 unk 0.0 
jump @ANMZTRB_703 

:ANMZTRB_589
Car.StorePos(0@, 30@, 29@, 28@)
0407: store_coords_to 33@ 32@ 31@ from_car 0@ with_offset 0.0 -10.0 0.0 
0AB1: call_scm_func @ANMZTRB_1348 7 30@ 29@ 28@ 33@ 32@ 31@ 0.1 33@ 32@ 31@  
07D5: set_car 0@ velocity_in_direction_XYZ 33@ 32@ 31@ rotation_velocitiesXY 0.0 0.0 unk 0.0 

:ANMZTRB_703
02E3: 33@ = car 0@ speed 
if 
  33@ > 65.0 
else_jump @ANMZTRB_1011 
if 
   Actor.DrivingPlane($PLAYER_ACTOR)
else_jump @ANMZTRB_769 
if 
  33@ > 80.0 
else_jump @ANMZTRB_1011 

:ANMZTRB_769
Car.StorePos(0@, 33@, 32@, 31@)
095C: create_smoke_at 33@ 32@ 31@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 1.0 size 10.0 last_factor 0.01 
095C: create_smoke_at 33@ 32@ 31@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 1.0 size 10.0 last_factor 0.01 
095C: create_smoke_at 33@ 32@ 31@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 1.0 size 10.0 last_factor 0.01 
095C: create_smoke_at 33@ 32@ 31@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 1.0 size 5.0 last_factor 0.1 
Camera.Shake(50)

:ANMZTRB_1011
if and
00E1:   player 0 pressed_key 16 
00E1:   player 0 pressed_key 14 
01C1:   car 0@ stopped 
else_jump @ANMZTRB_1109 
33@ = 0.0 

:ANMZTRB_1049
wait 0 
33@ += 2.5 
if or
80E1:   not player 0 pressed_key 16 
80E1:   not player 0 pressed_key 14 
else_jump @ANMZTRB_1049 
if 
0AB0:   key_pressed 16 
else_jump @ANMZTRB_1109 
Car.SetSpeedInstantly(0@, 33@)

:ANMZTRB_1109
if and
00E1:   player 0 pressed_key 6 
80E1:   not player 0 pressed_key 16 
0AB0:   key_pressed 16 
else_jump @ANMZTRB_1256 
if and
   not Actor.DrivingPlane($PLAYER_ACTOR)
84C8:   not actor $PLAYER_ACTOR driving_flying_vehicle 
84A9:   not actor $PLAYER_ACTOR driving_heli 
else_jump @ANMZTRB_1183 
if and
81F3:   not car 0@ in_air 
81F4:   not car 0@ flipped 
else_jump @ANMZTRB_1256 

:ANMZTRB_1183
06A2: get_car 0@ velocity_in_direction_XYZ 33@ 32@ 31@ 
33@ *= -0.005 
32@ *= -0.005 
31@ *= -0.005 
07D5: set_car 0@ velocity_in_direction_XYZ 33@ 32@ 31@ rotation_velocitiesXY 0.0 0.0 unk 0.0 

:ANMZTRB_1256
if or
   not Actor.InCar($PLAYER_ACTOR, 0@)
   Car.Wrecked(0@)
else_jump @ANMZTRB_1299 
Car.RemoveReferences(0@)
0@ = -1 
jump @ANMZTRB_11 

:ANMZTRB_1299
if and
   Player.Defined($PLAYER_CHAR)
056D:   actor $PLAYER_ACTOR defined 
else_jump @ANMZTRB_11 
jump @ANMZTRB_74 
0662: printstring "Zona de Funciones" 

:ANMZTRB_1348
0509: 7@ = distance_between_XY 0@ 1@ and_XY 3@ 4@ 
050A: 8@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 3@ 4@ 5@ 
0063: 3@ -= 0@ // (float) 
0063: 4@ -= 1@ // (float) 
0063: 5@ -= 2@ // (float) 
0073: 3@ /= 7@ // (float) 
0073: 4@ /= 7@ // (float) 
0073: 7@ /= 8@ // (float) 
0073: 5@ /= 8@ // (float) 
006B: 5@ *= 6@ // (float) 
006B: 6@ *= 7@ // (float) 
006B: 3@ *= 6@ // (float) 
006B: 4@ *= 6@ // (float) 
0AB2: ret 3 3@ 4@ 5@
 

Attachments

  • velocidad turbo byalbeiro.cs
    18.6 KB · Views: 30

Montri

Active member
Joined
Aug 18, 2014
Messages
38
Reaction score
0
Just search for a better speed booster, man!
I'm using smartspeedboost by xzytro, this one has a modifiable .ini also.
 
Status
Not open for further replies.
Top