Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      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

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Community Script Hook V .NET


crosire
 Share

Recommended Posts

Hi!

I juust installed everything I need for the "Single Player Apartment Mod" and during the GTA 5 loading screen I get the following erroer-message and GTA 5 stops loading. When I click "OK" it continue to load and I can play the game but without the features of the mod, of course. Does anyone know how to fix that?

 

---------------------------
Community Script Hook V .NET
---------------------------
FATAL: Unable to load 'C:\Program Files (x86)\Grand Theft Auto V\ScriptHookVDotNet2.dll' due to the following exception:
System.IO.FileLoadException: Die Datei oder Assembly "file:///C:\Program Files (x86)\Grand Theft Auto V\ScriptHookVDotNet2.dll" oder eine Abhängigkeit davon wurde nicht gefunden. Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515)
Dateiname: "file:///C:\Program Files (x86)\Grand Theft Auto V\ScriptHookVDotNet2.dll" ---> System.NotSupportedException: Es wurde versucht, eine Assembly von einer Netzwerkadresse zu laden, was in früheren Versionen von .NET Framework zum Ausführen der Assembly als Sandkastenassembly geführt hätte. In dieser Version von .NET Framework wird die CAS-Richtlinie standardmäßig nicht aktiviert, dieser Ladevorgang kann daher gefährlich sein. Wenn Sie nicht beabsichtigen, durch diesen Ladevorgang eine Sandkastenassembly zu erstellen, aktivieren Sie den loadFromRemoteSources-Schalter. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=155569".
bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
bei System.Reflection.Assembly.LoadFrom(String assemblyFile)
bei ManagedInit()
---------------------------
OK
---------------------------
Thanks .-)
Link to comment
Share on other sites

  • 4 weeks later...

Hey guys, probably a dumb question but I've been out of modding since late 2015.

Is it possible to load textures/images from your resource file from inside your script like it's possible with the GTA IV Scripthook? or do we still need to extract all the textures/images before we can access them?

Link to comment
Share on other sites

  • 4 weeks later...

i've been having issues loading every mod that is made for DotNet, this is the log that i get if i just launch the game without manually creating a scripts folder:

[22:50:19] [DEBUG] Created script domain 'ScriptDomain_57C54688' with v2.10.5. [22:50:19] [DEBUG] Loading scripts from 'E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_57C54688' ... [22:50:19] [ERROR] Failed to reload scripts because the directory is missing. 

So i manually created a scripts folder and installed a few mods and this is what i got:

[22:58:48] [DEBUG] Created script domain 'ScriptDomain_9D65D0F0' with v2.10.5. [22:58:48] [DEBUG] Loading scripts from 'E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_9D65D0F0' ... [22:58:48] [iNFO] Loading assembly 'Advanced Bodyguards.dll' ... [22:58:48] [ERROR] Failed to load assembly 'Advanced Bodyguards.dll': System.IO.FileNotFoundException: Could not load file or assembly 'file:///E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts\Advanced Bodyguards.dll' or one of its dependencies. The system cannot find the file specified. File name: 'file:///E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts\Advanced Bodyguards.dll' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at GTA.ScriptDomain.LoadAssembly(String filename)WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].[22:58:48] [iNFO] Loading assembly 'CrysisNanosuit.net.dll' ... [22:58:48] [ERROR] Failed to load assembly 'CrysisNanosuit.net.dll': System.IO.FileNotFoundException: Could not load file or assembly 'file:///E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts\CrysisNanosuit.net.dll' or one of its dependencies. The system cannot find the file specified. File name: 'file:///E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts\CrysisNanosuit.net.dll' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at GTA.ScriptDomain.LoadAssembly(String filename)WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].[22:58:48] [iNFO] Loading assembly 'NativeUI.dll' ... [22:58:48] [ERROR] Failed to load assembly 'NativeUI.dll': System.IO.FileNotFoundException: Could not load file or assembly 'file:///E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts\NativeUI.dll' or one of its dependencies. The system cannot find the file specified. File name: 'file:///E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts\NativeUI.dll' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at GTA.ScriptDomain.LoadAssembly(String filename)WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].[22:58:48] [iNFO] Loading assembly 'NIBMods.net.dll' ... [22:58:48] [ERROR] Failed to load assembly 'NIBMods.net.dll': System.IO.FileNotFoundException: Could not load file or assembly 'file:///E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts\NIBMods.net.dll' or one of its dependencies. The system cannot find the file specified. File name: 'file:///E:\#SteamGames\steamapps\common\Grand Theft Auto V\scripts\NIBMods.net.dll' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at GTA.ScriptDomain.LoadAssembly(String filename)WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 

I tried this with net framework 4.6.2, with and without the ASP.NET, running as admin, with net framework 4.7.1, and finally with only scripthookv, asi loader, scripthookvdotnet and the scripts in the scripts folder and still no progress there. i have both version 12.0.30501 and 12.0.40660 x86 and x64 Visual C++ redist 2013, and Visual C++ redist 2015 version 14.0.24215 x86 and x64
What should i do to get the scripts to load?
Thanks in advance.

Edited by Mini_Purple
Link to comment
Share on other sites

  • 1 month later...
This is my ScriptHookVDotNet.log


[03:00:51] [DEBUG] Created script domain 'ScriptDomain_3781DE5C' with v2.10.5.

[03:00:51] [DEBUG] Loading scripts from 'C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_3781DE5C' ...

[03:00:51] [ERROR] Failed to reload scripts because the directory is missing.



I need help I have been trying to work this for three days and I have done everything. Down Below is what I have installed and have been trying to install


NIBMods.net.dll

ScriptHookVDotNet.asi

ScriptHookVDotNet.dll

TFlash.net.dll

4468af-CW The Flash Characters Pack.rar
Edited by S.O.SHELP
Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
mikecyclexxx

RIP mod?

 

No updates for months, no scripts loading and game crashing.

Link to comment
Share on other sites

  • 3 months later...

Hello, I need help I don't know exactly the problem from who, when I try to open GTA 5 it says "[09:17:59] FATAL: Can't find native 0xC1F1920BAF281317"

This is is a log from ScriptHookV.log

Quote

[09:17:59] FATAL: Can't find native 0xC1F1920BAF281317
[09:18:04] UNINIT: Unregistering script 'ScriptHookVDotNet.asi'
[09:18:04] UNINIT: Unregistering script 'OpenInteriors.asi'
[09:18:04] UNINIT: Unregistering script 'NativeTrainer.asi'
[09:18:04] UNINIT: Unregistering script 'EnhancedNativeTrainer.asi'

 

Link to comment
Share on other sites

  • 8 months later...
  • 6 months later...

@HiToKa This is ScriptHook Dot Net. One of your mods is calling a Native that doesn't exist.

 

@mikecyclexxx The plugin was updated in Oct and doesn't require updating. Your mods crashing is related to the mods and without log details no one can help you.

 

@S.O.SHELP Your log shows the error "Failed to reload scripts because the directory is missing."
You also listed ScriptHookVDotNet.dll which is an old version. Mod DLL files go in the scripts directory.
ScriptHookVDotNet2.dll and ScriptHookVDotNet3.dll should be in the main GTA Directory.

@Mini_Purple Remove the contents from the scripts directory and run the game, if it loads then add the mods one at a time too see which one is causing an issue.

 

@hellohihey  An attempt was made to load an assembly from a network address.

Edited by Tanjitsu
Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...

Hi my game crash always with .NET someone can help me please ? I have tried several NET Runtime versions but he doesnt works properly...

 

 

 

 

Link to comment
Share on other sites

  • 1 month later...

Hello guys I can't get rid of this mistake. Can someone help me please ?

 

Event 1000 Application

 

Faulting application name: GTA5.exe, version: 1.0.1868.1, time stamp: 0x5e7d0b1c
Faulting module name: GTA5.exe, version: 1.0.1868.1, time stamp: 0x5e7d0b1c
Exception code: 0xc0000005
Fault offset: 0x000000000135721e
Faulting process ID: 0xcf0
Faulting application start time: 0x01d6254d6c54fc5a
Faulting application path: E:\Grand Theft Auto V\GTA5.exe
Faulting module path: E:\Grand Theft Auto V\GTA5.exe
Report ID: ff67c646-00a7-4691-ae17-d2c33489412e
Faulting package full name: 
Faulting package-relative application ID: 

 

Event: 1026, NET runtime Application: GTA5.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FF68035721E
Stack:

 

Link to comment
Share on other sites

  • 1 month later...

Hi guys, I have a couple of problems, any help at all id be massively appreciative.

 

I get this error with ANY and ALL script mods. (I just quickly put this one in for example)

 

[15:53:10] [DEBUG] Loading API from .\ScriptHookVDotNet-univ2.dll ...
[15:53:10] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[15:53:10] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[15:53:10] [DEBUG] Loading scripts from D:\Program Files\GTAV\scripts ...
[15:53:10] [DEBUG] Loading assembly EnableAllinteriors.dll ...
[15:53:11] [WARNING] Unable to resolve API version 2.10.12.   <<< Get this with basically all scripts, some show a different API version but all error.
[15:53:11] [DEBUG] Loading assembly iFruitAddon2.dll ...
[15:53:11] [INFO] Found 1 script(s) in iFruitAddon2.dll resolved to API 2.10.9.
[15:53:11] [DEBUG] Instantiating script iFruitAddon2.iFruitAddon2 ...
[15:53:11] [ERROR] Failed to instantiate script iFruitAddon2.iFruitAddon2 because constructor threw an exception: System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.ScriptDomain.LookupScriptFilename(Type scripttype)
at GTA.Script..ctor()
at iFruitAddon2.iFruitAddon2..ctor()

 

Windows 10, Latest HookV, Native Trainer etc works perfect, so its finding the hook etc no issue. Ive reinstalled GTA and all mods etc, all scripts are latest and support my gta version, pressing F4 does bring the console etc up, but wont initialize any scripts at all. 

 

Thanks.

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.