Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Almost nothing works after Cayo Perico update with new Scripthook (18-12-20)


St4hl
 Share

Recommended Posts

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 by St4hl
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by St4hl
Link to comment
Share on other sites

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 by LeeC22
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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 by LeeC22
Link to comment
Share on other sites

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 by St4hl
Link to comment
Share on other sites

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 by LeeC22
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

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

 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

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

  • 4 weeks later...

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

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 by hargadon01
Link to comment
Share on other sites

@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.

Link to comment
Share on other sites

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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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