johnpiou Posted August 16, 2021 Share Posted August 16, 2021 So like i am doing 100% of GTA:SA and i noticed when i went to the dealership, after the races were unlocked that the flag blip for the street races in san fierro is not there. Opening up the map i see both the san fierro and las venturas street races are not in the right place meaning i cant access em. Is there any way i can fix that? https://imgur.com/a/PZIGRkB - This is the Map i see Link to comment Share on other sites More sharing options...
OrionSR Posted August 16, 2021 Share Posted August 16, 2021 (edited) 3 hours ago, johnpiou said: Is there any way i can fix that? The location variables for your race coordinates have probably been corrupted by a poorly written cleo script. Based on that assumption, I've written a cleo script that should reset existing race coordinates and markers to their default locations. If the buggy script that caused the problem is not identified and removed then it is likely that races won't start even if CJ and the icon are in the correct location. This script has not been tested. RaceFix.cs - pre-compiled; Install to SA's cleo folder; activate by typing "RACEFIX" on a keyboard like you'd enter a standard cheat code. The script should show a text box when the string has been entered, and play a sound when the script has completed the job. The script will not terminate, and should be removed from the cleo folder when no longer needed. Text version for reference (and I'm not sure how long that link will last): Spoiler {$CLEO .cs} // RaceFix.txt const CheatString = "RACEFIX" SOUND_BUY_CAR_MOD = 1133 end 03A4: name_thread 'RaceFix' wait 3000 while true wait 0 if 0ADC: test_cheat CheatString then 0ACE: show_formatted_text_box "Repairing street race starting points and icons." 0005: $X_Race_Tournament_Point[0] = 1766.134 0005: $Y_Race_Tournament_Point[0] = -1704.228 0005: $Z_Race_Tournament_Point[0] = 12.4731 0005: $X_Race_Tournament_Point[1] = -1922.922 0005: $Y_Race_Tournament_Point[1] = 282.7151 0005: $Z_Race_Tournament_Point[1] = 40.0391 0005: $X_Race_Tournament_Point[2] = 1636.916 0005: $Y_Race_Tournament_Point[2] = 912.9478 0005: $Z_Race_Tournament_Point[2] = 9.689 0005: $X_Race_Tournament_Point[3] = 1701.69 0005: $Y_Race_Tournament_Point[3] = 1649.193 0005: $Z_Race_Tournament_Point[3] = 9.6296 0164: disable_marker $528 // LS 0164: disable_marker $529 // SF 0164: disable_marker $530 // LV 0164: disable_marker $531 // LV Air 0570: $528 = create_asset_radar_marker_with_icon 53 at $X_Race_Tournament_Point[0] $Y_Race_Tournament_Point[0] $Z_Race_Tournament_Point[0] 0570: $529 = create_asset_radar_marker_with_icon 53 at $X_Race_Tournament_Point[1] $Y_Race_Tournament_Point[1] $Z_Race_Tournament_Point[1] 0570: $530 = create_asset_radar_marker_with_icon 53 at $X_Race_Tournament_Point[2] $Y_Race_Tournament_Point[2] $Z_Race_Tournament_Point[2] 0570: $531 = create_asset_radar_marker_with_icon 53 at $X_Race_Tournament_Point[3] $Y_Race_Tournament_Point[3] $Z_Race_Tournament_Point[3] wait 3000 09F1: play_audio_at_actor $player_actor event SOUND_BUY_CAR_MOD end end Edited August 16, 2021 by OrionSR johnpiou 1 Link to comment Share on other sites More sharing options...
johnpiou Posted August 17, 2021 Author Share Posted August 17, 2021 15 hours ago, OrionSR said: The location variables for your race coordinates have probably been corrupted by a poorly written cleo script. Based on that assumption, I've written a cleo script that should reset existing race coordinates and markers to their default locations. If the buggy script that caused the problem is not identified and removed then it is likely that races won't start even if CJ and the icon are in the correct location. This script has not been tested. RaceFix.cs - pre-compiled; Install to SA's cleo folder; activate by typing "RACEFIX" on a keyboard like you'd enter a standard cheat code. The script should show a text box when the string has been entered, and play a sound when the script has completed the job. The script will not terminate, and should be removed from the cleo folder when no longer needed. Text version for reference (and I'm not sure how long that link will last): Reveal hidden contents {$CLEO .cs} // RaceFix.txt const CheatString = "RACEFIX" SOUND_BUY_CAR_MOD = 1133 end 03A4: name_thread 'RaceFix' wait 3000 while true wait 0 if 0ADC: test_cheat CheatString then 0ACE: show_formatted_text_box "Repairing street race starting points and icons." 0005: $X_Race_Tournament_Point[0] = 1766.134 0005: $Y_Race_Tournament_Point[0] = -1704.228 0005: $Z_Race_Tournament_Point[0] = 12.4731 0005: $X_Race_Tournament_Point[1] = -1922.922 0005: $Y_Race_Tournament_Point[1] = 282.7151 0005: $Z_Race_Tournament_Point[1] = 40.0391 0005: $X_Race_Tournament_Point[2] = 1636.916 0005: $Y_Race_Tournament_Point[2] = 912.9478 0005: $Z_Race_Tournament_Point[2] = 9.689 0005: $X_Race_Tournament_Point[3] = 1701.69 0005: $Y_Race_Tournament_Point[3] = 1649.193 0005: $Z_Race_Tournament_Point[3] = 9.6296 0164: disable_marker $528 // LS 0164: disable_marker $529 // SF 0164: disable_marker $530 // LV 0164: disable_marker $531 // LV Air 0570: $528 = create_asset_radar_marker_with_icon 53 at $X_Race_Tournament_Point[0] $Y_Race_Tournament_Point[0] $Z_Race_Tournament_Point[0] 0570: $529 = create_asset_radar_marker_with_icon 53 at $X_Race_Tournament_Point[1] $Y_Race_Tournament_Point[1] $Z_Race_Tournament_Point[1] 0570: $530 = create_asset_radar_marker_with_icon 53 at $X_Race_Tournament_Point[2] $Y_Race_Tournament_Point[2] $Z_Race_Tournament_Point[2] 0570: $531 = create_asset_radar_marker_with_icon 53 at $X_Race_Tournament_Point[3] $Y_Race_Tournament_Point[3] $Z_Race_Tournament_Point[3] wait 3000 09F1: play_audio_at_actor $player_actor event SOUND_BUY_CAR_MOD end end Absolutely Top job my guy, thank you so much :), it works, saved my 100% OrionSR 1 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