CLEO Help CLEO mod editing/fixing.

CLEO related
Status
Not open for further replies.

PlayFriik

Active member
Joined
Jul 25, 2013
Messages
41
Reaction score
0
Hello, today I tried Remote control car mod and if I remote control it then the car is so slow.. When I drive it then it's faster. Any help with fixing it? By the way, it consist 2 cleo files..

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

//-------------MAIN---------------
thread 'KRRC' 

:KRRC_11
wait 0 
if and
   Player.Defined($PLAYER_CHAR)
   not Actor.Dead($PLAYER_ACTOR)
   not Actor.DrivingPlane($PLAYER_ACTOR)
   Actor.Driving($PLAYER_ACTOR)
else_jump @KRRC_11 
0@ = Actor.CurrentCar($PLAYER_ACTOR)
jump @KRRC_61 

:KRRC_61
wait 0 
if and
0AB0:   key_pressed 17 
0AB0:   key_pressed 78 
   not Actor.Driving($PLAYER_ACTOR)
else_jump @KRRC_61 
jump @KRRC_96 

:KRRC_96
if 
   not Car.Wrecked(0@)
else_jump @KRRC_324 
wait 0 
0407: store_coords_to 1@ 2@ 3@ from_car 0@ with_offset 0.1 0.0 0.0 
02C2: car 0@ drive_to 1@ 2@ 3@ 
jump @KRRC_166 

:KRRC_166
wait 0 
if and
   Player.Defined($PLAYER_ACTOR)
   not Actor.Driving($PLAYER_ACTOR)
else_jump @KRRC_324 
jump @KRRC_198 

:KRRC_198
if and
   not Car.Wrecked(0@)
   not Actor.Dead($PLAYER_ACTOR)
else_jump @KRRC_324 
jump @KRRC_226 

:KRRC_226
if 
0AB0:   key_pressed 88 
else_jump @KRRC_166 
jump @KRRC_248 

:KRRC_248
wait 0 
if 
0AB0:   key_pressed 90 
else_jump @KRRC_274 
jump @KRRC_166 

:KRRC_274
if and
   Player.Defined($PLAYER_ACTOR)
   not Actor.Dead($PLAYER_ACTOR)
   not Actor.Dead($PLAYER_ACTOR)
   not Car.Wrecked(0@)
   not Actor.Driving($PLAYER_ACTOR)
else_jump @KRRC_324 
0918: set_car 0@ engine_operation 1 
jump @KRRC_248 

:KRRC_324
Car.RemoveReferences(0@)
jump @KRRC_11

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

//-------------MAIN---------------
thread 'KRRC' 

:KRRC_11
wait 0 
if and
   Player.Defined($PLAYER_CHAR)
   not Actor.Dead($PLAYER_ACTOR)
   not Actor.DrivingPlane($PLAYER_ACTOR)
   Actor.Driving($PLAYER_ACTOR)
jf @KRRC_11 
0@ = Actor.CurrentCar($PLAYER_ACTOR)
jump @KRRC_61 

:KRRC_61
wait 0 
if and
0AB0:   key_pressed 17 
0AB0:   key_pressed 78 
   not Actor.Driving($PLAYER_ACTOR)
jf @KRRC_61 
jump @KRRC_96 

:KRRC_96
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
wait 0 
0407: store_coords_to 1@ 2@ 3@ from_car 0@ with_offset 0.1 0.0 0.0 
02C2: car 0@ drive_to 1@ 2@ 3@ 
jump @KRRC_166 

:KRRC_166
wait 0 
if 
   Player.Defined($PLAYER_ACTOR)
jf @KRRC_1244 
if 
   not Actor.Driving($PLAYER_ACTOR)
jf @KRRC_11 
jump @KRRC_209 

:KRRC_209
if and
   not Car.Wrecked(0@)
   not Actor.Dead($PLAYER_ACTOR)
jf @KRRC_1244 
jump @KRRC_237 

:KRRC_237
if 
0AB0:   key_pressed 100 
jf @KRRC_259 
jump @KRRC_635 

:KRRC_259
if 
0AB0:   key_pressed 107 
jf @KRRC_281 
jump @KRRC_671 

:KRRC_281
if 
0AB0:   key_pressed 109 
jf @KRRC_303 
jump @KRRC_705 

:KRRC_303
if 
0AB0:   key_pressed 102 
jf @KRRC_325 
jump @KRRC_739 

:KRRC_325
if 
0AB0:   key_pressed 101 
jf @KRRC_399 
jump @KRRC_347 

:KRRC_347
if and
0AB0:   key_pressed 101 
0AB0:   key_pressed 102 
jf @KRRC_373 
jump @KRRC_919 

:KRRC_373
if and
0AB0:   key_pressed 101 
0AB0:   key_pressed 100 
jf @KRRC_775 
jump @KRRC_883 

:KRRC_399
if 
0AB0:   key_pressed 103 
jf @KRRC_421 
jump @KRRC_955 

:KRRC_421
if 
0AB0:   key_pressed 105 
jf @KRRC_443 
jump @KRRC_989 

:KRRC_443
if 
0AB0:   key_pressed 98 
jf @KRRC_465 
jump @KRRC_1023 

:KRRC_465
if 
0AB0:   key_pressed 104 
jf @KRRC_539 
jump @KRRC_487 

:KRRC_487
if and
0AB0:   key_pressed 104 
0AB0:   key_pressed 102 
jf @KRRC_513 
jump @KRRC_811 

:KRRC_513
if and
0AB0:   key_pressed 104 
0AB0:   key_pressed 100 
jf @KRRC_1059 
jump @KRRC_847 

:KRRC_539
if and
0AB0:   key_pressed 17 
0AB0:   key_pressed 104 
jf @KRRC_565 
jump @KRRC_1095 

:KRRC_565
if and
0AB0:   key_pressed 17 
0AB0:   key_pressed 101 
jf @KRRC_591 
jump @KRRC_1139 

:KRRC_591
if 
0AB0:   key_pressed 97 
jf @KRRC_613 
jump @KRRC_1176 

:KRRC_613
if 
0AB0:   key_pressed 99 
jf @KRRC_166 
jump @KRRC_1210 

:KRRC_635
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 10, 50)
jump @KRRC_237 

:KRRC_671
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
067F: set_car 0@ lights 1 
jump @KRRC_259 

:KRRC_705
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
067F: set_car 0@ lights 2 
jump @KRRC_281 

:KRRC_739
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 11, 50)
jump @KRRC_303 

:KRRC_775
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 3, 50)
jump @KRRC_325 

:KRRC_811
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 8, 50)
jump @KRRC_465 

:KRRC_847
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 7, 50)
jump @KRRC_465 

:KRRC_883
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 13, 50)
jump @KRRC_325 

:KRRC_919
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 14, 50)
jump @KRRC_325 

:KRRC_955
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.DoorStatus(0@) = 2
jump @KRRC_399 

:KRRC_989
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.DoorStatus(0@) = 1
jump @KRRC_421 

:KRRC_1023
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 1, 50)
jump @KRRC_443 

:KRRC_1059
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 9, 50)
jump @KRRC_465 

:KRRC_1095
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetMaxSpeed(0@, 300.0)
Car.SetDriverBehaviour(0@, FollowRoad)
jump @KRRC_539 

:KRRC_1139
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetMaxSpeed(0@, 0.0)
jump @KRRC_565 

:KRRC_1176
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
0918: set_car 0@ engine_operation 1 
jump @KRRC_591 

:KRRC_1210
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
0918: set_car 0@ engine_operation 0 
jump @KRRC_613 

:KRRC_1244
Car.RemoveReferences(0@)
jump @KRRC_11 
wait 2000 
jump @KRRC_11
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'KRRC' 

:KRRC_11
wait 0 
if and
   Player.Defined($PLAYER_CHAR)
   not Actor.Dead($PLAYER_ACTOR)
   not Actor.DrivingPlane($PLAYER_ACTOR)
   Actor.Driving($PLAYER_ACTOR)
jf @KRRC_11 
0@ = Actor.CurrentCar($PLAYER_ACTOR)
jump @KRRC_61 

:KRRC_61
wait 0 
if and
0AB0:   key_pressed 17 
0AB0:   key_pressed 78 
   not Actor.Driving($PLAYER_ACTOR)
jf @KRRC_61 
jump @KRRC_96 

:KRRC_96
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
wait 0 
0407: store_coords_to 1@ 2@ 3@ from_car 0@ with_offset 0.1 0.0 0.0 
02C2: car 0@ drive_to 1@ 2@ 3@ 
jump @KRRC_166 

:KRRC_166
wait 0 
if 
   Player.Defined($PLAYER_ACTOR)
jf @KRRC_1244 
if 
   not Actor.Driving($PLAYER_ACTOR)
jf @KRRC_11 
jump @KRRC_209 

:KRRC_209
if and
   not Car.Wrecked(0@)
   not Actor.Dead($PLAYER_ACTOR)
jf @KRRC_1244 
jump @KRRC_237 

:KRRC_237
if 
0AB0:   key_pressed 100 
jf @KRRC_259 
jump @KRRC_635 

:KRRC_259
if 
0AB0:   key_pressed 107 
jf @KRRC_281 
jump @KRRC_671 

:KRRC_281
if 
0AB0:   key_pressed 109 
jf @KRRC_303 
jump @KRRC_705 

:KRRC_303
if 
0AB0:   key_pressed 102 
jf @KRRC_325 
jump @KRRC_739 

:KRRC_325
if 
0AB0:   key_pressed 101 
jf @KRRC_399 
jump @KRRC_347 

:KRRC_347
if and
0AB0:   key_pressed 101 
0AB0:   key_pressed 102 
jf @KRRC_373 
jump @KRRC_919 

:KRRC_373
if and
0AB0:   key_pressed 101 
0AB0:   key_pressed 100 
jf @KRRC_775 
jump @KRRC_883 

:KRRC_399
if 
0AB0:   key_pressed 103 
jf @KRRC_421 
jump @KRRC_955 

:KRRC_421
if 
0AB0:   key_pressed 105 
jf @KRRC_443 
jump @KRRC_989 

:KRRC_443
if 
0AB0:   key_pressed 98 
jf @KRRC_465 
jump @KRRC_1023 

:KRRC_465
if 
0AB0:   key_pressed 104 
jf @KRRC_539 
jump @KRRC_487 

:KRRC_487
if and
0AB0:   key_pressed 104 
0AB0:   key_pressed 102 
jf @KRRC_513 
jump @KRRC_811 

:KRRC_513
if and
0AB0:   key_pressed 104 
0AB0:   key_pressed 100 
jf @KRRC_1059 
jump @KRRC_847 

:KRRC_539
if and
0AB0:   key_pressed 17 
0AB0:   key_pressed 104 
jf @KRRC_565 
jump @KRRC_1095 

:KRRC_565
if and
0AB0:   key_pressed 17 
0AB0:   key_pressed 101 
jf @KRRC_591 
jump @KRRC_1139 

:KRRC_591
if 
0AB0:   key_pressed 97 
jf @KRRC_613 
jump @KRRC_1176 

:KRRC_613
if 
0AB0:   key_pressed 99 
jf @KRRC_166 
jump @KRRC_1210 

:KRRC_635
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 10, 50)
jump @KRRC_237 

:KRRC_671
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
067F: set_car 0@ lights 1 
jump @KRRC_259 

:KRRC_705
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
067F: set_car 0@ lights 2 
jump @KRRC_281 

:KRRC_739
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 11, 50)
jump @KRRC_303 

:KRRC_775
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 3, 50)
jump @KRRC_325 

:KRRC_811
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 8, 50)
jump @KRRC_465 

:KRRC_847
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 7, 50)
jump @KRRC_465 

:KRRC_883
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 13, 50)
jump @KRRC_325 

:KRRC_919
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 14, 50)
jump @KRRC_325 

:KRRC_955
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.DoorStatus(0@) = 2
jump @KRRC_399 

:KRRC_989
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.DoorStatus(0@) = 1
jump @KRRC_421 

:KRRC_1023
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 1, 50)
jump @KRRC_443 

:KRRC_1059
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetAnimation(0@, 9, 50)
jump @KRRC_465 

:KRRC_1095
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
Car.SetMaxSpeed(0@, 300.0)
Car.SetDriverBehaviour(0@, FollowRoad)
jump @KRRC_539 

:KRRC_1139
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
jump @KRRC_565 

:KRRC_1176
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
0918: set_car 0@ engine_operation 1 
jump @KRRC_591 

:KRRC_1210
wait 0 
if 
   not Car.Wrecked(0@)
jf @KRRC_1244 
0918: set_car 0@ engine_operation 0 
jump @KRRC_613 

:KRRC_1244
Car.RemoveReferences(0@)
jump @KRRC_11 
wait 2000 
jump @KRRC_11
 

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
I have used that cleo too, and i think its outdated. It was for 0.3e if i remember right. Not sure.
 

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
Well if i remeber right, the same feature is in N3X Project, so use it currently. I can look up the script and think with my low skills how to update it.
 

PlayFriik

Active member
Joined
Jul 25, 2013
Messages
41
Reaction score
0
not490 link said:
Well if i remeber right, the same feature is in N3X Project, so use it currently. I can look up the script and think with my low skills how to update it.
Okay, thank you!
 
Status
Not open for further replies.
Top