Game crashes every time when reaching 5 stars wanted level
Several weeks before, I started playing GTA V again with some mods and everything worked fine, there were no crashes. A week before I began to start adding mods namely, ped and vehicle replacers (military and police only), addon vehicles, few other minor cosmetic scripts.
When I started the game after modding i began to experience crashes right after having 5 stars, no problems when in stars 1-4. I didn't know where to start troubleshooting or what mod/file this crash is linked to for i have not seen a single thread that mentioned this kind of occurence. Crashes have begun since before I installed FTFR.
Logs - Game Version 1.41
Mods Recently Installed:
Fine-Tuned Felony Response (replaced CPRE hoping it would fix the problem)
DLC list in mods folder: (note that asznee and asznee2 are my combined vehicle addons)
@Siggz21 Your issue is clearly caused by either something that modified dispatch.meta (Fine-Tuned Felony Response in this case) or Tank.asi or Lazer.asi (I assume these spawn tanks and jets when you have 5 stars).
@Unknown-Modder hmmm I'll try to troubleshoot thanks!
deleting tank.asi and lazer.asi made no changes, i've looked into dispatch.meta and found that the savage and cargobob spawned at 5 stars if that's got to do with anything, i have also had cpre functioning before and it also spawned the savage and cargobob.
Out of interest, does the crash you get say anything or does the game just ctd with no message?
Sounds to me like the error resides in one of the files used by one (or more) of your Police vehicles. Probably a syntax error in 'handling.meta' or 'vehicles.meta' but possibly some other file. You could have a look at the police vehicles in those files & make sure there are no errors in formatting/syntax near to them.
If you prefer you could extract the files & check them for syntax errors automatically using Notepad++ & it's XMLTools plugin. <This is worth doing anyway, whatever you're problem, I can't tell you the amount of times this combo has saved me from a silly error & the little red vertical line that Notepad++ draws from the start to the end of a statement that lets you know exactly what you need to copy is very, very useful (left-click on any '<Item' line in any 'handling.meta' opened with Notepad++ & you'll see what I mean )
Another way to test might be to temporarily remove one vehicle at a time from 'dispatch.meta' (ie to stop it spawning) & test in game for crashes after each police vehicle is removed. That might point you to a culprit vehicle.
If you want to know if this is your problem before wasting time testing each police vehicle you could temporarily install vanilla 'handling.meta', 'vehicles.meta' & 'dispatch.meta' (so that you default the files that contain police vehicles) & boot the game. If the game runs 5 stars without a crash you know the error resides (most likely) in one of those^ files & you can use a process of elimination to find the file & then the error within.
Note: Pretty sure it's just the files in 'update.rpf that have police vehicles in them (so you should only have 3 files to replace to test this ) but there may be more hanging about somewhere that I am not aware of so it may be worth checking that at some point.
A double '</Item> ' in a 'handling.meta' causes the game to usually throw a 'A new guard page for the stack cannot be created' error & crash.
<Item type="NULL" /> <Item type="NULL" /> </SubHandlingData> </Item> </Item> <Item type="CHandlingData"> <handlingName>ADDER</handlingName> <fMass value="1800.000000" /> <fInitialDragCoeff value="7.800000" /> <fPercentSubmerged value="85.00000
& I believe if you miss the '</Item>' closing statement out entirely the game just crashes with a generic error message.
<Item type="NULL" /> <Item type="NULL" /> </SubHandlingData> <Item type="CHandlingData"> <handlingName>ADDER</handlingName> <fMass value="1800.000000" /> <fInitialDragCoeff value="7.800000" /> <fPercentSubmerged value="85.00000
That's just a couple of examples (this is GTA, there will be more). I had a similar problem where the game would crash as soon as I got a star & it was a syntax error in the closing statement of a police vehicle in a 'handling.meta' that caused it. Let me know how you get on.
@a63nt-5m1th the crash ctds with a generic error message, I've had that thought that something might have went wrong in either vehicles or handling.meta and I tested the military and police vehicles by freezing the wanted level at 4 stars and going to the airbase which spawns the military vehicles that was supposed to spawn at 5 stars. What's weird is nothing went wrong, it dispatches units normally until i let it reach 5 stars. Double checking the meta files might bring up something. Thanks for the tips!
@a63nt-5m1th I've checked all 3 files for syntax errors and there was none, what worked for me was replacing dispatch.meta to the vanilla one. It solved the crashes but i would still like to use modded dispatch.meta as it is more fun so i will take a closer look in there and find anything that's causing the problem.
Sounds like you are getting somewhere. So most likely something wrong in 'dispatch.meta' or a file connected to one of your police vehicles. To start I would rebuild your 'dispatch.meta' (using working vanilla one as a starting base) one step/vehicle at a time & see what shows up.
Tip: I would try & do as much of it as you can by hand (ie don't copy & paste blocks of data from the modded 'dispatch.meta', instead copy & paste the format you need from the vanilla dispatch & then manually augment until it is the same as the modded one) as that has less likelyhood of pulling unnoticed mistakes with it.
Let me know how you get on
@a63nt-5m1th I've found an old modded backup of mine and replaced the whole modded update.rpf and it solved everything. Now I just got to be careful with whatever mod i install. Thanks for your help!
Thanks. Glad you got it working