Code Monkey home page Code Monkey logo

dualwield's People

Contributors

lilwhitemouse avatar lingluo39 avatar ogliss avatar proxyer avatar rheirman avatar shiuanyue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dualwield's Issues

Null Reference Exception

I don't know whether this is a CE bug, DualWield bug or SimpleSidearm bug.

Exception ticking Spud (at (137, 0, 143)): System.NullReferenceException: Object reference not set to an instance of an object
at SimpleSidearms.utilities.WeaponAssingment.SetPrimary (Verse.Pawn,Verse.Thing,bool,bool,bool,bool) <0x006d6>
at SimpleSidearms.utilities.WeaponAssingment.tryRangedWeaponSwap (Verse.Pawn,bool,bool) <0x001b6>
at SimpleSidearms.intercepts.Verb_ShootOneUse_SelfConsume_Postfix.SelfConsume (RimWorld.Verb_ShootOneUse) <0x00334>
at (wrapper dynamic-method) CombatExtended.Verb_ShootCEOneUse.SelfConsume_Patch1 (object) <0x001be>
at CombatExtended.Verb_ShootCEOneUse.TryCastShot () <0x0003e>
at (wrapper dynamic-method) Verse.Verb.TryCastNextBurstShot_Patch0 (object) <0x0006c>
at Verse.Verb.WarmupComplete () <0x0003b>
at CombatExtended.Verb_LaunchProjectileCE.WarmupComplete () <0x001a8>
at CombatExtended.Verb_ShootCE.WarmupComplete () <0x002fb>
at DualWield.Stances.Stance_Warmup_DW.Expire () <0x00022>
at Verse.Stance_Busy.StanceTick () <0x0002b>
at (wrapper dynamic-method) Verse.Stance_Warmup.StanceTick_Patch1 (object) <0x003bb>
at DualWield.Stances.Stance_Warmup_DW.StanceTick () <0x00021>
at Verse.Pawn_StanceTracker.StanceTrackerTick () <0x0005d>
at DualWield.Harmony.Pawn_Tick.Postfix (Verse.Pawn) <0x000ae>
at (wrapper dynamic-method) Verse.Pawn.Tick_Patch2 (object) <0x00581>
at Verse.TickList.Tick () <0x00487>

Verse.Log:Error(String, Boolean)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

This error happens 10 times when a pawn named "spud" trying to attack me with an explosive sac.
He has a knife in his inventory.
Every this error happens, a Molotov cocktail is thrown out from his hand. So 10 Molotov cocktails fly out from his hand in a line to my base.
Then a 10 jobs in 10 ticks error thrown.
Then again another 10 errors thrown.
Then another 10 jobs in 10 ticks error.
......

Finally this "spud" just "fires" infinite Molotov cocktails like firing a machine gun, and he never ends until anything in his sight has been destroyed.

My version is : 1.0.3

I guess CE or DualWield or SimpleSidearm, one of this three mods has some problem with OneUse weapon.

errors from debug console

Error in Dual Wield, assembly name: $HugsLibChecker, method: HugsLibChecker:ScheduleDialog, exception: System.MissingMethodException: void Verse.LongEventHandler.QueueLongEvent(System.Action,string,bool,System.Action`1<System.Exception>)
at (wrapper managed-to-native) System.Reflection.Module.ResolveMethodToken(intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)
at System.Reflection.MonoModule.ResolveMethod (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x00015] in :0
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) [0x0040b] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodBodyReader.GenerateInstructions () [0x00022] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables) [0x00038] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers) [0x0002b] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchProcessor.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator) [0x0000b] in <255414689d344b1385ae719f6cce8c55>:0
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method) [0x00000] in :0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo)
ModErrorChecker.AssemblyChecker:CheckAssemblies ()
ModErrorChecker.AssemblyChecker:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch2 ()
Verse.PlayDataLoader/<>c:b__4_5 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

==========================================

Error in Dual Wield, assembly name: $HugsLibChecker, method: Dialog_LibraryError:DoWindowContents, exception: System.MissingMethodException: bool Verse.Widgets.ButtonText(UnityEngine.Rect,string,bool,bool,bool)
at (wrapper managed-to-native) System.Reflection.Module.ResolveMethodToken(intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)
at System.Reflection.MonoModule.ResolveMethod (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x00015] in :0
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) [0x0040b] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodBodyReader.GenerateInstructions () [0x00022] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables) [0x00038] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers) [0x0002b] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchProcessor.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator) [0x0000b] in <255414689d344b1385ae719f6cce8c55>:0
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method) [0x00000] in :0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo)
ModErrorChecker.AssemblyChecker:CheckAssemblies ()
ModErrorChecker.AssemblyChecker:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch2 ()
Verse.PlayDataLoader/<>c:b__4_5 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.