安装 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(越南语)
Українська(乌克兰语)
报告翻译问题
Likely code to fix
[HarmonyPatch ("StartSlaveRebellion")]
...
Prefix()
...
for (int num3 = 0; num3 < ___rebellingSlaves.Count; num3++) {
if (!RestUtility.Awake (___rebellingSlaves [num3])) {
RestUtility.WakeUp (___rebellingSlaves [num3]);
}
Debug log throws this error when a rebellion attempts to start:
Exception ticking MyPawnName (at (160, 0, 143)): System.MissingMethodException: void RimWorld.RestUtility.WakeUp(Verse.Pawn)
[Ref D724C8D3]
at RimWorld.SlaveRebellionUtility.StartSlaveRebellion (Verse.Pawn initiator, System.String& letterText, System.String& letterLabel, Verse.LetterDef& letterDef, Verse.LookTargets& lookTargets, System.Boolean forceAggressive) [0x00047] in <3d931901449c4087b86953a6d5c84d50>:0
- PREFIX SlaveRebellionsImproved.patch: Boolean SlaveRebellionsImproved.HarmonyMain+StartSlaveRebellionPatch:Prefix(Boolean& __result, List`1 ___rebellingSlaves, List`1 ___allPossibleRebellingSlaves, Pawn initiator, String& letterText, String& letterLabel, LetterDef& letterDef, LookTargets& lookTargets, Boolean forceAggressive)
at RimWorld.SlaveRebellionUtility.StartSlaveRebellion (Verse.Pawn initiator, System.Boolean forceAggressive) [0x00000] in <3d931901449c4087b86953a6d5c84d50>:0
at RimWorld.Pawn_GuestTracker.GuestTrackerTick () [0x000cd] in <3d931901449c4087b86953a6d5c84d50>:0
at Verse.Pawn.Tick () [0x005f3] in <3d931901449c4087b86953a6d5c84d50>:0
- PREFIX multiplayer: Void Multiplayer.Client.ThingMethodPatches:Prefix(Thing __instance, Nullable`1& __state)
- FINALIZER multiplayer: Void Multiplayer.Client.ThingMethodPatches:Finalizer(Thing __instance, Nullable`1 __state)
at Verse.TickList.Tick () [0x0015c] in <3d931901449c4087b86953a6d5c84d50>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.TickList:Tick ()
Multiplayer.Client.AsyncTimeComp:Tick ()
Multiplayer.Client.TickPatch:TickTickable (Multiplayer.Client.ITickable)
Multiplayer.Client.TickPatch:DoTick (bool&)
Multiplayer.Client.TickPatch:DoUpdate (bool&)
Multiplayer.Client.TickPatch:Prefix ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
public static void WakeUp (Pawn p, bool startNewJob = true);
Maybe just add a "True" to the WakeUp call? Not 100% sure this is the fix, or if there are other issues after this.