ClonkAndre / ScriptHookDotNet-for-IVSDKDotNet

GTA IV ScriptHookDotNet from HazardX with a IV-SDK .NET translation layer on-top to make mods created with ScriptHookDotNet work with IV-SDK .NET!
MIT License
3 stars 0 forks source link

The GTAV Weapon HUD (Next Gen Style) mod does not work as expected #19

Open inzeRT-G0LD opened 5 days ago

inzeRT-G0LD commented 5 days ago

The GTAV Weapon HUD (Next Gen Style) mod does not work as expected, namely the following is defined in IVSDKDotNet.log:

[01.07.2024 10:51:10] IV-SDK .NET Release version 1.4 by ItsClonkAndre [01.07.2024 10:51:10] Loaded IV-SDK .NET config.ini! [01.07.2024 10:51:19] Finished loading 0 IV-SDK .NET scripts. [01.07.2024 10:51:45] There is currently no new IV-SDK .NET update available. [01.07.2024 10:52:29] Found ScriptHookDotNet script: MWojtanis_HUD.GTA_5_HUD [01.07.2024 10:52:30] An exception occured while trying to load script 'GTA_5_HUD'. Details: System.Reflection.TargetInvocationException: Адресат вызова создал исключение. ---> System.FormatException: Входная строка имела неверный формат. в System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) в System.Convert.ToDouble(String value) в MWojtanis_HUD.GTA_5_HUD.Czytanie(Int32 wyborGry) в MWojtanis_HUD.GTA_5_HUD..ctor() --- Конец трассировки внутреннего стека исключений --- в System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) в System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) в System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) в System.Activator.CreateInstance(Type type, Boolean nonPublic) в System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) в System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) в System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) в System.Reflection.Assembly.CreateInstance(String typeName) в Manager.Main.LoadAssembly(String path) [01.07.2024 10:52:30] Finished loading 1 ScriptHookDotNet scripts.

It seems like the .ini configuration file of this mod is recognized in the new version of IVSDK 1.4, but when launching the mod on a specific key, instead of the list of weapons, only the time slowdown function works, but other necessary things (weapon images (wheel), their characteristics, selection) are not!