Error: Failed to initiate script NEED HELP PLS
-
A mod that i've been playing for a while now has suddenly stopped working after the newest script hook update and I don't know why so I would like to know if anyone else has gotten the same problem and if so how did they fix it. These are the errors in my log, does anyone know what I could do to get the mod working again?
[16:09:00] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[16:09:00] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[16:09:00] [DEBUG] Loading scripts from\SteamLibrary\steamapps\common\Grand Theft Auto V\scripts ...
[16:09:00] [DEBUG] Loading assembly GangAndTurfMod.dll ...
[16:09:01] [INFO] Found 7 script(s) in GangAndTurfMod.dll resolved to API 2.10.12.
[16:09:01] [DEBUG] Instantiating script GTA.GangAndTurfMod.AmbientGangMemberSpawner ...
[16:09:01] [INFO] Started script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[16:09:01] [DEBUG] Instantiating script GTA.GangAndTurfMod.AutoSaver ...
[16:09:01] [INFO] Started script GTA.GangAndTurfMod.AutoSaver.
[16:09:01] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangMemberUpdater ...
[16:09:01] [INFO] Started script GTA.GangAndTurfMod.GangMemberUpdater.
[16:09:01] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangVehicleUpdater ...
[16:09:01] [INFO] Started script GTA.GangAndTurfMod.GangVehicleUpdater.
[16:09:01] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangWarManager ...
[16:09:01] [ERROR] Failed to instantiate script GTA.GangAndTurfMod.GangWarManager because constructor threw an exception: System.IO.FileNotFoundException: Could not load file or assembly 'NativeUI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'NativeUI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=null'
at GTA.GangAndTurfMod.GangWarManager..ctor()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].[16:09:01] [DEBUG] Instantiating script GTA.GangAndTurfMod.ModCore ...
[16:09:03] [ERROR] Failed to instantiate script GTA.GangAndTurfMod.ModCore because constructor threw an exception: System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.GangManager.SetGangRelationsAccordingToAggrLevel(GangMemberAggressivenessMode aggrLevel)
at GTA.GangAndTurfMod.GangManager.SetUpAllGangs()
at GTA.GangAndTurfMod.GangManager..ctor()
at GTA.GangAndTurfMod.ModCore..ctor()
[16:09:03] [DEBUG] Instantiating script GTA.GangAndTurfMod.WorldLocChecker ...
[16:09:03] [INFO] Started script GTA.GangAndTurfMod.WorldLocChecker.
[16:09:03] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.GangMemberUpdater.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[16:09:03] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangMemberUpdater.
[16:09:03] [WARNING] Aborted script GTA.GangAndTurfMod.GangMemberUpdater.
[16:09:03] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangVehicleUpdater.
[16:09:03] [WARNING] Aborted script GTA.GangAndTurfMod.GangVehicleUpdater.
[16:09:07] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.MindControl.get_CurrentPlayerCharacter()
at GTA.GangAndTurfMod.ZoneManager.GetCurrentTurfZone()
at GTA.GangAndTurfMod.AmbientGangMemberSpawner.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[16:09:07] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[16:09:07] [WARNING] Aborted script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[16:09:07] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.MindControl.get_CurrentPlayerCharacter()
at GTA.GangAndTurfMod.WorldLocChecker.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[16:09:07] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.WorldLocChecker.
[16:09:07] [WARNING] Aborted script GTA.GangAndTurfMod.WorldLocChecker.