安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








[HugsLib] Exception during DetourMethodByAttribute: System.Exception: Failed to detour method Pawn.CheckAcceptArrest to _Pawn._CheckAcceptArrest (assembly: Psychology) ---> System.Exception: Verse.Pawn.CheckAcceptArrest was already detoured to Psychology.Detour._Pawn._CheckAcceptArrest.
at HugsLib.Source.Detour.DetourProvider.CompatibleDetourWithExceptions (System.Reflection.MethodInfo source, System.Reflection.MethodInfo destination) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.DetourMethodByAttribute (System.Reflection.MemberInfo info, System.Attribute attrib) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at HugsLib.Source.Detour.DetourProvider.ThrowClearerDetourException (System.Exception e, System.Reflection.MemberInfo sourceInfo, System.Reflection.MemberInfo targetInfo, System.String detourMode) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.DetourMethodByAttribute (System.Reflection.MemberInfo info, System.Attribute attrib) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.Source.Detour.Helpers:DetourMethodByAttribute(MemberInfo, Attribute)
HugsLib.Source.Attrib.AttributeDetector:CallHandlersForAttributes(List`1, Dictionary`2)
HugsLib.Source.Attrib.AttributeDetector:ProcessNewTypes()
HugsLib.HugsLibController:LoadReloadInitialize()
HugsLib.HugsLibController:Initalize()
HugsLib.Core.UnityProxyComponent:Start()
https://gist.github.com/56d7fbd1467e1e978eaa4abbba45e926
Not sure what the issue is here, but a full log might help (press Ctrl+F12 after the error is shown).
Also, I would check that neither HugsLib nor Psychology appear twice in the Mods menu.
its pretty much whats under the bug below.
https://gist.github.com/02999f6336aeb82fb85fa7e8422c6fda
If you manage to isolate the conflict, let me know. It would have to be another mod with a dll.
[ExpandedIncidents] Could not detour Pawn.CheckAcceptArrest! If you are using Psychology, all is well.
Verse.Log:Warning(String)
ExpandedIncidents.Detour._Pawn:DetourFallbackHandler(MemberInfo, MethodInfo, Exception)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
HugsLib.Source.Detour.Helpers:TryCallDetourFallbackHandler(MethodInfo, MemberInfo, Exception)
HugsLib.Source.Detour.Helpers:DetourMethodByAttribute(MemberInfo, Attribute)
HugsLib.Source.Attrib.AttributeDetector:CallHandlersForAttributes(List`1, Dictionary`2)
HugsLib.Source.Attrib.AttributeDetector:ProcessNewTypes()
HugsLib.HugsLibController:LoadReloadInitialize()
HugsLib.HugsLibController:OnDefReloadDetected()
HugsLib.Core.DefReloadWatcher:<Update>b__0()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update()
Verse.Root_Entry:Update()
https://gist.github.com/a908d8b639f52111aa7d03c57e7ea064
all is well now.
My Theory
Adding all the mods at once causes conflicts so adding them in segments works better.
[mmmmmmmmmmmmmmmmmmm] = x
[mmm] [mmm] [mmm] [mmm] [mmm] = :D
If you want, you could let the author of Psy know about this conflict- maybe he would want to add some fallback code for better compatibility.
Thank you for taking the time to research this- it will benefit mod authors, as well as other players.