There are several opcodes that can be used to modify integer stats in a CLEO script, run "integer_stat" through Sanny's opcode search tool. GTA:SA Save Game Editor v1.0 by Ryosuke can edit stats in the save, but it has a few odd quirks so I don't trust it with my good saves. It's an outstanding save viewer. If you are skilled with a hex editor the stats aren't too tough to edit by hand.
Please Read: The purpose of this topic is to document Glitches in San Andreas that are part of the save file. It is intended for people who can hex edit a save file or create tools that can detect or repair save file glitches. Questions about your specific glitch would be more appropriate in another topic.
The Gym Glitch Explained"You have worked out enough for today, come back tomorrow!"If this message is displayed every time CJ tries to workout, even when he returns the next day, then you've got the Gym Glitch.The Gym Glitch can be avoided completely if CJ never exceeds the daily workout limit on that save.When CJ exceeds the daily limit the current in-game month and day is recorded. Usually when CJ returns the next day or later the current month or current day will be greater than the exceeded month or day and he will be allowed to use the gym equipment. However...There is no in-game year. When enough time has passed the current month will rollover back to 1. So let say that CJ last exceeded the daily limit on the 14th day of May. After the new year he will not be able to workout for the first two weeks of every month until June finally rolls around.But there's a catch. There is no in-game method to determine the current month and day. The sum of all game days and safehouse visits is hardly even close. The best I can do is suggest to start checking for the glitch sometime after 200 game days, but that depends a lot of how often the game is saved.The effects of the gym glitch can be mitigated by saving (which advances the calendar by 1 day) or by rolling over the clock past midnight until he can finally workout again. Then intentionally exceed the daily limit. This will set the exceeded date to the current date and CJ can work out normally again, until next year when you'll need to go through this process again.Or better yet, wait until the last day of the month and start to work out. Wait until the clock rolls over and exceed the limit on the first day of a new month. Then the glitch will only be in effect next year on the first day of the early months. A player can determine the 1st day of the month because on the previous day CJ could work out but now he can't. Work between 2 saves and load the previous save when necessary.Or even better, wait until new years eve to start working out and exceed the limit on new years day. Then if CJ never exceeds the limit again the glitch will only be noticed on new years day of each year. If the player carefully tracked each and every day for several months it might be possible to determine the current month based on a leap year calendar.What can you do about the gym glitch?If the glitch isn't very severe (March 5th) then don't do anything which might make it worse (December 31st).On PS2, if you have AR-Max or similar cheat device software the glitch can be repaired with cheat device codes.On backwards compatible PS3s it's possible to export the save to a PC, extract the save data, and use a save editor to examine the current month and day.PSN users are out of luck. It's easy enough to export the save but it's encrypted, so unless someone figures out a way to decrypt the data there's no way to learn the date or fix anything.PC players can use the repair tools linked below to reset the exceeded date. These tools will not work properly on PS2 saves because the global variables are different.GTA SA Savegame Editor v3.0 by Paul Breeuwsma: hmvartak's Online Glitch Repair Tool: Cheat Device Codes to repair the Gym Glitch on NTSCv1, NTSCv2, and PALv1 can be found at the end of the post linked below. =1058178034Gym Glitch Discovery topic on GTAForums: =551244
If your problem cannot be fixed with the tool linked above then consider starting a new topic with a link to the save (use GTASnP.com) and a description of the problem. This topic is intended for documenting glitches and fixes, not solving individual problems.
Update: GTASnP.com has been updated with a Modifications tool that can remove Stray Blips - small-square usually yellow, sometimes green, destination blips that are leftover after a mission. This glitch is common with mission duping exploits (Om0) but can also happen accidentally in a normal game by starting a mission at the same time a phone call comes in. Upload the glitched save to the site. Any stray blips should be automatically detected by the modifications tool. Download the fixed save to remove the blips.Update 2: BlipFix - cleo scripts for PC and Android that removes all non-standard blips. 2b1af7f3a8