EAZYJ Posted March 18 Share Posted March 18 (edited) Hello everyone, I don't understand, my game crashes during my mission cleanup for some unknown reason. When I check SCRlog I get this error '00068999&0: [704D] COMMAND_704D' Really I haven't been able to identify what it is. It crashes during the restart part, approximately at :MISSION1_VERIFICATION_RESTART_2 :MISSION1_VERIFICATION wait 5700 if $MISSION1_COMPLETED == 1 jf @MISSION1_VERIFICATION_RESTART fade 0 500 $RESTART = 0 mission_cleanup return :MISSION1_VERIFICATION_RESTART wait 0 fade 0 500 wait 500 04C4: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_actor $3 with_offset 0.0 0.0 0.0 0395: clear_area 1 at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 100.0 048F: actor $3 remove_weapons :MISSION1_VERIFICATION_RESTART_2 wait 0 if Actor.Driving($3) jf @MISSION1_VERIFICATION_0 00D9: $PLAYER_CAR = actor $3 car // add to mission cleanup 05CD: AS_actor $3 exit_car $PLAYER_CAR :MISSION1_VERIFICATION_RESTART_3 wait 0 if not Actor.Driving($3) jf @MISSION1_VERIFICATION_RESTART_3 wait 250 Car.Destroy($PLAYER_CAR) wait 1000 0687: clear_actor $3 task :MISSION1_VERIFICATION_0 wait 0 $RESTART = 1 $ONMISSION = 1 return end_thread Thank you for any help ! Edited March 18 by EAZYJ Link to comment Share on other sites More sharing options...
ZAZ Posted March 19 Share Posted March 19 change this 00D9: $PLAYER_CAR = actor $3 car // add to mission cleanup 05CD: AS_actor $3 exit_car $PLAYER_CAR to this 0633: AS_actor $3 exit_car if it doesn't help, then post the whole mission script CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
EAZYJ Posted March 21 Author Share Posted March 21 Thanks ZAZ but turns out the mission size was the problem, it exceeded the limit of 69Kb... After some optimization, I got it down to 68Kb and it stopped crashing during the cleanup. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now