Barotrauma 潜渊症

Barotrauma 潜渊症

Analyze Item
fengqvq1 2022 年 5 月 1 日 下午 9:08
mod无法正常工作弹出的红字
第一段:
[CL CS ERROR] All C# sources must belong to <mod_folder>/CSharp/*
Offending sources:
C:/Users/FengQ/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2788338390/CSharp/Client/ACsMod.cs

第二段:
[CL LUA ERROR] System.Exception: Tried to register a type that doesn't exist: ZRG27314.AnalyzeItem.
at System.Environment.get_StackTrace()
at Barotrauma.LuaCsSetup.HandleException(Exception ex, String extra, ExceptionType exceptionType)
at Barotrauma.LuaUserData.RegisterType(String typeName)
at lambda_method(Closure , Object , Object[] )
at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute(Script script, Object obj, ScriptExecutionContext context, CallbackArguments args)
at MoonSharp.Interpreter.Interop.OverloadedMethodMemberDescriptor.<>c__DisplayClass33_0.<GetCallback>b__0(ScriptExecutionContext context, CallbackArguments args)
at MoonSharp.Interpreter.CallbackFunction.Invoke(ScriptExecutionContext executionContext, IList`1 args, Boolean isMethodCall)
at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall(Int32 argsCount, Int32 instructionPtr, CallbackFunction handler, CallbackFunction continuation, Boolean thisCall, String debugText, DynValue unwindHandler)
at Moon

Sharp.Interpreter.Execution.VM.Processor.Processing_Loop(Int32 instructionPtr)
at MoonSharp.Interpreter.Execution.VM.Processor.Call(DynValue function, DynValue[] args)
at MoonSharp.Interpreter.Script.Call(DynValue function)
at MoonSharp.Interpreter.Script.DoFile(String filename, Table globalContext, String codeFriendlyName)
at Barotrauma.LuaCsSetup.DoFile(String file, Table globalContext, String codeStringFriendly)
at lambda_method(Closure , Object , Object[] )
at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute(Script script, Object obj, ScriptExecutionContext context, CallbackArguments args)
at MoonSharp.Interpreter.Interop.FunctionMemberDescriptorBase.<>c__DisplayClass29_0.<GetCallback>b__0(ScriptExecutionContext c, CallbackArguments a)
at MoonSharp.Interpreter.CallbackFunction.Invoke(ScriptExecutionContext executionContext, IList`1 args, Boolean isMethodCall)
at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall(Int32 argsCount, Int32 instruction

Ptr, CallbackFunction handler, CallbackFunction continuation, Boolean thisCall, String debugText, DynValue unwindHandler)
at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop(Int32 instructionPtr)
at MoonSharp.Interpreter.Execution.VM.Processor.Call(DynValue function, DynValue[] args)
at Barotrauma.LuaRequire.executeModule(String moduleName, Table environment, DynValue& returnValue)
at Barotrauma.LuaRequire.Require(String moduleName, Table globalContext)
at Barotrauma.LuaCsSetup.Require(String moduleName, Table globalContexts)
at lambda_method(Closure , Object , Object[] )
at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute(Script script, Object obj, ScriptExecutionContext context, CallbackArguments args)
at MoonSharp.Interpreter.Interop.FunctionMemberDescriptorBase.<>c__DisplayClass29_0.<GetCallback>b__0(ScriptExecutionContext c, CallbackArguments a)
at MoonSharp.Interpreter.CallbackFunction.Invoke(ScriptExecutionContext executionContext, IList`1 arg

s, Boolean isMethodCall)
at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall(Int32 argsCount, Int32 instructionPtr, CallbackFunction handler, CallbackFunction continuation, Boolean thisCall, String debugText, DynValue unwindHandler)
at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop(Int32 instructionPtr)
at MoonSharp.Interpreter.Execution.VM.Processor.Call(DynValue function, DynValue[] args)
at Barotrauma.LuaCsSetup.Initialize()
at Barotrauma.ModDownloadScreen.Select()
at Barotrauma.Networking.GameClient.OnConnectionInitializationComplete()
at Barotrauma.Networking.SteamP2POwnerPeer.HandleDataMessage(IReadMessage inc)
at Barotrauma.Networking.SteamP2POwnerPeer.Update(Single deltaTime)
at Barotrauma.Networking.GameClient.Update(Single deltaTime)
at Barotrauma.GameMain.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:

line 651
at Microsoft.Xna.Framework.Game.Tick() in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 504
at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\SDL\SDLGamePlatform.cs:line 94
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 398
at Microsoft.Xna.Framework.Game.Run() in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 368
at Barotrauma.Program.Main(String[] args)

第三段:
[CL LUA ERROR] C:/Users/FengQ/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2788338390/Lua/main.lua:(17,0-20,0): attempt to index a nil value
< >
正在显示第 1 - 6 条,共 6 条留言
fengqvq1 2022 年 5 月 1 日 下午 9:12 
第一段的前一条是(刚才没有复制到):
Lua! version xxxxx
Cs! version xxxxx
第二段的前一条是:
analyze item excuting init.lua
whosyourdaddy  [开发者] 2022 年 5 月 1 日 下午 11:25 
@fengqvq1 应该不是这个mod的问题,而是正如你所说,我反馈给了前置内容包的作者,可能过不久会修复这个bug。
fengqvq1 2022 年 5 月 2 日 上午 12:56 
引用自 2731412072
@fengqvq1 应该不是这个mod的问题,而是正如你所说,我反馈给了前置内容包的作者,可能过不久会修复这个bug。
感谢作者大大,爱你yooo
ghost 2022 年 5 月 2 日 下午 1:42 
has this been fixed? Im sorry I cant read that
whosyourdaddy  [开发者] 2022 年 5 月 2 日 下午 6:58 
好了,更新到最新版的Lua For Barotrauma即可修复这个问题。
whosyourdaddy  [开发者] 2022 年 5 月 2 日 下午 6:59 
引用自 ghostedstep
has this been fixed? Im sorry I cant read that
Fixed, just need to update LuaForBarotrauma to the latest version
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50