Scripts stop working during launching..
-
Hello everyone...Scripts are not working properly..scripts load and stops working or some scripts are not starting...updated versions of script hook v and scripthookvdotne...but still getting this error..
-
@rAiZo-375 - Please provide us with your scripthook logs. Maybe we could find a clue in there.
-
@TheMurderousCricket
scripthook v log :// GTA V SCRIPT HOOK (build May 26 2020, v1.0.1868.4)
// (C) Alexander Blade 2015-2020
[12:02:44] INIT: Started
[12:02:45] INIT: Success, game version is VER_1_0_1868_4_EGS
[12:02:45] INIT: Registering script 'gtamp-reveal-full-map_v1_1.asi' (0x00007FFB316F53F0)
[12:02:47] INIT: Registering script 'Menyoo.asi' (0x00007FFAE76299B0)
[12:02:47] INIT: Registering additional script thread 'Menyoo.asi' (0x00007FFAE7639CB0)
[12:02:47] INIT: Registering script 'NFSgauge.asi' (0x00007FFAE4FBC5D0)
[12:02:49] INIT: Registering script 'ScriptHookVDotNet.asi' (0x00007FFB192E1480)
[12:02:49] INIT: Registering script 'the_red_house.asi' (0x00007FFB1166B9D0)
[12:02:50] INIT: Registering script 'TrainerV.asi' (0x00007FFAD6515AF0)
[12:03:17] INIT: Pool 1 extended
[12:03:17] INIT: Pool 2 extended
[12:03:17] INIT: Pool 3 extended
[12:03:17] INIT: Pool 4 extended
[12:03:22] INIT: GtaThread collection size 189
[12:03:22] INIT: wnd proc 0x00000000FFFF01CB
[12:03:22] INIT: IDXGISwapChain 0x00007FFB33CDB438 (0x00007FFB33C44F80)
[12:03:22] INIT: IDXGISwapChain set
[12:03:22] INIT: DX init started
[12:03:22] INIT: DX feature level B000
[12:03:22] INIT: DX init succeeded
[12:04:39] CORE: Requesting thread creation
[12:04:40] CORE: Creating threads
[12:04:45] CORE: Started control thread, id 31 active 1
[12:04:45] CORE: Started thread 'gtamp-reveal-full-map_v1_1.asi' (0x00007FFB316F53F0), id 32 active 1
[12:04:45] CORE: Started thread 'Menyoo.asi' (0x00007FFAE76299B0), id 33 active 1
[12:04:45] CORE: Started thread 'Menyoo.asi' (0x00007FFAE7639CB0), id 34 active 1
[12:04:45] CORE: Started thread 'NFSgauge.asi' (0x00007FFAE4FBC5D0), id 35 active 1
[12:04:45] CORE: Started thread 'ScriptHookVDotNet.asi' (0x00007FFB192E1480), id 36 active 1
[12:04:45] CORE: Started thread 'the_red_house.asi' (0x00007FFB1166B9D0), id 37 active 1
[12:04:45] CORE: Started thread 'TrainerV.asi' (0x00007FFAD6515AF0), id 38 active 1
[12:04:45] CORE: Launching main() for 'gtamp-reveal-full-map_v1_1.asi' (0x00007FFB316F53F0), id 32
[12:04:45] CORE: Launching main() for 'Menyoo.asi' (0x00007FFAE76299B0), id 33
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\needle_orange.png', id 0
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\night_needle_orange.png', id 1
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\needle_red.png', id 2
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\night_needle_red.png', id 3
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_cyan2.png', id 4
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_green2.png', id 5
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_yellow2.png', id 6
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_orange2.png', id 7
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_purple2.png', id 8
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_pink2.png', id 9
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_cyan.png', id 10
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_green.png', id 11
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_yellow.png', id 12
[12:04:45] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_orange.png', id 13
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_purple.png', id 14
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Speedo\bg_pink.png', id 15
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Clock\Default_face.png', id 16
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Clock\Default_handh.png', id 17
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Clock\Default_handm.png', id 18
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Clock\Frameless_face.png', id 19
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Clock\Frameless_handh.png', id 20
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\Clock\Frameless_handm.png', id 21
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\teleportToWaypointBoxKeyboard.png', id 22
[12:04:46] CORE: Creating texture 'D:\GTA V EPIC\GTAV\menyooStuff\Graphics\teleportToWaypointBoxGamepad.png', id 23
[12:04:49] CORE: Launching main() for 'Menyoo.asi' (0x00007FFAE7639CB0), id 34
[12:04:49] CORE: Launching main() for 'NFSgauge.asi' (0x00007FFAE4FBC5D0), id 35
[12:04:49] CORE: Launching main() for 'ScriptHookVDotNet.asi' (0x00007FFB192E1480), id 36
[12:04:49] CORE: Launching main() for 'the_red_house.asi' (0x00007FFB1166B9D0), id 37
[12:04:49] CORE: Launching main() for 'TrainerV.asi' (0x00007FFAD6515AF0), id 38
[12:06:16] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc1.temp', id 24
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc2.temp', id 25
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc3.temp', id 26
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc4.temp', id 27
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc5.temp', id 28
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc6.temp', id 29
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc7.temp', id 30
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc8.temp', id 31
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc9.temp', id 32
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc17.temp', id 33
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc18.temp', id 34
[12:06:17] CORE: Creating texture 'D:\GTA V EPIC\GTAV\custom_NFSgauge\NFSgauge_rc18.temp', id 35
[12:39:30] UNINIT: Unregistering script 'TrainerV.asi'
[12:39:30] UNINIT: Unregistering script 'the_red_house.asi'
[12:39:30] UNINIT: Unregistering script 'ScriptHookVDotNet.asi'
[12:39:30] UNINIT: Unregistering script 'NFSgauge.asi'
[12:39:30] UNINIT: Unregistering script 'Menyoo.asi'
[12:39:30] UNINIT: Unregistering script 'gtamp-reveal-full-map_v1_1.asi'
-
SCRIPTHOOKVDOTNET LOG :
[12:04:52] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[12:04:52] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[12:04:52] [DEBUG] Loading scripts from\GTA V EPIC\GTAV\scripts ...
[12:04:57] [DEBUG] Successfully compiled PlaneHeist.CS.
[12:04:57] [INFO] Found 1 script(s) in PlaneHeist.CS resolved to API 2.10.12.
[12:04:57] [DEBUG] Loading assembly AdaptiveMissiles.dll ...
[12:04:57] [INFO] Found 2 script(s) in AdaptiveMissiles.dll resolved to API 2.10.12.
[12:04:57] [DEBUG] Loading assembly CargoPlaneMod.dll ...
[12:04:58] [INFO] Found 1 script(s) in CargoPlaneMod.dll resolved to API 2.10.12.
[12:04:58] [DEBUG] Loading assembly ClearScript.dll ...
[12:04:58] [INFO] Found 0 script(s) in ClearScript.dll.
[12:04:58] [DEBUG] Loading assembly CNativeUI.dll ...
[12:04:58] [INFO] Found 1 script(s) in CNativeUI.dll resolved to API 2.10.12.
[12:04:58] [DEBUG] Loading assembly GTA5_VEHICLES_PERSISTENCE-1.3.2.dll ...
[12:04:59] [INFO] Found 12 script(s) in GTA5_VEHICLES_PERSISTENCE-1.3.2.dll resolved to API 2.10.12.
[12:04:59] [DEBUG] Loading assembly INMNativeUI.dll ...
[12:04:59] [WARNING] Resolving API version 0.0.0.
[12:04:59] [INFO] Found 1 script(s) in INMNativeUI.dll resolved to API 2.10.12.
[12:04:59] [DEBUG] Loading assembly MapEditor.dll ...
[12:04:59] [INFO] Found 2 script(s) in MapEditor.dll resolved to API 2.10.12.
[12:04:59] [DEBUG] Loading assembly Metadata.dll ...
[12:04:59] [INFO] Found 0 script(s) in Metadata.dll.
[12:04:59] [DEBUG] Loading assembly NativeUI.dll ...
[12:04:59] [INFO] Found 1 script(s) in NativeUI.dll resolved to API 2.10.12.
[12:04:59] [DEBUG] Loading assembly Persistence.dll ...
[12:04:59] [INFO] Found 1 script(s) in Persistence.dll resolved to API 2.10.12.
[12:04:59] [DEBUG] Loading assembly Rob_Fleeca_V2.dll ...
[12:05:00] [INFO] Found 1 script(s) in Rob_Fleeca_V2.dll resolved to API 2.10.12.
[12:05:00] [DEBUG] Loading assembly SinglePlayerGarage.dll ...
[12:05:00] [INFO] Found 4 script(s) in SinglePlayerGarage.dll resolved to API 2.10.12.
[12:05:00] [DEBUG] Loading assembly TugBoat.dll ...
[12:05:00] [INFO] Found 1 script(s) in TugBoat.dll resolved to API 2.10.12.
[12:05:00] [DEBUG] Instantiating script AdaptiveMissiles.AdaptiveMissiles.ScriptMain ...
[12:05:01] [INFO] Started script AdaptiveMissiles.AdaptiveMissiles.ScriptMain.
[12:05:01] [DEBUG] Instantiating script CargoPlaneMod.Cargo ...
[12:05:03] [INFO] Started script CargoPlaneMod.Cargo.
[12:05:03] [DEBUG] Instantiating script NativeUI.BigMessageThread ...
[12:05:03] [INFO] Started script NativeUI.BigMessageThread.
[12:05:03] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.DuplicateRemover ...
[12:05:03] [INFO] Started script GTA5_VEHICLES_PERSISTENCE.DuplicateRemover.
[12:05:03] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.FranklinVehiclesManagementScript ...
[12:05:03] [ERROR] Failed to instantiate script GTA5_VEHICLES_PERSISTENCE.FranklinVehiclesManagementScript because constructor threw an exception: System.NullReferenceException: Object reference not set to an instance of an object.
at GTA5_VEHICLES_PERSISTENCE.FranklinVehiclesManagementScript..ctor()
[12:05:03] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.Locator ...
[12:05:03] [ERROR] Failed to instantiate script GTA5_VEHICLES_PERSISTENCE.Locator because constructor threw an exception: System.ArgumentException: The directory name\GTA V EPIC\GTAV\scripts\VehiclesPersistence is invalid.
at System.IO.FileSystemWatcher.set_Path(String value)
at GTA5_VEHICLES_PERSISTENCE.Locator..ctor()
[12:05:03] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.MainScript ...
[12:05:03] [ERROR] Failed to instantiate script GTA5_VEHICLES_PERSISTENCE.MainScript because constructor threw an exception: System.IO.FileNotFoundException: The VehiclesPersistence.ini file is missing...the mod can't load without it...
at GTA5_VEHICLES_PERSISTENCE.MainScript..ctor()
[12:05:03] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.MessagesManagerScript ...
[12:05:03] [INFO] Started script GTA5_VEHICLES_PERSISTENCE.MessagesManagerScript.
[12:05:03] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.MichaelVehiclesManagementScript ...
[12:05:03] [ERROR] Failed to instantiate script GTA5_VEHICLES_PERSISTENCE.MichaelVehiclesManagementScript because constructor threw an exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at GTA5_VEHICLES_PERSISTENCE.MichaelVehiclesManagementScript..ctor() [12:05:03] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.ModMenu ... [12:05:04] [ERROR] Failed to instantiate script GTA5_VEHICLES_PERSISTENCE.ModMenu because constructor threw an exception: System.NullReferenceException: Object reference not set to an instance of an object. at GTA5_VEHICLES_PERSISTENCE.ModMenu..ctor() [12:05:04] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.OthersVehiclesManagementScript ... [12:05:04] [ERROR] Failed to instantiate script GTA5_VEHICLES_PERSISTENCE.OthersVehiclesManagementScript because constructor threw an exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary
2.get_Item(TKey key)
at GTA5_VEHICLES_PERSISTENCE.OthersVehiclesManagementScript..ctor()
[12:05:04] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.RadioManager ...
[12:05:04] [INFO] Started script GTA5_VEHICLES_PERSISTENCE.RadioManager.
[12:05:04] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.SavedVehicleDetailsScript ...
[12:05:04] [INFO] Started script GTA5_VEHICLES_PERSISTENCE.SavedVehicleDetailsScript.
[12:05:04] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.TrevorVehiclesManagementScript ...
[12:05:04] [ERROR] Failed to instantiate script GTA5_VEHICLES_PERSISTENCE.TrevorVehiclesManagementScript because constructor threw an exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at GTA5_VEHICLES_PERSISTENCE.TrevorVehiclesManagementScript..ctor() [12:05:04] [DEBUG] Instantiating script GTA5_VEHICLES_PERSISTENCE.ZoneFinder ... [12:05:04] [INFO] Started script GTA5_VEHICLES_PERSISTENCE.ZoneFinder. [12:05:04] [DEBUG] Instantiating script INMNativeUI.BigMessageThread ... [12:05:04] [INFO] Started script INMNativeUI.BigMessageThread. [12:05:04] [DEBUG] Instantiating script SuperCars.SuperCars ... [12:05:04] [INFO] Started script SuperCars.SuperCars. [12:05:04] [DEBUG] Instantiating script MapEditor.JavascriptHook ... [12:05:04] [INFO] Started script MapEditor.JavascriptHook. [12:05:04] [DEBUG] Instantiating script MapEditor.MapEditor ... [12:05:07] [INFO] Started script MapEditor.MapEditor. [12:05:07] [DEBUG] Instantiating script NativeUI.BigMessageThread ... [12:05:07] [INFO] Started script NativeUI.BigMessageThread1. [12:05:07] [DEBUG] Instantiating script Persistence.Persistence ... [12:05:07] [INFO] Started script Persistence.Persistence. [12:05:07] [DEBUG] Instantiating script RobFleeca ... [12:05:07] [INFO] Started script RobFleeca. [12:05:07] [DEBUG] Instantiating script mlgthatsme.AnimatedCameraScript ... [12:05:07] [INFO] Started script mlgthatsme.AnimatedCameraScript. [12:05:07] [DEBUG] Instantiating script mlgthatsme.GarageMod.NotificationManager ... [12:05:07] [INFO] Started script mlgthatsme.GarageMod.NotificationManager. [12:05:07] [DEBUG] Instantiating script mlgthatsme.GarageMod.SinglePlayerGarageScript ... [12:05:08] [INFO] Started script mlgthatsme.GarageMod.SinglePlayerGarageScript. [12:05:08] [DEBUG] Instantiating script mlgthatsme.GUI.NativeInputManager ... [12:05:08] [INFO] Started script mlgthatsme.GUI.NativeInputManager. [12:05:08] [DEBUG] Instantiating script Tugboat.Tugboat ... [12:05:08] [INFO] Started script Tugboat.Tugboat. [12:05:08] [ERROR] Caught fatal unhandled exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary
2.get_Item(TKey key)
at GTA5_VEHICLES_PERSISTENCE.HelperMethodsRep.GetOwnerAvatar(Vehicle vh)
at GTA5_VEHICLES_PERSISTENCE.DuplicateRemover.DuplicateRemover_Tick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[12:05:08] [ERROR] The exception was thrown while executing the script GTA5_VEHICLES_PERSISTENCE.DuplicateRemover.
[12:05:08] [WARNING] Aborted script GTA5_VEHICLES_PERSISTENCE.DuplicateRemover.
[12:05:08] [ERROR] Caught fatal unhandled exception:
System.MissingMethodException: Method not found: 'Void GTA.Script.raise_KeyUp(System.Object, System.Windows.Forms.KeyEventArgs)'.
at GTA5_VEHICLES_PERSISTENCE.SavedVehicleDetailsScript.OnScreenDisplayScript_Tick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[12:05:08] [ERROR] The exception was thrown while executing the script GTA5_VEHICLES_PERSISTENCE.SavedVehicleDetailsScript.
[12:05:08] [WARNING] Aborted script GTA5_VEHICLES_PERSISTENCE.SavedVehicleDetailsScript.
[12:06:12] [ERROR] Caught fatal unhandled exception:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at GTA5_VEHICLES_PERSISTENCE.HelperMethodsRep.GetOwnerAvatar(Vehicle vh)
at GTA5_VEHICLES_PERSISTENCE.RadioManager.RadioManager_Tick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[12:06:12] [ERROR] The exception was thrown while executing the script GTA5_VEHICLES_PERSISTENCE.RadioManager.
[12:06:12] [WARNING] Aborted script GTA5_VEHICLES_PERSISTENCE.RadioManager.
-
Clearly, there is a problem with the vehicle persistence mod that you have installed. As far as the other scripts are concerned they seem to be working well...
Try to check if you have all prerequisites to run the vehicle persistence mod of your choice (maybe it also requires .NET or something?) and if not, delete this mod to see if that helps.
If it does - great. There are numerous other persistence mods in the downloads section so you'll easily find a replacement.
-
@TheMurderousCricket
OKAY...i"LL TRY...
-
THERE IS ANOTHER ERROR.I FOUND IN PLANEHEISTMODE is "UNHANDLEDEXCEPTIONERROR IN SCRIPT" AFTER THAT IT STOPPRD WORKING...