RimWorld

RimWorld

MIM - WH40k Weapons
Toine10000 20 Dec, 2024 @ 10:11am
Bug ?
https://gist.github.com/HugsLibRecordKeeper/36e1c0122cd80778972ede48404b1860

The bolter only fires one bullet (other weapons do too)
Any ideas?


(google translate)
< >
Showing 1-15 of 15 comments
100% CE problem
emitbreaker  [developer] 2 Jan @ 9:31am 
No, it's 100% not CE problem. Some other mod somehow kill my mod's patch operation, so even after CE enabled, weapons tries to look for vanilla bullets... I suspect Prepare Carefully atm.
emitbreaker  [developer] 2 Jan @ 9:41am 
Originally posted by Toine10000:
100% CE problem

Nailed. Character Editor somehow causes this issue. I suggest you to use Pawn Editor instead at the moment I fix this issue - but that may requires additional hard coding so takes huge time.
as I didn't have an answer I asked other people and I explained my problem better

*yes it's modded
*do I use CE: YES
*yes I used the annoying method of removing mods (one by one) (there are 101)

second 0: I launch a save or a new game
second 1: The bolter works normally (other weapons too (weapons from the same mods))

second 2 The bolter only fires one bullet (single shot) (other weapons too unfortunately)

!no error message when it fires!

and I tried by clearing Prepare Carefully but it does the same
like if the auto/rafal/mono line of code was done correctly the first time and then skipped
emitbreaker  [developer] 2 Jan @ 9:51am 
Originally posted by Toine10000:
as I didn't have an answer I asked other people and I explained my problem better

*yes it's modded
*do I use CE: YES
*yes I used the annoying method of removing mods (one by one) (there are 101)

second 0: I launch a save or a new game
second 1: The bolter works normally (other weapons too (weapons from the same mods))

second 2 The bolter only fires one bullet (single shot) (other weapons too unfortunately)

!no error message when it fires!

and I tried by clearing Prepare Carefully but it does the same

Check above comment. Seems like Character Editor.
https://gist.github.com/HugsLibRecordKeeper/791b332f6bb862053b24575d512fb99d

on a save the problem is still there, EdB Prepare Carefully and Character Editor have been replaced by Pawn Editor
emitbreaker  [developer] 2 Jan @ 5:13pm 
Originally posted by Toine10000:
https://gist.github.com/HugsLibRecordKeeper/791b332f6bb862053b24575d512fb99d

on a save the problem is still there, EdB Prepare Carefully and Character Editor have been replaced by Pawn Editor

Hmm... so far I can't find any error related to my mod from your log... I'll try to more test on weekend at my time.
OK thanks
for the moment the problem is solved
probably due to the last update
so thank you (what was the problem?)

small question: (yes I have other problems, at the same time your mods are great, I'm not going to abandon them for two or three bugs)

*the chaos portal cannot be placed (appears only on a surface that cannot carry a heavy structure so build refused)

*later will there be the possibility of giving genes to women (because random npc have them)
emitbreaker  [developer] 9 Jan @ 9:52am 
Originally posted by Toine10000:
for the moment the problem is solved
1. Chaos Gate means, Noctlith Crown? I just tested it at my end but it on heavy surface without issue.
2. What do you mean by gene? Of space marine body size gene from my mod, or other gene's from Phonicmas' mod? I suppose space marine body gene won't be selected naturally by the system, so more clarification is required.
1: for the noctilith crown I have an error message
https://gist.github.com/HugsLibRecordKeeper/34c269915269a6e9a4b161db9e5b6cef



Exception in UIRootUpdate: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 329FAF55]
at MIM40kFactions.PlaceWorker_ShowBeamTurretRadius.AllowsPlacing (Verse.BuildableDef checkingDef, Verse.IntVec3 loc, Verse.Rot4 rot, Verse.Map map, Verse.Thing thingToIgnore, Verse.Thing thing) [0x0003b] in <e0697558c8604a0a847211ab70085fcb>:0
at RimWorld.GenConstruct.CanPlaceBlueprintAt_NewTemp (Verse.BuildableDef entDef, Verse.IntVec3 center, Verse.Rot4 rot, Verse.Map map, System.Boolean godMode, Verse.Thing thingToIgnore, Verse.Thing thing, Verse.ThingDef stuffDef, System.Boolean ignoreEdgeArea, System.Boolean ignoreInteractionSpots, System.Boolean ignoreClearableFreeBuildings) [0x006be] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.GenConstruct.CanPlaceBlueprintAt (Verse.BuildableDef entDef, Verse.IntVec3 center, Verse.Rot4 rot, Verse.Map map, System.Boolean godMode, Verse.Thing thingToIgnore, Verse.Thing thing, Verse.ThingDef stuffDef, System.Boolean ignoreEdgeArea, System.Boolean ignoreInteractionSpots) [0x00000] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.Designator_Build.CanDesignateCell (Verse.IntVec3 c) [0x00035] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.Designator_Place.SelectedUpdate () [0x00059] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.Designator_Build.SelectedUpdate () [0x00000] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX Kikohi.PipeSystem: Void PipeSystem.Designator_Build_Patch:Postfix(BuildableDef ___entDef)
at Verse.DesignatorManager.DesignatorManagerUpdate () [0x00013] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.MapInterface.MapInterfaceUpdate () [0x00027] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.UIRoot_Play.UIRootUpdate () [0x00015] in <69945a8ed6c540cf90b578de735e0605>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.UIRoot_Play:UIRootUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 9BC76CF6] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)

Exception in UIRootUpdate: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 329FAF55] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.UIRoot_Play:UIRootUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()





2: I'm talking about geneseeds (death gard, iron hound, wt ...)
I can only perform the operation on men but not women, while random npc women can spawn with it.
Will the operation be available for women? (if it's already available it's because I have a bug)




(sorry google translate)
Last edited by Toine10000; 9 Jan @ 10:07am
emitbreaker  [developer] 9 Jan @ 10:12am 
Originally posted by Toine10000:
1: for the noctilith crown I have an error message
https://gist.github.com/HugsLibRecordKeeper/34c269915269a6e9a4b161db9e5b6cef

(sorry google translate)

1. Hmm... it looks like I may missed some compatibility patch for CE. Let me check it later (it's 3 am at my time zone)

2. That's pretty odd... if the hediff has recipe that limited to certain gender, it normally won't be applied to NPCs with not permitted gender... Let me check it but to be honest, I have no idea where to start, so it may takes time.

At the very least, I don't intend to make a female space marine - unlike Custodes, Codex Astartes doesn't recommend such an action XD
The marks of chaos affect everyone XD
Last edited by Toine10000; 10 Jan @ 4:00am
emitbreaker  [developer] 9 Jan @ 4:59pm 
Originally posted by Toine10000:
The marks of chaos affect everyone :SM2hereticastartes:
XD
Who's skill is that - I can't remember all skills at my end as well XD
< >
Showing 1-15 of 15 comments
Per page: 1530 50