St4hl Posted December 19, 2020 Share Posted December 19, 2020 (edited) I have long time XP of modding GTAV, i pretty much know what im doing. I use HeapAdjuster and PackfileLimitAdjuster and ScripthookVDotNet. If i install the new scripthook (18-12-20) and gameconfig (https://www.gta5-mods.com/misc/gta-5-gameconfig-300-cars ) the game works. But almost all of my mods crash the game (world of variety, CPRE, FTFR, any script mod, E.R.O, zippo raids KNUCKLEUP, changing vehicle damage, traffic speed modifier). The only ones the works so far is VisualV... havent tried NVE/NVR. Even the damn TrainerV crashes the game. "You need to copy new version of "update.rpf into your "mods" folder. https://i.imgur.com/VeLkZ6l.png", i dont have that problem, OpenIV doesnt say i have the wrong version of my update.rpf... Something is not right... Anyone? Edited December 19, 2020 by St4hl Link to comment Share on other sites More sharing options...
LeeC22 Posted December 19, 2020 Share Posted December 19, 2020 1 hour ago, St4hl said: I have long time XP of modding GTAV, i pretty much know what im doing. I use HeapAdjuster and PackfileLimitAdjuster and ScripthookVDotNet. If i install the new scripthook (18-12-20) and gameconfig (https://www.gta5-mods.com/misc/gta-5-gameconfig-300-cars ) the game works. But almost all of my mods crash the game (world of variety, CPRE, FTFR, any script mod, E.R.O, zippo raids KNUCKLEUP, changing vehicle damage, traffic speed modifier). The only ones the works so far is VisualV... havent tried NVE/NVR. Even the damn TrainerV crashes the game. "You need to copy new version of "update.rpf into your "mods" folder. https://i.imgur.com/VeLkZ6l.png", i dont have that problem, OpenIV doesnt say i have the wrong version of my update.rpf... Something is not right... Anyone? You've possibly got one of the mods causing the crash. I've got all my own mods working with no problems, plus the last version of Simple Trainer V (11.9) working as well... and that's without a modded gameconfig or any of the Heap or Packfile adjusters installed. I am only using ScriptHookVDotNet 2.10.10 though, so I don't know if that makes any difference. I also have no mods folder related mods installed, it's all just scripts. But if one of those mods needs updating for any reason, especially one that uses memory patching, that can cause a complete game crash. St4hl 1 Link to comment Share on other sites More sharing options...
St4hl Posted December 19, 2020 Author Share Posted December 19, 2020 (edited) 23 minutes ago, LeeC22 said: You've possibly got one of the mods causing the crash. I've got all my own mods working with no problems, plus the last version of Simple Trainer V (11.9) working as well... and that's without a modded gameconfig or any of the Heap or Packfile adjusters installed. I am only using ScriptHookVDotNet 2.10.10 though, so I don't know if that makes any difference. I also have no mods folder related mods installed, it's all just scripts. But if one of those mods needs updating for any reason, especially one that uses memory patching, that can cause a complete game crash. Thanks for replying. But i have tried every one of them one by one, making sure that they dont conflict. But do you mean that you're only using ScriptHookVDotNet and not Scripthook? Edited December 19, 2020 by St4hl Link to comment Share on other sites More sharing options...
LeeC22 Posted December 19, 2020 Share Posted December 19, 2020 (edited) 9 minutes ago, St4hl said: Thanks for replying. But i have tried every one of them one by one, making sure that they dont conflict. But do you mean that you're only using ScriptHookVDotNet and not Scripthook? No, sorry... I meant I am using the latest ScriptHookV but an older version of ScriptHookVDotNet. Edit: Here's what I would suggest. rename your scripts folder to no_scripts, rename your mods folder to no_mods, remove all mods files from your main folder apart from dinput8.dll and ScriptHookV.dll, then run the game. If that works, add ScriptHookVDotNet, create a new scripts folder and copy the code below into a file called DisplayGameVersion.cs, put it in your new scripts folder and run the game again. That will at the very least tell you if scripts are running correctly. using System; using System.Drawing; using System.Collections; using System.Collections.Generic; using GTA; namespace DisplayGameVersion { public class cGameVersionDisplay : Script { public cGameVersionDisplay() { Tick += onTick; Interval = 1000; } private void onTick(object sender, EventArgs e) { UI.ShowSubtitle(Game.Version.ToString()); } } } Edited December 19, 2020 by LeeC22 St4hl 1 Link to comment Share on other sites More sharing options...
St4hl Posted December 19, 2020 Author Share Posted December 19, 2020 15 minutes ago, LeeC22 said: No, sorry... I meant I am using the latest ScriptHookV but an older version of ScriptHookVDotNet. Edit: Here's what I would suggest. rename your scripts folder to no_scripts, rename your mods folder to no_mods, remove all mods files from your main folder apart from dinput8.dll and ScriptHookV.dll, then run the game. If that works, add ScriptHookVDotNet, create a new scripts folder and copy the code below into a file called DisplayGameVersion.cs, put it in your new scripts folder and run the game again. That will at the very least tell you if scripts are running correctly. using System; using System.Drawing; using System.Collections; using System.Collections.Generic; using GTA; namespace DisplayGameVersion { public class cGameVersionDisplay : Script { public cGameVersionDisplay() { Tick += onTick; Interval = 1000; } private void onTick(object sender, EventArgs e) { UI.ShowSubtitle(Game.Version.ToString()); } } } I have a fresh backup of gta 5. so i remove my modded one and copy-paste the fresh one and doing what you suggest, thank you. will report back afterwards LeeC22 1 Link to comment Share on other sites More sharing options...
St4hl Posted December 19, 2020 Author Share Posted December 19, 2020 29 minutes ago, LeeC22 said: No, sorry... I meant I am using the latest ScriptHookV but an older version of ScriptHookVDotNet. Edit: Here's what I would suggest. rename your scripts folder to no_scripts, rename your mods folder to no_mods, remove all mods files from your main folder apart from dinput8.dll and ScriptHookV.dll, then run the game. If that works, add ScriptHookVDotNet, create a new scripts folder and copy the code below into a file called DisplayGameVersion.cs, put it in your new scripts folder and run the game again. That will at the very least tell you if scripts are running correctly. using System; using System.Drawing; using System.Collections; using System.Collections.Generic; using GTA; namespace DisplayGameVersion { public class cGameVersionDisplay : Script { public cGameVersionDisplay() { Tick += onTick; Interval = 1000; } private void onTick(object sender, EventArgs e) { UI.ShowSubtitle(Game.Version.ToString()); } } } so the game started with only scripthook and dinput8.dll. i added scripthookvdotnet and made that file in a scripts folder but the file became a textfile. i added your code and the game started fine but how do i know if it loaded the script? Link to comment Share on other sites More sharing options...
LeeC22 Posted December 19, 2020 Share Posted December 19, 2020 (edited) 8 minutes ago, St4hl said: so the game started with only scripthook and dinput8.dll. i added scripthookvdotnet and made that file in a scripts folder but the file became a textfile. i added your code and the game started fine but how do i know if it loaded the script? Make sure you haven't got file extensions hidden, or the file might be called DisplayGameVersion.cs.txt, which won't run. If the script is running, you should see a number at the bottom of the screen, mine shows 65 but yours might be one off from that if you have a different version of the game (Steam/Epic/Retail), mine is Retail. In the ScriptHookVDotNet log, you should also see something like this: [15:43:55] [DEBUG] Successfully compiled 'DisplayGameVersion.cs'. [15:43:55] [DEBUG] Found 1 script(s) in 'DisplayGameVersion.cs'. Edited December 19, 2020 by LeeC22 St4hl 1 Link to comment Share on other sites More sharing options...
St4hl Posted December 19, 2020 Author Share Posted December 19, 2020 (edited) 9 minutes ago, LeeC22 said: Make sure you haven't got file extensions hidden, or the file might be called DisplayGameVersion.cs.txt, which won't run. If the script is running, you should see a number at the bottom of the screen, mine shows 65 but yours might be one off from that if you have a different version of the game (Steam/Epic/Retail), mine is Retail. In the ScriptHookVDotNet log, you should also see something like this: [15:43:55] [DEBUG] Successfully compiled 'DisplayGameVersion.cs'. [15:43:55] [DEBUG] Found 1 script(s) in 'DisplayGameVersion.cs'. Okay, it worked, i see the number 64 and the bottom of the screen. You have 65? Mine is on Steam. But most mods ( all of them working the day before the GTA update) are crashing the game. Wov make the loading screen load forever. Crime and Police Rebalance & Enhancement simply crash. I will keep on trying everything. But scripts mods should work fine right? Edited December 19, 2020 by St4hl Link to comment Share on other sites More sharing options...
LeeC22 Posted December 19, 2020 Share Posted December 19, 2020 (edited) 8 minutes ago, St4hl said: Okay, it worked, i see the number 64 and the bottom of the screen. Thanks. But most mods ( all of them working the day before the GTA update) are crashing the game. Wov make the loading screen load forever. Crime and Police Rebalance & Enhancement simply crash. I will keep on trying everything. But scripts mods should work fine right? Script mods will work unless there is code that is version specific, any mods that are like that, might crash the game completely. I have 11 mods that work fine but if the update had changed a certain value they rely on to work, the game would have crashed... I was lucky this time. All you can do is try them one by one but the good thing about scripts, is that you don't have to restart the game to try them. Just drop a new script into the scripts folder, then hit insert to reload the scripts... they're quick and easy to test. Mods that live in the mods folder can be a pain but again, your only option is to try them. If they modify game files, the base game files might have changed, meaning the modded ones will be incompatible. In that case, you will have to wait for them to be updated by the mod author. Edit: Just checked the mod page for that Crime and Police mod and the last 2 versions have "Updated to latest patch." in the changelog, so that probably needs to be updated. Edited December 19, 2020 by LeeC22 St4hl 1 Link to comment Share on other sites More sharing options...
St4hl Posted December 19, 2020 Author Share Posted December 19, 2020 5 minutes ago, LeeC22 said: Script mods will work unless there is code that is version specific, any mods that are like that, might crash the game completely. I have 11 mods that work fine but if the update had changed a certain value they rely on to work, the game would have crashed... I was lucky this time. All you can do is try them one by one but the good thing about scripts, is that you don't have to restart the game to try them. Just drop a new script into the scripts folder, then hit insert to reload the scripts... they're quick and easy to test. Mods that live in the mods folder can be a pain but again, your only option is to try them. If they modify game files, the base game files might have changed, meaning the modded ones will be incompatible. In that case, you will have to wait for them to be updated by the mod author. Edit: Just checked the mod page for that Crime and Police mod and the last 2 versions have "Updated to latest patch." in the changelog, so that probably needs to be updated. Thanks again man, that explains why that police mod doesnt work i guess. I didnt know you can reload scripts on insert button, great hehe. thank you, have a good weekend LeeC22 1 Link to comment Share on other sites More sharing options...
LeeC22 Posted December 19, 2020 Share Posted December 19, 2020 Just now, St4hl said: Thanks again man, that explains why that police mod doesnt work i guess. I didnt know you can reload scripts on insert button, great hehe. thank you, have a good weekend If you are using SHVDN 3.0 or later, you have to change a setting in the ini file to enable that option. Something like RELOAD SCRIPTS KEY = Insert will do it. St4hl 1 Link to comment Share on other sites More sharing options...
St4hl Posted December 19, 2020 Author Share Posted December 19, 2020 Just wanna say that this update broke almost all mods that based on a modified mods folder. So unnecessary, feels like that is what they wanted to do... The day before the update everything worked like a charm... Link to comment Share on other sites More sharing options...
LeeC22 Posted December 19, 2020 Share Posted December 19, 2020 1 hour ago, St4hl said: Just wanna say that this update broke almost all mods that based on a modified mods folder. So unnecessary, feels like that is what they wanted to do... The day before the update everything worked like a charm... I'll try adding some mods folder based stuff later, I think I have a couple of maps and some addon peds I can try. I'll post back here if I find anything worth mentioning. That reload setting I said above isn't the correct name, I don't use v3 so i couldn't remember exactly what it was. It is this by default: ReloadKey=None Just change that to: ReloadKey=Insert Link to comment Share on other sites More sharing options...
GAR-MSK Posted December 19, 2020 Share Posted December 19, 2020 Hi. Im already posted this question but I think there is better place to ask it. There is a problem. After last update (1.0.2189) game starts crashing with any of my addon vehicles. By the way I have a self-maded DLC with one handling.meta for all addon vehicles. Game working fine when I turning on only this DLC but if I add to dlclist any of ~40 addon vehs game crashes. OpenIV log says that last file loaded is dlcSPUpgrade:/x64/anim/ingame/[email protected]. Shurely, I updated scripthookv, scripthookvdotnet and tried to delete all scripts like nobundarylimits, heapajuster, packfilelimitajuster etc Link to comment Share on other sites More sharing options...
LeeC22 Posted December 19, 2020 Share Posted December 19, 2020 33 minutes ago, GAR-MSK said: Hi. Im already posted this question but I think there is better place to ask it. There is a better place to ask it and that's in a New thread about your specific problem. You are going to need to post more information about your problem and you can't do that in the middle of someone else's problem thread. Make a new thread and people will respond to it... hopefully. @St4hl I have just added a dlcpack with two addon streamed peds, another with an addon Infernus SR car and a third that is a converted MILO of Nico's apartment from GTAIV. I used the base 1x traffic from that gameconfig you linked and it all loaded and spawned with no crashing. I also added ACSPatch.asi (which stops the wheels going back to straight when you exit a vehicle), HeapAdjuster, NoBoundaryLimits, PackfileLimitAdjuster, RespawnFix and of course OpenIV. That's as well as my existing script mods. The problem might be being caused by a mod that is based on an old version of a gamefile that has changed, or a mod that simply has an incompatible file. Sadly, that means re-adding all your mods one-by-one until you find it. If you already know one mod that definitely causes a crash, post a link. Link to comment Share on other sites More sharing options...
abzulyc Posted January 12, 2021 Share Posted January 12, 2021 Hi, I have similar issue which my mods in the "mods" folder is not working. I've been modding for the past 1 year and know what to do, but I found no solution to this problem. The addon vehicles cannot spawn, it says "model not found" in the trainer, and "vehicle does not exist" in the addon car spawner. Also my other mods (like the addonpeds) are not working. It seems like the game did not read the mods or there are something wrong with openiv. Can someone help me. (the scripts are running fine) Link to comment Share on other sites More sharing options...
hargadon01 Posted January 12, 2021 Share Posted January 12, 2021 (edited) I’m experiencing similar problems. I’ve managed to get the game to work with some mods installed inside the mod folder & in the directory (LA roads, a graphics overhaul & latest versions of the scripthooks, trainer etc) but as soon as I add lines of added cars to the dlclist.xml file, the game will hang on the loading screen & requires a windows manual shutdown. It’s weird, because I’d expect LA roads to cause the same issue, seen as I’m also adding a line to the file with that but it doesn’t seem to mind, only with added cars. Any ideas from the more clued up people on here? Any help would be appreciated. Thanks. Edited January 12, 2021 by hargadon01 Link to comment Share on other sites More sharing options...
LeeC22 Posted January 12, 2021 Share Posted January 12, 2021 @abzulyc @hargadon01 If you make your own threads about your own specific problems, people are more likely to help. Your issues might seem similar but they might not be and you might have to provide information specific to your situation. hargadon01 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