Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

got a bad erro#1474

Unanswered
R6s-Jackal asked this question inQ&A
Jul 14, 2024· 1 comments· 8 replies
Discussion options

My all scripts mods does not work
Here is my Log
[23:19:50] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[23:19:50] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[23:19:50] [DEBUG] Loading scripts from E:\SteamLibrary\steamapps\common\Grand Theft Auto V\scripts ...
[23:19:50] [DEBUG] Loading assembly iFruitAddon2.dll ...
[23:19:50] [INFO] Found 1 script(s) in iFruitAddon2.dll resolved to API 2.11.6.
[23:19:50] [DEBUG] Loading assembly INMNativeUI.dll ...
[23:19:50] [INFO] Found 1 script(s) in INMNativeUI.dll resolved to API 2.11.6.
[23:19:50] [DEBUG] Loading assembly Metadata.dll ...
[23:19:50] [INFO] Found 1 script(s) in Metadata.dll resolved to API 2.11.6.
[23:19:50] [DEBUG] Loading assembly NativeUI.dll ...
[23:19:50] [INFO] Found 1 script(s) in NativeUI.dll resolved to API 2.11.6.
[23:19:50] [DEBUG] Loading assembly SPAII.dll ...
[23:19:50] [INFO] Found 3 script(s) in SPAII.dll resolved to API 2.11.6.
[23:19:50] [DEBUG] Instantiating script iFruitAddon2.iFruitAddon2 ...
[23:19:50] [INFO] Started script iFruitAddon2.iFruitAddon2.
[23:19:50] [DEBUG] Instantiating script INMNativeUI.BigMessageThread ...
[23:19:50] [INFO] Started script INMNativeUI.BigMessageThread.
[23:19:50] [DEBUG] Instantiating script Metadata.Scripts ...
[23:19:50] [INFO] Started script Metadata.Scripts.
[23:19:50] [DEBUG] Instantiating script NativeUI.BigMessageThread ...
[23:19:50] [INFO] Started script NativeUI.BigMessageThread.
[23:19:50] [DEBUG] Instantiating script SPAII.DebugCamera ...
[23:19:50] [INFO] Started script SPAII.DebugCamera.
[23:19:50] [DEBUG] Instantiating script SPAII.SPA2 ...
[23:19:51] [ERROR] Failed to instantiate script SPAII.SPA2 because constructor threw an exception: System.TypeInitializationException: “SPAII.Helper”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 SHVDN.NativeMemory..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 SHVDN.NativeMemory.StringToCoTaskMemUTF8(String s)
在 SHVDN.ScriptDomain.PinString(String str)
在 GTA.Native.Function.ObjectToNative(Object value)
在 GTA.Scaleform..ctor(String scaleformID)
在 SPAII.Helper..cctor() 位置 E:\Users\Bartholomew\Documents\GitHub\SPA-II\SPAII\Class\Helper.vb:行号 63
--- 内部异常堆栈跟踪的结尾 ---
在 SPAII.SPA2..ctor() 位置 E:\Users\Bartholomew\Documents\GitHub\SPA-II\SPAII\SPA2.vb:行号 18
[23:19:51] [DEBUG] Instantiating script SPAII.Timer ...
[23:19:51] [INFO] Started script SPAII.Timer.
[23:19:51] [ERROR] Caught fatal unhandled exception:
System.TypeInitializationException: “SPAII.Helper”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 SHVDN.NativeMemory..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 SHVDN.NativeMemory.StringToCoTaskMemUTF8(String s)
在 SHVDN.ScriptDomain.PinString(String str)
在 GTA.Native.Function.ObjectToNative(Object value)
在 GTA.Scaleform..ctor(String scaleformID)
在 SPAII.Helper..cctor() 位置 E:\Users\Bartholomew\Documents\GitHub\SPA-II\SPAII\Class\Helper.vb:行号 63
--- 内部异常堆栈跟踪的结尾 ---
在 SPAII.Timer.Timer_Tick(Object sender, EventArgs e) 位置 E:\Users\Bartholomew\Documents\GitHub\SPA-II\SPAII\Timer.vb:行号 13
在 SHVDN.Script.DoTick()
[23:19:51] [ERROR] The exception was thrown while executing the script SPAII.Timer.
[23:19:51] [WARNING] Aborted script SPAII.Timer.
在 System.Threading.Thread.AbortInternal()
在 System.Threading.Thread.Abort()
在 SHVDN.Script.Abort()
在 SHVDN.Script.DoTick()
在 SHVDN.Script.MainLoop()

Danke!

You must be logged in to vote

Replies: 1 comment 8 replies

Comment options

Are you using a nightly version? You'll need to use one later than nightly.88 if you're using the game version v1.0.3258.0.

You must be logged in to vote
7 replies
@R6s-Jackal
Comment options

It doesn't work again this time game crashs
QQ截图20240715105448

@R6s-Jackal
Comment options

Well, because of#1451.7559c4e fixes the poor error handling.

**[11:11:14] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[11:11:14] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[11:11:14] [DEBUG] Initializing NativeMemory members...
[11:11:15] [ERROR] Failed to initialize native memory members: System.AggregateException: 发生一个或多个错误。 ---> System.TypeInitializationException: “Ped”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 SHVDN.NativeMemory..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 SHVDN.NativeMemory.GetGameVersion()
在 SHVDN.NativeMemory.Vehicle..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type)
在 SHVDN.ScriptDomain.<>c.b__22_2()
在 System.Threading.Tasks.Task.Execute()
--- 内部异常堆栈跟踪的结尾 ---
在 System.Threading.Tasks.Task.FastWaitAll(Task[] tasks)
在 System.Threading.Tasks.Parallel.Invoke(ParallelOptions parallelOptions, Action[] actions)
在 SHVDN.ScriptDomain.InitNativeNemoryMembers()
在 SHVDN.ScriptDomain.InitNativeNemoryMembers()
在 ?A0xfba3c4e0.ScriptHookVDotNet_ManagedInit() 位置 D:\a\scripthookvdotnet\scripthookvdotnet\source\core\DllMain.cpp:行号 538
---> (内部异常 #0) System.TypeInitializationException: “Ped”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 SHVDN.NativeMemory..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 SHVDN.NativeMemory.GetGameVersion()
在 SHVDN.NativeMemory.Vehicle..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type)
在 SHVDN.ScriptDomain.<>c.b__22_2()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常#1) System.TypeInitializationException: “Vehicle”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 SHVDN.NativeMemory..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 SHVDN.NativeMemory.GetGameVersion()
在 SHVDN.NativeMemory.Vehicle..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type)
在 SHVDN.ScriptDomain.<>c.b__22_1()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常#2) System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 SHVDN.NativeMemory..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 SHVDN.NativeMemory.GetGameVersion()
在 SHVDN.NativeMemory.Vehicle..cctor()<---

[11:11:15] [DEBUG] Loading scripts from E:\SteamLibrary\steamapps\common\Grand Theft Auto V\scripts ...
[11:11:15] [DEBUG] Loading assembly BennysOriginalMotorworks.dll ...
[11:11:15] [INFO] Found 2 script(s) in BennysOriginalMotorworks.dll resolved to API version 2.11.6.
[11:11:15] [DEBUG] Loading assembly INMNativeUI.dll ...
[11:11:15] [INFO] Found 1 script(s) in INMNativeUI.dll resolved to API version 2.11.6.
[11:11:15] [DEBUG] Loading assembly Metadata.dll ...
[11:11:15] [INFO] Found 0 script(s) in Metadata.dll.
[11:11:15] [WARNING] Found 2 script(s) resolved to the deprecated API version 2.x (ScriptHookVDotNet2.dll). The v2 API is no longer actively supported. Please report to the authors who developed some of the deprecated scripts. The list of script names:
[11:11:15] [WARNING] BennysOriginalMotorworks.dll
[11:11:15] [WARNING] INMNativeUI.dll
[11:11:15] [DEBUG] Instantiating script BennysOriginalMotorworks.Bennys ...**
the log of crashing
I have installed the nightly version.88 i don't know why and i have installed some cars mods

@kagikn
Comment options

I'm afraid to say this but "later than A" does not include A as appropriate one, and nightly.88 is the latest version that does not have the fix.nightly.111 is one of the acceptable ones though.

Also, note that yourERR_FIL_PACK_1 is not responsible to SHVDN, because it does nothing to do with rpf archives.

@R6s-Jackal
Comment options

I'm afraid to say this but "later than A" does not include A as appropriate one, and nightly.88 is the latest version that does not have the fix.nightly.111 is one of the acceptable ones though.

Also, note that yourERR_FIL_PACK_1 is not responsible to SHVDN, because it does nothing to do with rpf archives.

Unfortunately, still not works

@kagikn
Comment options

You probably having the same issue as#1454 mentions then.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@R6s-Jackal@kagikn

[8]ページ先頭

©2009-2025 Movatter.jp