Problem with Mods in Scripts folder
-
Good Evening to everyone. Yesterday I bought the steam version of the game. I tried wearing custom clothes and had no problems. I put the Menyoo on and had no problems. I downgraded the version to the previous one in order to use Script Hook, and tried to install Hot Coffee and Custom Peds (both in the scripts folder) The first one, the menu opens, but when I click on one of the various options, it remains the same page, and nothing changes, while for custom peds instead, it opens and after a few fractions of a second it closes, this happens only once, and then you can't open it anymore. I have all the things I need to make them work, but I can't. Can anyone tell me why?
-
@AlohaFrancio
Try different versions of NativeUI.
I think Hot Coffee requires v1.8 & Custom Peds requires v1.7 so you may not be able to get them to work together
It all depends, they might both work with one of those versions. Worst case, you can always keep a copy of both & swap between them, before loading the game, depending on which mod you want to play etc.Note:
Any other scripts, that explicitly require a different version of NativeUI to function, may fail to work correctly also. Swap NativeUI versions depending on what you want for that too.
-
[Watch This Video (
)
-
@a63nt-5m1th said in Problem with Mods in Scripts folder:
Any other scripts, that explicitly require a different version of NativeUI to function, may fail to work correctly also. Swap NativeUI versions depending on what you want for that too.
i just tried and i have the same problem. i tried with custompeds (1.7) but it opens and closes a few seconds later
-
@AlohaFrancio
Custom Peds says:Prerequisites:
ScriptHookV: (Copy to GTA V main directory)
http://www.dev-c.com/gtav/scripthookv/
ScriptHookVDotNet2 - v2.10.6: (Copy to GTA V main directory)
https://github.com/crosire/scripthookvdotnet/releases
NativeUI 1.7: (Copy NativeUI.dll to your scripts directory.)
https://github.com/Guad/NativeUI/releasesThat's all I have to go on. It is 2 years old. A lot of people in the comments section saying it no longer works.
-
@a63nt-5m1th [21:20:51]
[21:31:27] [ERROR] Failed to load config: System.IO.FileNotFoundException: Il file 'C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\ScriptHookVDotNet.ini' non è stato trovato.
Nome file: 'C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\ScriptHookVDotNet.ini'
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
in System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
in System.IO.StreamReader..ctor(String path, Encoding encoding)
in System.IO.File.InternalReadAllLines(String path, Encoding encoding)
in ?A0xc1aa4bd5.ScriptHookVDotnet_ManagedInit()
[21:31:27] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[21:31:27] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[21:31:27] [DEBUG] Loading scripts from C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\scripts ...
[21:31:27] [DEBUG] Loading assembly CustomPeds.dll ...
[21:31:27] [WARNING] Resolving API version 0.0.0.
[21:31:27] [INFO] Found 36 script(s) in CustomPeds.dll resolved to API 2.10.13.
[21:31:27] [DEBUG] Loading assembly HotCoffee.dll ...
[21:31:27] [INFO] Found 7 script(s) in HotCoffee.dll resolved to API 2.10.13.
[21:31:27] [DEBUG] Loading assembly NativeUI.dll ...
[21:31:27] [INFO] Found 1 script(s) in NativeUI.dll resolved to API 2.10.13.
[21:31:27] [DEBUG] Instantiating script CustomPeds.Behavior ...
[21:31:27] [INFO] Started script CustomPeds.Behavior.
[21:31:27] [DEBUG] Instantiating script CustomPeds.DressingScript ...
[21:31:27] [INFO] Started script CustomPeds.DressingScript.
[21:31:27] [DEBUG] Instantiating script CustomPeds.Main ...
[21:31:27] [INFO] Started script CustomPeds.Main.
[21:31:27] [DEBUG] Instantiating script CustomPeds.Menus.BadgeMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.BadgeMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.BadgeSubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.BadgeSubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.ComponentMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.ComponentMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.ComponentSubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.ComponentSubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.DressingRoomAdvancedMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.DressingRoomAdvancedMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.DressingRoomMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.DressingRoomMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.FaceFeatureSubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.FaceFeatureSubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.GirlfriendMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.GirlfriendMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.HeadBlendSubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.HeadBlendSubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.HeadOverlayMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.HeadOverlayMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.HeadOverlaySubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.HeadOverlaySubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.MainMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.MainMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.ModelMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.ModelMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.ModelSubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.ModelSubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.OnFootMainMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.OnFootMainMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.OnFootSexMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.OnFootSexMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.OtherColorsSubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.OtherColorsSubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.PlayerMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.PlayerMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.PreLoadedMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.PreLoadedMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.PropMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.PropMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.PropSubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.PropSubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.RecordMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.RecordMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.SettingMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.SettingMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.SpeechMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.SpeechMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.TattooMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.TattooMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.TattooSubMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.TattooSubMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.VehicleMainMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.VehicleMainMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Menus.VehicleSexMenu ...
[21:31:28] [INFO] Started script CustomPeds.Menus.VehicleSexMenu.
[21:31:28] [DEBUG] Instantiating script CustomPeds.OnFootSexScript ...
[21:31:28] [INFO] Started script CustomPeds.OnFootSexScript.
[21:31:28] [DEBUG] Instantiating script CustomPeds.Origin ...
[21:31:28] [INFO] Started script CustomPeds.Origin.
[21:31:28] [DEBUG] Instantiating script CustomPeds.ScriptSettings ...
[21:31:28] [INFO] Started script CustomPeds.ScriptSettings.
[21:31:28] [DEBUG] Instantiating script CustomPeds.TextSetting ...
[21:31:28] [INFO] Started script CustomPeds.TextSetting.
[21:31:28] [DEBUG] Instantiating script CustomPeds.VehicleSexScript ...
[21:31:28] [INFO] Started script CustomPeds.VehicleSexScript.
[21:31:28] [DEBUG] Instantiating script HotCoffee.HotCoffeeOnFootScript ...
[21:31:28] [INFO] Started script HotCoffee.HotCoffeeOnFootScript.
[21:31:28] [DEBUG] Instantiating script HotCoffee.HotCoffeeVehicleScript ...
[21:31:28] [INFO] Started script HotCoffee.HotCoffeeVehicleScript.
[21:31:28] [DEBUG] Instantiating script HotCoffee.Main ...
[21:31:28] [INFO] Started script HotCoffee.Main.
[21:31:28] [DEBUG] Instantiating script HotCoffee.Menus.OnFoot.MainMenu ...
[21:31:28] [ERROR] Failed to instantiate script HotCoffee.Menus.OnFoot.MainMenu because constructor threw an exception: System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in NativeUI.UIMenu.BindMenuToItem(UIMenu menuToBind, UIMenuItem itemToBindTo)
in HotCoffee.Menus.OnFoot.MainMenu..ctor()
[21:31:28] [DEBUG] Instantiating script HotCoffee.Menus.OnFoot.SexMenu ...
[21:31:28] [INFO] Started script HotCoffee.Menus.OnFoot.SexMenu.
[21:31:28] [DEBUG] Instantiating script HotCoffee.Menus.Vehicle.MainMenu ...
[21:31:28] [INFO] Started script HotCoffee.Menus.Vehicle.MainMenu.
[21:31:28] [DEBUG] Instantiating script HotCoffee.Settings ...
[21:31:28] [INFO] Started script HotCoffee.Settings.
[21:31:28] [DEBUG] Instantiating script NativeUI.BigMessageThread ...
[21:31:28] [INFO] Started script NativeUI.BigMessageThread.
[21:32:20] [ERROR] Caught fatal unhandled exception:
System.ArgumentNullException: Il valore non può essere null.
Nome parametro: s
in System.Text.UTF8Encoding.GetByteCount(String chars)
in NativeUI.UIResText.AddLongString(String str)
in NativeUI.UIResText.Draw(Size offset)
in GTA.UIText.Draw()
in NativeUI.UIMenuItem.Draw()
in NativeUI.UIMenu.Draw()
in NativeUI.MenuPool.Draw()
in CustomPeds.Main.OnTick(Object sender, EventArgs e)
in SHVDN.Script.MainLoop()
[21:32:20] [ERROR] The exception was thrown while executing the script CustomPeds.Main.
[21:32:20] [WARNING] Aborted script CustomPeds.Main.theese are the logs of ScriptHookVDotNet.. do you know what is the problem?
-
@AlohaFrancio said in Problem with Mods in Scripts folder:
C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\ScriptHookVDotNet.ini
Does that^ file exist? Looks like it is missing?
-
I was able to solve by pasting the logs. I had the wrong version of ScriptHookVDotNet. Thank u