Jump to content

Problem with TIREFIX THREAD


P.I.M.P_PL

Recommended Posts

Hi.

 

I have problem with this thread: TIREFIX

 

 

:TIREFIXthread 'TIREFIX' :TIREFIX_11wait 250 if   Player.Defined($PLAYER_CHAR)jf @TIREFIX_11 if and  Actor.Driving($PLAYER_ACTOR)84A7:   not is_actor $PLAYER_ACTOR driving_boat 84C8:   not is_actor $PLAYER_ACTOR driving_flying_vehicle jf @TIREFIX_11 12@ = 0 // L = INT 03C0: get_actor $PLAYER_ACTOR vehicle_handle_to $11289 //class B $11289 = Car.Model(0@)if 0A01:   is_modelID 0@ minimum_4wheels_vehicle //vehicles_only jf @TIREFIX_11 03F3: get_vehicle $11289 primary_color_to 20@ secondary_color_to 21@ 2@ = 4 // L = INT :TIREFIX_1151@ = 0 // L = INT :TIREFIX_122wait 10 if   Player.Defined($PLAYER_CHAR)jf @TIREFIX_1702 if   Actor.Driving($PLAYER_ACTOR)jf @TIREFIX_1574 if 001D:   2@ > 1@ // L > L (int) jf @TIREFIX_115 if 056E:   is $11289 valid_vehicle_handle jf @TIREFIX_1702 if 8496:   not is_vehicle $11289 tire 1@ deflated jf @TIREFIX_226 1@ += 1 // L += INT jump @TIREFIX_122 :TIREFIX_226wait 250 if   not Car.Wrecked($11289)jf @TIREFIX_1702 if and  not Actor.Driving($PLAYER_ACTOR)01C1:   has_vehicle $11289 stopped 09D0:   is_vehicle $11289 on_wheels jf @TIREFIX_226 0657: set_vehicle $11289 open_component 1 //class A components if   not 1@ == 0 // L == INT jf @TIREFIX_379 if   not 1@ == 1 // L == INT jf @TIREFIX_406 if   not 1@ == 2 // L == INT jf @TIREFIX_433 if  1@ == 3 // L == INT jf @TIREFIX_115 3@ = 1.0 // L = FLOAT 4@ = -2.0 // L = FLOAT jump @TIREFIX_453 :TIREFIX_3793@ = -1.0 // L = FLOAT 4@ = 2.0 // L = FLOAT jump @TIREFIX_453 :TIREFIX_4063@ = -1.0 // L = FLOAT 4@ = -2.0 // L = FLOAT jump @TIREFIX_453 :TIREFIX_4333@ = 1.0 // L = FLOAT 4@ = 2.0 // L = FLOAT :TIREFIX_453wait 0 0407: get_vehicle $11289 position_3D_coord_with_offset 0.0 -3.0 -0.3 store_to 5@ 6@ 7@ if   Player.Defined($PLAYER_CHAR)jf @TIREFIX_1702 if   not Actor.Driving($PLAYER_ACTOR)jf @TIREFIX_928 if   not Car.Wrecked($11289)jf @TIREFIX_1702 if 00FF:   is_actor $PLAYER_ACTOR near_3D_coord 5@ 6@ 7@ within_3D_radius 1.5 1.5 1.0 show_sphere 1 and_onfoot jf @TIREFIX_453 Model.Load(#WHEEL_OR1)04ED: load_animation "BOMBER" :TIREFIX_591wait 0 if and04EE:   has_animation_loaded "BOMBER"   Model.Available(#WHEEL_OR1)jf @TIREFIX_591 0407: get_vehicle $11289 position_3D_coord_with_offset 0.0 -2.5 -0.3 store_to 9@ 10@ 11@ #WHEEL_OR1 = Object.Create(9@, 10@, 11@, 8@)$11289 = Car.Angle(13@)13@ += 270.0 // L += FLOAT Object.Angle(8@) = 13@054C: use_GXT_table 'ZERO4' 03E5: display_text_box 'Z4_H13'  // Press ~k~~VEHICLE_ENTER_EXIT~ to pick up object.08D2: set_object 8@ model_scale_to 0.6 //float 08E9: set_object 8@ liftable 1 Object.CollisionDetection(8@) = TrueObject.ToggleInMovingList(8@) = True:TIREFIX_746wait 0 if   Player.Defined($PLAYER_CHAR)jf @TIREFIX_1702 if   not Actor.Driving($PLAYER_ACTOR)jf @TIREFIX_928 if   not Car.Wrecked($11289)jf @TIREFIX_1702 $11289 = Car.Angle(13@)13@ += 270.0 // L += FLOAT 08D2: set_object 8@ model_scale_to 0.6 //float 0407: get_vehicle $11289 position_3D_coord_with_offset 0.0 -2.5 0.2 store_to 14@ 15@ 16@ Object.PutAt(8@, 14@, 15@, 16@)Object.Angle(8@) = 13@if 0737:   is_actor $PLAYER_ACTOR holding_object 8@ jf @TIREFIX_746 03D5: remove_text 'Z4_H13'  // Press ~k~~VEHICLE_ENTER_EXIT~ to pick up object.095E: set_vehicle $11289 component 1 manipulation 1 value -1.0 //class A components jump @TIREFIX_960 :TIREFIX_92803D5: remove_text 'Z4_H13'  // Press ~k~~VEHICLE_ENTER_EXIT~ to pick up object.095E: set_vehicle $11289 component 1 manipulation 1 value -1.0 //class A components jump @TIREFIX_1574 :TIREFIX_960wait 0 if   Player.Defined($PLAYER_CHAR)jf @TIREFIX_1702 if   not Actor.Driving($PLAYER_ACTOR)jf @TIREFIX_1574 if   not Car.Wrecked($11289)jf @TIREFIX_1702 0407: get_vehicle $11289 position_3D_coord_with_offset 3@ 4@ -0.2 store_to 17@ 18@ 19@ if and8737:   not is_actor $PLAYER_ACTOR holding_object 8@ 0597:   is_actor $PLAYER_ACTOR crouching 00FF:   is_actor $PLAYER_ACTOR near_3D_coord 17@ 18@ 19@ within_3D_radius 2.0 2.0 1.0 show_sphere 1 and_onfoot 0471:   is_actor $PLAYER_ACTOR within_rectangle_with_center_at_object 8@ half_width 1.0 half_height 1.0 flag 0 jf @TIREFIX_960 0668: AS_actor $PLAYER_ACTOR rotate_and_fire_at_3D_coord 17@ 18@ 19@ timelimit 1500 Player.CanMove($PLAYER_CHAR) = FalseCar.LockInCurrentPosition($11289) = True32@ = 0 // L = INT 008A: $11290 = 32@ // G = L (int) $11290 /= 100 // G /= INT 03C4: print_status $11290 type 1 GXT_reference 'STAT_1' 0605: set_actor $PLAYER_ACTOR perform_animation "BOM_PLANT_IN" file "BOMBER" 4.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit -1 //versionA 0605: set_actor $PLAYER_ACTOR perform_animation "BOM_PLANT_LOOP" file "BOMBER" 4.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 5000 //versionA 054C: use_GXT_table 'STEAL5' 00BC: print_now_GXT_reference 'STL5_AC' timelimit 5000 flag 1 //high priority  // ~z~Just about to fix the tires, should be back any minute.:TIREFIX_1295wait 0 008A: $11290 = 32@ // G = L (int) $11290 /= 100 // G /= INT if and  Player.Defined($PLAYER_CHAR)  not $1397 == 1 // G == INT jf @TIREFIX_1702 if  32@ > 5200 // L > INT jf @TIREFIX_1295 Object.Destroy(8@)0605: set_actor $PLAYER_ACTOR perform_animation "BOM_PLANT_LOOP" file "BOMBER" 4.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 5000 //versionA :TIREFIX_1406wait 0 008A: $11290 = 32@ // G = L (int) $11290 /= 100 // G /= INT if and  Player.Defined($PLAYER_CHAR)  not $1397 == 1 // G == INT jf @TIREFIX_1702 if  32@ > 10000 // L > INT jf @TIREFIX_1406 0605: set_actor $PLAYER_ACTOR perform_animation "BOM_PLANT_CROUCH_OUT" file "BOMBER" 4.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit -1 //versionA Player.CanMove($PLAYER_CHAR) = TrueCar.LockInCurrentPosition($11289) = False0151: remove_status_text $11290 0699: set_vehicle $11289 repair_tire 1@ 12@ = 1 // L = INT Model.Destroy(#WHEEL_OR1)04EF: mark_animation_as_no_longer_needed "BOMBER" $11128 = Car.Health(5@):TIREFIX_1574wait 0 if   Player.Defined($PLAYER_CHAR)jf @TIREFIX_1702 if   Actor.Driving($PLAYER_ACTOR)jf @TIREFIX_1574 if and056E:   is $11289 valid_vehicle_handle   not $11289 == 0 // G == INT jf @TIREFIX_1734 if 0448:   is_actor $PLAYER_ACTOR inside_vehicle $11289 jf @TIREFIX_1759 if 03CA:   is 8@ valid_object_handle jf @TIREFIX_1673 Object.Destroy(8@):TIREFIX_1673wait 0 if 04A4:   12@ == 1 // integer values OR floating-point values jf @TIREFIX_115 jump @TIREFIX_1759 :TIREFIX_1702wait 0 if and056E:   is $11289 valid_vehicle_handle   not $11289 == 0 // G == INT jf @TIREFIX_1734 Car.RemoveReferences($11289):TIREFIX_1734wait 0 if 03CA:   is 8@ valid_object_handle jf @TIREFIX_1759 Object.Destroy(8@):TIREFIX_1759wait 0 if   Player.Defined($PLAYER_CHAR)jf @TIREFIX_11 if   Actor.Driving($PLAYER_ACTOR)jf @TIREFIX_1574 03C0: get_actor $PLAYER_ACTOR vehicle_handle_to $11289 //class B 03F3: get_vehicle $11289 primary_color_to 22@ secondary_color_to 23@ if and  Car.Model($11289) == 0@04A4:   20@ == 21@ // integer values OR floating-point values 04A4:   22@ == 23@ // integer values OR floating-point values jf @TIREFIX_11 if 04A4:   12@ == 1 // integer values OR floating-point values jf @TIREFIX_115 jump @TIREFIX_1574 

 

when the cj complite change the wheel and stand i can't move and shoot and i can't do nothing.And move the camera.

 

Please help.

Link to comment
Share on other sites

 

when the cj complite change the wheel and stand i can't move and shoot and i can't do nothing.And move the camera.

 

Please help.

like freezing?

 

This is one reason why I dont like this system of sanny builder with unavailable opcodes

 

your code:

 

Model.Destroy(#WHEEL_OR1)

 

what is it?

use the opcode search for Model.Destroy

what should you init there?

Maybe its not the reason of the problem but i think its a mistake

 

The main reason seems to be this

 

0227: $11128 = car 5@ health

 

 

car 5@ didnt exist

Link to comment
Share on other sites

when the cj complite change the wheel and stand i can't move and shoot and i can't do nothing.And move the camera.

 

Please help.

like freezing?

 

This is one reason why I dont like this system of sanny builder with unavailable opcodes

 

your code:

 

Model.Destroy(#WHEEL_OR1)

 

what is it?

use the opcode search for Model.Destroy

what should you init there?

Maybe its not the reason of the problem but i think its a mistake

 

The main reason seems to be this

 

0227: $11128 = car 5@ health

 

 

car 5@ didnt exist

ok i try do this changes.

 

Yes it freezing but i can go to menu and exit game.

 

But only sanny builder is good to compile scripts to .cs files.

Link to comment
Share on other sites

 

 

But only sanny builder is good to compile scripts to .cs files.

I mean the system without displaying the opcodes i dont like.

Link to comment
Share on other sites

hmmm i have very queer answer:

 

when i load the save game and want to fix the wheel the game freezing but when i start new game the cj change wheel normally (without any freezing)

 

maybe its be but the cleo script compile with the new sascm.ini??(it request new sascm.ini to good work)

Edited by P.I.M.P_PL
Link to comment
Share on other sites

 

maybe its be but the cleo script compile with the new sascm.ini??(it request new sascm.ini to good work)

sannybuilder compile, decompile and convert MB>SB allways with that sascm.ini which is available in

Sanny Builder 3\data\sa

by default its Seemanns "sanny"-sascm.ini

Seemann:

 

SB's SASCM.INI based on space's SASCM.INI from 25.11.2005. Since this date I never changed the param order, only update the descriptions (mostly in 2007).
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.