Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.