Jump to content

Girlfriend cars missing after completing the game


Go to solution Solved by OrionSR,

Recommended Posts

I have a 100% completed save including 100% progress with all GF's. The problem is that after 50% progress with any GF, all GF vehicles disappear and never respawn again. Even after their vehicles vanished I kept dating all of them several times just in case their vehicles could respawn but they never did. I've been trying to fix this, unfortunately I don't know anything about coding or scripting. Thought it had to do with global variables mixing up but apparently not according to some advice given here. How can I fix this? Did something got mixed up in the script? I even deleted and reinstalled the game but nothing. 

I use GTA SA PC 1.0 and the only mods installed are: silent patch, widescreen fix, GImputSa and cheat menu. I never installed CLEO.

Everything worked normal up until reaching 50% GF progress after I had 100% completion.  Even on my other early game saves of the same profile these same variables are present. I did a lot of OM0, teleports (using cheat menu) and duplication exploits, maybe something from here messed up the script/variables? I really don't know... 

 

Thank you so much to anyone that can help me fix the problem! 🙏   

 

I used SASE to check out the scripts, what's wrong here? The game is 100% completion.

I2udkoV.png

 

Vehicle index

qc44c4J.png

 

Global Variables 

yYDFsWU.png

 

iqKsr5D.png

 

Before 50% GF progress vehicles spawn and despawn normally. (The license plates are not custom, don't know if it's normal)

NmKl30z.jpg

 

Here the game is 100% completed including 100% progress with all GF's. Strangely after 50% progress with any GF all their vehicles vanish and never respawn again. 

hvOXPVq.jpg

 

https://imgur.com/a/eVnXTPo

 

Quote

According to your SASE screenshots, your unlocked GF vehicles are missing. This is not a problem with global variables, and should not happen on an unmodded game.

https://www.mediafire.com/file/p2lujeqdwzewy9j/GFVehicles.cs/file

 

Copy this to your CLEO folder or post your savefile via http://www.gtasnp.com so i MAY try to repurpose unused vehicles...🙂

  • Like 2
4 hours ago, ArmanCan said:

https://www.mediafire.com/file/p2lujeqdwzewy9j/GFVehicles.cs/file

 

Copy this to your CLEO folder or post your savefile via http://www.gtasnp.com so i MAY try to repurpose unused vehicles...🙂

Does this make my save game into "modded"? My save game is from a clean unmodded game and can be played in clean and modded versions. Saved games from modded versions are quirky and very unreliable that's why mine is from a "clean game".  Yeah, selector mod I know about it but never used it cus I dont know how to and never needed to (until now) haha. 

 

Is this the tool you use to potentially fix this? I would like to give it a try but I don't know if its too difficult and do I need other tools? Could you give me instructions I would really appreciate it if its not tedious. But if its too tedious its better I post the savefile. If I post it there in "gtasnp" does it become public domain so others can see and or use it guess? Is DM or e mail possible? I'm very grateful @ArmanCan for all your help man. 😎

1 minute ago, Freeman39 said:

Does this make my save game into "modded"?

Well.. i will just use your SASE to repurpose unused car generators.. if i can do it (i've never edited like that) i'll send your savefile back.. "GTASnP" is just a website which the player can download the same savefile or change the "Script/SCM Version".. you may post both savefiles (Before %50 Progress and over %50) so i can test the first one if they vanishes and the second one with SASE..

6 minutes ago, Freeman39 said:

Is this the tool you use to potentially fix this?

No.. i have never encountered this problem.. the "GFVehicles.cs" is a CLEO Script which i've only prepared for you.. it's just an EXTERNAL Car Generator (apart from main.scm Car Generators and stream IPL random parked cars.. and it's like a continously spawned "SHERM" Picador) and this one apply the cars only into your savefile.. not your game files..

16 minutes ago, Freeman39 said:

I don't know if its too difficult and do I need other tools?

if you have a Sanny Builder and basic coding knowledge you can also add more vehicles onto this script..you can also decompile the main.scm and change the whole missions, cars, collectibles, pickups..🙂

19 minutes ago, Freeman39 said:

Could you give me instructions I would really appreciate it if its not tedious. But if its too tedious its better I post the savefile.

Cleo and Sanny Builder Tutorials are under "GTA Mods" topic.. you just need to read the tutorials and start coding with Sanny.. it looks like i can solve it by using SASE (i'm still not sure about plates) so just post them.. 😉

12 minutes ago, Freeman39 said:

If I post it there in "gtasnp" does it become public domain so others can see and or use it guess?

well.. yes.. your savefile will be very popular and everyone would like to download it 😎

51 minutes ago, ArmanCan said:

Well.. i will just use your SASE to repurpose unused car generators.. if i can do it (i've never edited like that) i'll send your savefile back.. "GTASnP" is just a website which the player can download the same savefile or change the "Script/SCM Version".. you may post both savefiles (Before %50 Progress and over %50) so i can test the first one if they vanishes and the second one with SASE..

No.. i have never encountered this problem.. the "GFVehicles.cs" is a CLEO Script which i've only prepared for you.. it's just an EXTERNAL Car Generator (apart from main.scm Car Generators and stream IPL random parked cars.. and it's like a continously spawned "SHERM" Picador) and this one apply the cars only into your savefile.. not your game files..

if you have a Sanny Builder and basic coding knowledge you can also add more vehicles onto this script..you can also decompile the main.scm and change the whole missions, cars, collectibles, pickups..🙂

Cleo and Sanny Builder Tutorials are under "GTA Mods" topic.. you just need to read the tutorials and start coding with Sanny.. it looks like i can solve it by using SASE (i'm still not sure about plates) so just post them.. 😉

well.. yes.. your savefile will be very popular and everyone would like to download it 😎

Unfortunately I don't know anything about codding or scripting and such. It'll learn more about that and check out the tutorials you mention cus its really useful. I don't wanna mess up my savefile now even though its already corrupted somehow hahaha. Sorry I don't understand, you mention about an external car generator. Does this mean it will not properly fix my actual save game, (Leave it vanilla, like nothing bad ever happened. No mods) but will be something like a patch or like a mod?

 

This applies only to the savefile and not game files understood, but does this mean my savefile will be "modded" and not vanilla anymore? Sorry for my ignorance about these codding/scripting topics. 😅 If it doesn't leave my savefile vanilla anymore and will be "modded" and there's no other solution I would prefer to start all over from scratch... I really need my savefile be original, vanilla. I mean clean, not modded or something like that.. 

 

This savefile is personal and I don't want anyone else using it hahaha. If there's a possibility to fix this without "modding" or altering the savefile or having to install folders, files or replace something. I just want my savefile be like nothing ever happened.  Can I send you this via DM or something like that? Thanks man! 

On 8/9/2023 at 9:55 PM, Freeman39 said:

its already corrupted somehow hahaha

somehow...and "somehow" you want to preserve the originality of your savefile.. 🙂

On 8/9/2023 at 9:55 PM, Freeman39 said:

Does this mean it will not properly fix my actual save game

The CLEO Script will be a PLACEMENT with generating the girlfriends cars by a different method..that means it won't be a proper fix and i.. actually we won't find out if you don't post your files.. for this placement you should copy it into your CLEO Library, open your %100 savefile, save the game and remove the script..🙂

 

Spoiler

spacer.png

spacer.png

 

On 8/9/2023 at 9:55 PM, Freeman39 said:

If there's a possibility to fix this without "modding" or altering the savefile or having to install folders, files or replace something. I just want my savefile be like nothing ever happened.  Can I send you this via DM or something like that? Thanks man! 

than ask God for a miracle and thank him afterwards..

Edited by ArmanCan
25 minutes ago, ArmanCan said:

The CLEO Script will be a PLACEMENT with generating the girlfriends cars by a different method.. for this placement you should copy it into your CLEO Library, open your %100 savefile, save the game and remove the script..🙂

So this means my original save game will be altered/modded, but after copying the script and saving the game. This new savefile will be vanilla, original, not modified? I don't understand.

If that's the case no problem. 😎 But if not, and this new fixed file will still be altered (not vanilla). I am going to start all over unfortunately..  

11 hours ago, Freeman39 said:

So this means my original save game will be altered/modded, but after copying the script and saving the game. This new savefile will be vanilla, original, not modified? I don't understand.

What are you trying to achieve? Keeping your savefile original/unmodded or getting your vehicles back? Obviuosly any "MODification" will make your savefile or any files MODDED so in your case it seems there is no other way but modding..

Quote

According to your SASE screenshots, your unlocked GF vehicles are missing. This is not a problem with global variables, and should not happen on an unmodded game.

OrionSR already predicted that your vehicles are MISSING but if you don't post your savefiles to me/us, i/we won't know what is causing this problem and what is missing..personally i don't prefer neither getting a D.M/E-Mail nor downloading the files from the other websites..

11 hours ago, Freeman39 said:

I am going to start all over unfortunately..  

If you would like to waste HOURS to get these goddamn vehicles (and off course you may still have the same problem after reaching %100) you may start a new game but i've offered you three alternatives.. that's your choice..🙂

 

If you are also trying to OBTAIN them in your GARAGE you may obtain "Allproof" Girfriends Vehicle by doing the Jealous Girlfriend Trick..

 

On 8/10/2023 at 2:51 AM, ArmanCan said:

What are you trying to achieve? Keeping your savefile original/unmodded or getting your vehicles back? Obviuosly any "MODification" will make your savefile or any files MODDED so in your case it seems there is no other way but modding..

OrionSR already predicted that your vehicles are MISSING but if you don't post your savefiles to me/us, i/we won't know what is causing this problem and what is missing..personally i don't prefer neither getting a D.M/E-Mail nor downloading the files from the other websites..

If you would like to waste HOURS to get these goddamn vehicles (and off course you may still have the same problem after reaching %100) you may start a new game but i've offered you three alternatives.. that's your choice..🙂

 

If you are also trying to OBTAIN them in your GARAGE you may obtain "Allproof" Girfriends Vehicle by doing the Jealous Girlfriend Trick..

 

I'm trying to fix my save game without messing up my save game. Yes, I understand that it has to be moddified/corrected by altering something in the script or I don't know what, in order to resolve this. I just want my savefile be playable just as if it were vanilla, no external files or mods required, like nothing happened. I thought it was gonna be easier like a simple value change or like solving the gym or basketball bug. I wanted to see possible options and advice, thank you much for all the help. 😎 I don't want to compromise my savegame by somehow leaking and becoming public domain or something like that . As I mentioned I wanted to see the possible solutions.  I just don't want to compromise my save game. Its very personal to me, mostly because of the Unique cars I have. I have all the Unique/UC vehicles with especial modifications ( mostly nitro) and colors. All vehicles are All Proof and such. I even have the authentic EC white and green coastguard from the boat school. I might be wrong but apparently there's no guide/tutorial on how to authentically obtain this EC coastguard. Only by modification. 

 

Yes as Orion said, they are missing. There's 2 sets apparently, the first set (-50%) I can modify and even spawn different vehicles with the use of SASE. The second set (+50%) completely vanished, even if I try to spawn other vehicles with SASE they don't. Like if this second set seams to be deactivated somehow. I don't know if this below has to do with that? 

 

(Example, not my script)

 

$Girls_Gifts_Bitmask bit 25 - CJ has Denise's car keys message displayed

$Girls_Gifts_Bitmask bit 26 - CJ has Michelle's car keys message displayed

$Girls_Gifts_Bitmask bit 27 - CJ has Helena's car keys message displayed

$Girls_Gifts_Bitmask bit 28 - CJ has Barbara's car keys message displayed

$Girls_Gifts_Bitmask bit 29 - CJ has Katie's car keys message displayed

$Girls_Gifts_Bitmask bit 30 - CJ has Millie's car keys message displayed

 

I don't want to store those GF vehicles. (They're always available) I just want to fix my savegame if its possible, without compromising my game. If not, I don't care to start all over, done it many times in different platforms.  It'll also be learning about sanny builder its a very useful tool.  I don't know if never dating and achieving all progress with GFs only after I had 100% completed the game also contributed in this bug. I wont do that mistake ever again.  😅

Edited by Freeman39
26 minutes ago, Freeman39 said:

The second set (+50%) completely vanished, even if I try to spawn other vehicles with SASE they don't. Like if this second set seams to be deactivated somehow.

well.. i was going to be failed if i've tried to edit the same gf vehicle generators WITH PLATES.. Only God can create something from nothing.. that's why i told you to ask him a miracle 🙏😎

39 minutes ago, Freeman39 said:

I just want to fix my savegame if its possible, without compromising my game

Everything we do is going to be a MOD and you can't do nothing to bring them back IN GAME.. if you don't mind getting these vehicles "without plates" i can repurpose unused vehicles with SASE and convert them into the GF vehicles..

spacer.png

These two Greenwoods and the BMX are the garbage leftovers from the Rockstar devs..Editing them won't affect anything..

spacer.png

"Unknown" named car generators are actually PASSIVE and RANDOM car generators.. they will be still random but force spawned after passing the mission "Photo Oppurtinity".. Editing them after this mission also won't affect anything..🙂

16 minutes ago, ArmanCan said:

if you don't mind getting these vehicles "without plates" i can repurpose unused vehicles with SASE and convert them into the GF vehicles.

Assuming that only the unlocked GF vehicles are missing from the cargen pool, you could use a cleo script to create unplated and unlocked Hustlers until 0@ == $parked_Girlfriend_Cars_numplate[0]. Set this vehicle to be displayed, then create and display the other 5 GF cars. This should put the cargens back in their original slots, so the old custom plates and global variable handles should work normally. Then set all cargens with handles less than $parked_Rustler, the first SCM cargen, to No_Save using the Cleo+ opcode or a custom function. This repair should be completed on a freshly loaded save within an interior to minimize the chance that streamed cargens will clutter the pool.

 

1 hour ago, Freeman39 said:

I don't want to compromise my savegame by somehow leaking and becoming public domain or something like that .

Suck it up, post your save, or stop annoying us. I'm getting the impression you're just trolling us.

 

@ArmanCan Ping me if he ever gets around to posting the save. I'm closing down this tab and going back to the modding forums. 

 

28 minutes ago, ArmanCan said:

well.. i was going to be failed if i've tried to edit the same gf vehicle generators WITH PLATES.. Only God can create something from nothing.. that's why i told you to ask him a miracle 🙏😎

Everything we do is going to be a MOD and you can't do nothing to bring them back IN GAME.. if you don't mind getting these vehicles "without plates" i can repurpose unused vehicles with SASE and convert them into the GF vehicles..

 

"Unknown" named car generators are actually PASSIVE and RANDOM car generators.. they will be still random but force spawned after passing the mission "Photo Oppurtinity".. Editing them after this mission also won't affect anything..🙂

So this means there's no apparent authentic fix for this bug right? Only repurposing other vehicles, does this mean the GF vehicles will not spawn at their original location but a different place and no license plate? It'll be using this savefile meanwhile, Ill redo everything another time. Over 15 years playing GTA San and never encountered such annoying bugs like the PC version. First time playing PC 1.0 and its more buggier than other versions like PS2 and Xbox. Here I even on my first play, I encountered the bug where you can only store 3 cars and not all 4. Couldn't fix this and had to go back a savefile. 

64serialkiller

I have the same problem as well. I don't know why but for some reason the gf cars don't have custom numplates and they stop spawning after reaching 50% progress. I can give you my save file but I don't know how to send it. Pls reply ASAP since this crap is annoying the hell out of me.

45 minutes ago, 64serialkiller said:

I have the same problem as well. I don't know why but for some reason the gf cars don't have custom numplates and they stop spawning after reaching 50% progress. I can give you my save file but I don't know how to send it. Pls reply ASAP since this crap is annoying the hell out of me.

 

On 8/11/2023 at 10:36 PM, OrionSR said:

you could use a cleo script to create unplated and unlocked Hustlers until 0@ == $parked_Girlfriend_Cars_numplate[0]. Set this vehicle to be displayed, then create and display the other 5 GF cars.

Thank you so much for your solution and your contrubition.. i think your approach is apply this script to his %50 progress savefile, load his top secret high sensitive savefile, save in a safehouse, reach over %50 and check if everything works correctly..

Spoiler
{$CLEO .cs}

// Car Generator for girlfriends vehicle with plates....

014B: $PARKED_GIRLFRIEND_CARS[0] = init_car_generator #HUSTLER color 83 1 force_spawn 1 alarm 0 door_lock 100 min_delay 0 max_delay 10000 at 2408.156 -1719.463 13.6665 angle 0.5881 
0A17: set_parked_car_generator $PARKED_GIRLFRIEND_CARS[0] to_player_owned 1 
014C: set_parked_car_generator $PARKED_GIRLFRIEND_CARS[0] cars_to_generate_to 101 

// Make a CLEO script no longer execute.
0A93: terminate_this_custom_script

//////////////////////////////////////////////////////////////
:DisableCarGeneratorFromBeingSaved
{
Description:
Disables car generator from being written into savefile.
Fixes a corruption of savefile because of car generators used in CLEO.

Parameters:
Passed:
0@ - car generator index

Example:
0AB1: call_scm_func @DisableCarGeneratorFromBeingSaved 1 car_generator 6@
}

// Is invalid generator ID?
if
0@ == -1
then
0AB2: ret 0
end

0A8D: 1@ = read_memory 0x6F32AA size 1 virtual_protect false // CCarGenerator_size

0AA7: call_function 0x479D60 num_params 1 pop 1 0@ store_result_to 2@ // CCarGenerator* ptr

if
1@ >= 0x30 // is CCarGenerator_extended ?
then
2@ += 0x22
0A8C: write_memory 2@ size 2 value 0xFFFF virtual_protect false // exIplFile
else
2@ += 0x1C
0A8C: write_memory 2@ size 1 value 0xFF virtual_protect false // iplFile
end

0AB2: ret 0

I'm always using this template to generate cars.. can you please check it? I've only wrote one as an example.. i'll add the remaining cars later 🙂

 

Edited by ArmanCan
1 hour ago, ArmanCan said:

I'm always using this template to generate cars.. can you please check it?

We need more data before a proper fix script can be coded, but for now I suggest replacing that large cleo_call function with the new Cleo+ opcode that does the same thing.

{$CLEO .cs}
{$USE CLEO+}
/* incomplete script; needs to loop until the correct slot is found */

// Car Generator for girlfriends vehicle with plates....

014B: 1@ = init_car_generator #HUSTLER color 83 1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 at 2408.156 -1719.463 13.6665 angle 0.5881 
0A17: set_parked_car_generator 1@ to_player_owned 1 
014C: set_parked_car_generator 1@ cars_to_generate_to 101 

if
  not $parked_Girlfriend_Cars_numplate[0] == 1@ 
then
  0E02: set_car_generator 1@ no_save
end

// Make a CLEO script no longer execute.
0A93: terminate_this_custom_script

Note that the door lock chance was changed. Assuming our assumptions are correct, this vehicle will replace the original unlocked car with plates that has somehow gone missing. If done correctly, the replacement vehicles will end up in the same slot as originally created, so we don't need to alter or use the global variable handles, and custom plates will attach as expected.

 

Prediction: If the plated girlfriend cars are deleted from the cargen pool, then their custom plates are liable to attach to the random streamed cargens parked along the side of the road or in small parking lots.

 

2 hours ago, 64serialkiller said:

I can give you my save file but I don't know how to send it.

Wow, okay, This glitch is suddenly more interesting. Please upload your save to GTASnP.com and post the link here so we can get a better idea of what's gone wrong and work out a strategy to fix it. Currently we're working with a half-bake hypothesis with no real data.

  • Like 2
7 hours ago, OrionSR said:

Wow, okay, This glitch is suddenly more interesting. Please upload your save to GTASnP.com and post the link here so we can get a better idea of what's gone wrong and work out a strategy to fix it. Currently we're working with a half-bake hypothesis with no real data.

Hey bro, I'm not trolling haha, that bug is real and very annoying. 😅 I post both files from my savefile with that bug present. One before GF is 50% the other 100% complete game with 100% GF progress. I posted my savefiles for anyone to check out, both are "vanilla" saves. All I know about this bug I wrote on this thread.  You guys are OG 😎

 

<50%   https://gtasnp.com/ASzrTz        

 

>50%    https://gtasnp.com/ayzKfA

33 minutes ago, Freeman39 said:

that bug is real and very annoying.

Confirmed. Both saves only have 201 cargens, instead of the usual 208, so 7 are missing: The six 50%+ GF cars, and the 2nd of those unused and always hidden Greenwoods ($2771) at the Jefferson Hotel that ArmanCan was talking about earlier. I can tell that the vehicles were created on the new game start; there are gaps in the indexes where the missing vehicles should be, and all of the girlfriend plates are included in the custom plate array.

 

And... One of the older saves in my folder, something I fixed for another player months ago, has the same glitch. This save has it's cargens in different slots than yours, yet the same 7 vehicles are missing. This suggests that the vehicles are being removed based on the the value of their handles, and not specific slot numbers. (Don't worry about the technical details; it's included for complete documentation of the problem.)

 

I think I have all the information I need for a fix, but it'll take a while to work out a strategy that will work for anyone, regardless of GF progress or slot number, etc., and without causing damage if used inappropriately. @ArmanCan on the other hand, might be able to create a good fix for your particular situation in short order.

In the meantime, any idea how this glitch might have occurred? My best guess is a poorly written cleo script that uses the Cleo+ opcode to mark cargens as "no_save" because it's really hard to remove cargens without it. You said you don't have any cleo mods installed, but I don't see how this would happen with the ASI mods you have listed. For a problem like this, the script may only need to be installed briefly to do it's damage; removing the mod wouldn't fix anything.

  • Like 2
64serialkiller

I have downloaded TTDISA v1.6.3 It includes some Cleo scripts. But I don't know anything about them. Also here is my save file

https://gtasnp.com/Jeea4l

I think you need to install the exact same modification to access the save file. Btw thanks Orion for working on a fix. 

49 minutes ago, OrionSR said:

 @ArmanCan on the other hand, might be able to create a good fix for your particular situation in short order.

In the meantime, any idea how this glitch might have occurred? My best guess is a poorly written cleo script that uses the Cleo+ opcode to mark cargens as "no_save" because it's really hard to remove cargens without it. You said you don't have any cleo mods installed, but I don't see how this would happen with the ASI mods you have listed. For a problem like this, the script may only need to be installed briefly to do it's damage; removing the mod wouldn't fix anything.

Yeah I would really appreciate it. 😇 (even though these 2 saves aren't my "official" savefiles 🥲

 

I did a lot of "exploits", mostly based on $OM0. Did a lot of mission duplications using OM0, a lot of airport teleports using OM0, with cheat engine I did a lot of teleportations. Used cheat engine only for few stats, all collectibles, spawn weapons/vehicles. I started dating GFs only at the end of the story near 100% completion. The only mods installed were: silent's patch/ASI loader, widescreen fix, GImputSa and cheat menu. I never installed anything CLEO. I'm not sure but I think for no reason I briefly installed the mod "RepairGTA" from Junior_Djjr before starting a new game but deleted it very shortly after. This was many months ago I don't remember well.

 

The game was downgraded from a 1.01 version using the copy paste method with a large address exe included. I did encounter another major bug during the game. A bug where you can not store all 4 vehicles in a garage. (SF garage near missionary hill) All I did was take out 1 car from the full garage, leaving 1 slot free. The next time I reloaded the game and tried to save a vehicle there, a message would appear saying full garage. Trying to store all 4 vehicles would end up deleting one of the vehicles after closing the garage. I couldn't fix it and just reloaded a previous save. 

On 8/13/2023 at 7:03 AM, OrionSR said:

 @ArmanCan on the other hand, might be able to create a good fix for your particular situation in short order.

I would like to but i can't compile your example script.. 🙁  i've coded this for all vehicles.. can you please tell me how can i make it compilable? Thanks 🙏

 

Spoiler
{$CLEO .cs}
{$USE CLEO+}
/* incomplete script; needs to loop until the correct slot is found */

// Car Generator for girlfriends vehicle with plates....

09E2: 0@ = parked_car_generator_w_numberplate #HUSTLER colors 83 1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 plate "HOMEGIRL" at 2408.156 -1719.463 13.6665 angle 0.5881 
0A17: set_parked_car_generator 0@ to_player_owned 1
014C: set_parked_car_generator 0@ cars_to_generate_to 101

09E2: 1@ = parked_car_generator_w_numberplate #MONSTERB colors -1 -1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 plate "__NOS___" at -1778.178 1207.074 25.1194 angle 91.9357 
0A17: set_parked_car_generator 1@ to_player_owned 1
014C: set_parked_car_generator 1@ cars_to_generate_to 101

09E2: 3@ = parked_car_generator_w_numberplate #COPCARRU colors -1 -1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 plate "_CUFFS__" at -1399.717 2628.59 55.7823 angle 271.7941 
0A17: set_parked_car_generator 3@ to_player_owned 1 
014C: set_parked_car_generator 3@ cars_to_generate_to 101 

09E2: 2@ = parked_car_generator_w_numberplate #BANDITO colors -1 -1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 plate "FULLAUTO" at -379.5 -1443.115 25.7266 angle 88.9244 
0A17: set_parked_car_generator 2@ to_player_owned 1
014C: set_parked_car_generator 2@ cars_to_generate_to 101

09E2: 4@ = parked_car_generator_w_numberplate #ROMERO colors 1 1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 plate "_TRAUMA_" at -2572.04 1148.564 55.7333 angle 337.8434 
0A17: set_parked_car_generator 4@ to_player_owned 1
014C: set_parked_car_generator 4@ cars_to_generate_to 101 

09E2: 5@ = parked_car_generator_w_numberplate #CLUB colors 126 1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 plate "_SPANK__" at 2028.446 2731.102 10.53 angle 268.994 
0A17: set_parked_car_generator 5@ to_player_owned 1 
014C: set_parked_car_generator 5@ cars_to_generate_to 101

014B: 6@ = init_car_generator #GREENWOO color -1 -1 force_spawn 0 alarm 0 door_lock 0 min_delay 0 max_delay 10000 at 2216.902 -1160.403 24.7265 angle 270.8013

if and
  not $PARKED_GIRLFRIEND_CARS_NUMPLATE[0] == 0@ 
  not $PARKED_GIRLFRIEND_CARS_NUMPLATE[1] == 1@ 
  not $PARKED_GIRLFRIEND_CARS_NUMPLATE[3] == 3@
  not $PARKED_GIRLFRIEND_CARS_NUMPLATE[2] == 2@
  not $PARKED_GIRLFRIEND_CARS_NUMPLATE[4] == 4@
  not $PARKED_GIRLFRIEND_CARS_NUMPLATE[5] == 5@
  not $2771 == 6@            
then
  0E02: set_car_generator 0@ no_save
  0E02: set_car_generator 1@ no_save
  0E02: set_car_generator 3@ no_save
  0E02: set_car_generator 2@ no_save
  0E02: set_car_generator 4@ no_save
  0E02: set_car_generator 5@ no_save
  0E02: set_car_generator 6@ no_save            
end

// Make a CLEO script no longer execute.
0A93: terminate_this_custom_script

 

On 8/12/2023 at 8:43 PM, OrionSR said:

I suggest replacing that large cleo_call function with the new Cleo+ opcode that does the same thing.

It seems the Sanny developers created a new opcode for this call function.. it's good to know 👍

Edited by ArmanCan
64serialkiller
3 hours ago, OrionSR said:

My best guess is a poorly written cleo script that uses the Cleo+ opcode to mark cargens as "no_save" because it's really hard to remove cargens without it.

I use the essentials pack from Mixmods. They have Cleo installed in it. Maybe that is the problem for this? A poor or outdated Cleo script which I use from Mixmods? Actually this might be true because I have another backup file which doesn't have Cleo and the game didn't had any problem spawning the gf cars after 50% and also to the best of my knowledge they spawned with custom plates. 

I'm too tired to make any more progress tonight, or to explain any more technical difficulties, but I wanted to comment on your reports:

 

Nice work so far on tracking down the bug. MixMods is Jr's site and he's the author of the suspect Cleo+ opcode. Jr. does really good work, but it make sense that this type of bug would creep into these tools. Any chance you guys can produce a consistent repro strategy?

 

Tomorrow I'll prioritize the glitch detection elements of the "201FIX" script that will display a help message if only 201 cargens are loaded with the save, or if the buggy cargens get actively flagged as No_Save.

 

@64serialkiller Please include a TTDISA save without the bug so I have a good reference on what's normal. I won't be able to run your save, but my save template still might be able to parse the data, maybe. Either way, I can still code for TTDISA and let you run the fix.

@ArmanCan The tricky part is filling in all the slots before the first SCM cargen with no_save cargens when you don't know how many streamed cargens occupy the early slots. Also, the Greenwood should be placed before the GF vehicles, and makes a better dummy cargen because you don't need to display or own it.

64serialkiller

@OrionSR Unfortunately I don't have the without bug version. Actually that was a long time ago. I installed the game again and now from the beginning,that is even in LS where you take Denise to a date,her car's numplate is randomized. However all other custom numplates function normally. I tried with TTDISA and Cleo. 2nd time I tried no TTDISA and Cleo. But I was surprised at my 3rd result, I tried without Cleo but still it occurred. Keep in mind all of these games are played from the beginning till Burning Desire. So I guess this bug just popped out of nowhere. Also I never deleted the TTDISA mod game. I asked TTDISA discord and they said TTDISA is not a fault. 

6 hours ago, OrionSR said:

MixMods is Jr's site and he's the author of the suspect Cleo+ opcode. Jr. does really good work, but it make sense that this type of bug would creep into these tools. Any chance you guys can produce a consistent repro strategy? 

I swear I was going to mention about MixMods but I thought It was irrelevant info.🙀 I have over 60 mods I use on a separate game, 90% of the mods I use were downloaded from MixMods. Including the "essentials pack" that has various mods compiled including Silent's ASI loader/Patch, plus the "RepairGTA" mod. Which is what I took and and installed to my 1.0 game. So it seems that something from the "essentials pack" might have messed up? (I didn't install all mods included in the essentials pack, just the ones I mention here)

 

The silent patch/ASI loader and "modloader" I used were taken from the "essentials pack" from MixMods. I downloaded Widescreen fix, GImputSa and cheat menu also from MixMods. Could it more than 1 mod that triggers this bug? As I mentioned before, I might have installed the RepairGTA mod and possibly the "Crash Info" & "SCRlog" mods too (Which are all included in the "essentials pack"). This was months ago unfortunately I cant remember that part well. 

Edited by Freeman39

RepairGTA is probably the culprit. From an English translation of the description of [SA] RepairGTA.

Quote

Automatically deletes all duplicate (equal, same position) car generators (parked vehicles).

It would be easy for the GF cars and 2nd Jefferson Hotel Greenwood to get caught up in this "repair". Strange that the duplicate SF aircraft aren't caught up in process.

 

Can anyone provide me with a decent link to the SA RepairGTA mod? I'm not about to install whatever stupid extension or whatnot the included links are trying to force on me.

 

Edit: Never mind. RepairGTA is an ASI mod, so I'm not interested in testing it myself. And the code is published in Jr's GitHub repository so I don't really need any more info. I posted an issue regarding the problem. I kind of doubt that any changes will be made. Jr always seems to be busy with other stuff these days.

 

A link to the issue in case anyone wants to reinforce the concerns:
RepairGTA Issue #1

Edited by OrionSR
64serialkiller

@OrionSR What if I just remove repair GTA? Delete everything and install every single essential and other mods manually. I swear I thought something was wrong with the save file repairer in the SA User Files folder. Since all of the save files go to this folder, the mod automatically did its thing regardless of whether the save file I had used Repair GTA or not. Damn I remember a same problem with Repair GTA mod you made for mobile to get rid of unwanted blips filling up the blip pool due to poorly coded scripts. SO TELL ME IF I DELETE EVERY SINGLE SAVE FILE I HAVE AND DELETE REPAIR GTA AND START FROM SCRATCH, THE PROBLEM WONT PERSIST?

I'm not really sure how RepairGTA works; I didn't install it. The source code clearly shows that it is manipulating the bugged cargens, but I'm not sure if this is automatic or requires some sort of user input. It seems very unlikely that this tool could operate on any saves that aren't loaded into game memory. Once corrupt, the glitch will persist as that save is progressed.

 

Deleting all your saves shouldn't be necessary. There are a few odd carry-over glitches associated with starting a new save after loading a previous save, but this issue won't carry-over. Still, it's always good practice to start a new save after a fresh restart of the game. Removing RepairGTA should be enough to prevent the glitch from occurring again, but it won't fix existing issue.

 

Do you need your save to be fixed? For some reason, finding the source of this glitch has been really discouraging. I'm not really expecting Jr to update his tool. He's been perpetually too busy to deal with this sort of issue for a very long time - apparently he's moved on to other things or has a busy real-life to deal with. But given the popularity of his mods, the scope of this issue is liable to be quite large. I'm not sure I want to get involved is creating a fix. Jr's an expert; he broke it - he should fix it.

 

64serialkiller

@OrionSR Hey, so I wiped out my every infested save and then I uninstalled Repair GTA. I started a new game and reached 50% with Denise and after that the car spawns and I can drive it. But the actual problem is the car doesn't have a custom numplate HOMEGIRL. Any idea why and fix? 

My save file in TTDISA 1.6.3

https://gtasnp.com/xFd6LE

7 hours ago, 64serialkiller said:

But the actual problem is the car doesn't have a custom numplate HOMEGIRL. Any idea why and fix? 

My save file in TTDISA 1.6.3

 

TTDISA has a different set of custom plates. There is only room for 15 custom plates; choices need to be made. Apparently the GF cars didn't make the cut.

 

Spoiler
A... SHERM  .... 
B...GROVE4L .... 
C... B1TCH  .... 
D... OMEGA  .... 
E... A2TMFK .... 
F... VLA4L  .... 
G...HO 2 HO .... 
H...  SWAG  .... 
I...  SWAG  .... 
J...  SWAG  .... 
K...  GOLD  .... 
L...  DBP   .... 
M... CHUNKY .... 
N...  RENI  .... 
O...CN24 70H.... 

 

 

Good news, everyone! Junior has updated [SA] RepairGTA, so hopefully this issue will eventually go away. If someone could test the new tool and send me the save I can quickly verify the results.

 

I'm in a much better mood about this glitch today. I wasn't expecting Junior to fix the source of the problem so quickly. I'll start working on a repair script later today but... I'm not sure it'll be much help for non-standard saves like TTDISA, or heavily modified saves. I'll do what I can.

  • Like 2

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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