@lucasvinbr Ya thanks the mod loaded when i kept the nativeui.dll in the scripts folder. But now even after starting the gang war gang members are not attacking each other any solutions?
[22:04:13] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[22:04:14] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[22:04:15] [DEBUG] Loading scripts from C:\Program Files\Epic Games\GTAV\scripts ...
[22:04:15] [DEBUG] Loading assembly GangAndTurfMod.dll ...
[22:04:16] [INFO] Found 7 script(s) in GangAndTurfMod.dll resolved to API 2.10.12.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.AmbientGangMemberSpawner ...
[22:04:16] [INFO] Started script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.AutoSaver ...
[22:04:16] [INFO] Started script GTA.GangAndTurfMod.AutoSaver.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangMemberUpdater ...
[22:04:16] [INFO] Started script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangVehicleUpdater ...
[22:04:16] [INFO] Started script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangWarManager ...
[22:04:17] [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.8.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'NativeUI, Version=1.8.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].
[22:04:17] [DEBUG] Instantiating script GTA.GangAndTurfMod.ModCore ...
[22:04:24] [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()
[22:04:24] [DEBUG] Instantiating script GTA.GangAndTurfMod.WorldLocChecker ...
[22:04:24] [INFO] Started script GTA.GangAndTurfMod.WorldLocChecker.
[22:04:24] [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()
[22:04:24] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:24] [WARNING] Aborted script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:24] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.GangVehicleUpdater.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[22:04:24] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:24] [WARNING] Aborted script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:29] [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()
[22:04:29] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:29] [WARNING] Aborted script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:29] [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()
[22:04:29] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.WorldLocChecker.
[22:04:29] [WARNING] Aborted script GTA.GangAndTurfMod.WorldLocChecker.
Getting the following error.It is saying script aborted
[22:04:17] [DEBUG] Instantiating script GTA.GangAndTurfMod.ModCore ...
[22:04:24] [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()
[22:04:24] [DEBUG] Instantiating script GTA.GangAndTurfMod.WorldLocChecker ...
[22:04:24] [INFO] Started script GTA.GangAndTurfMod.WorldLocChecker.
[22:04:24] [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()
[22:04:24] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:24] [WARNING] Aborted script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:24] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.GangVehicleUpdater.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[22:04:24] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:24] [WARNING] Aborted script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:29] [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()
[22:04:29] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:29] [WARNING] Aborted script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:29] [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()
[22:04:29] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.WorldLocChecker.
[22:04:29] [WARNING] Aborted script GTA.GangAndTurfMod.WorldLocChecker.
@lucasvinbr Ya thanks the mod loaded when i kept the nativeui.dll in the scripts folder. But now even after starting the gang war gang members are not attacking each other any solutions?
@lucasvinbr This is the entire Log:-
[22:04:13] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[22:04:14] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[22:04:15] [DEBUG] Loading scripts from C:\Program Files\Epic Games\GTAV\scripts ...
[22:04:15] [DEBUG] Loading assembly GangAndTurfMod.dll ...
[22:04:16] [INFO] Found 7 script(s) in GangAndTurfMod.dll resolved to API 2.10.12.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.AmbientGangMemberSpawner ...
[22:04:16] [INFO] Started script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.AutoSaver ...
[22:04:16] [INFO] Started script GTA.GangAndTurfMod.AutoSaver.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangMemberUpdater ...
[22:04:16] [INFO] Started script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangVehicleUpdater ...
[22:04:16] [INFO] Started script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:16] [DEBUG] Instantiating script GTA.GangAndTurfMod.GangWarManager ...
[22:04:17] [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.8.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'NativeUI, Version=1.8.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].
[22:04:17] [DEBUG] Instantiating script GTA.GangAndTurfMod.ModCore ...
[22:04:24] [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()
[22:04:24] [DEBUG] Instantiating script GTA.GangAndTurfMod.WorldLocChecker ...
[22:04:24] [INFO] Started script GTA.GangAndTurfMod.WorldLocChecker.
[22:04:24] [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()
[22:04:24] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:24] [WARNING] Aborted script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:24] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.GangVehicleUpdater.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[22:04:24] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:24] [WARNING] Aborted script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:29] [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()
[22:04:29] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:29] [WARNING] Aborted script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:29] [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()
[22:04:29] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.WorldLocChecker.
[22:04:29] [WARNING] Aborted script GTA.GangAndTurfMod.WorldLocChecker.
Getting the following error.It is saying script aborted
[22:04:17] [DEBUG] Instantiating script GTA.GangAndTurfMod.ModCore ...
[22:04:24] [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()
[22:04:24] [DEBUG] Instantiating script GTA.GangAndTurfMod.WorldLocChecker ...
[22:04:24] [INFO] Started script GTA.GangAndTurfMod.WorldLocChecker.
[22:04:24] [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()
[22:04:24] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:24] [WARNING] Aborted script GTA.GangAndTurfMod.GangMemberUpdater.
[22:04:24] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.GangAndTurfMod.GangVehicleUpdater.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[22:04:24] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:24] [WARNING] Aborted script GTA.GangAndTurfMod.GangVehicleUpdater.
[22:04:29] [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()
[22:04:29] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:29] [WARNING] Aborted script GTA.GangAndTurfMod.AmbientGangMemberSpawner.
[22:04:29] [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()
[22:04:29] [ERROR] The exception was thrown while executing the script GTA.GangAndTurfMod.WorldLocChecker.
[22:04:29] [WARNING] Aborted script GTA.GangAndTurfMod.WorldLocChecker.