RimWorld

RimWorld

PLA-Armory
 This topic has been pinned, so it's probably important
IssacZhuang  [developer] 7 Apr, 2021 @ 9:04am
Feedback for bug&error | 错误反馈
The QTS-11 can now switch mode between rifle and grenade launcher when CE is installed. There might be some bugs because most code of this mechanism is written in C#. Please give me feedback if there is any bug or error, thank you.

在安装了CE的情况下,QTS-11单兵综合作战武器现在可以切换榴弹发射模式。这套机制是用C#实现的,所以也许有BUG或者跳红字,如果发现任何Bug请在这里反馈。谢谢大家。
Last edited by IssacZhuang; 7 Apr, 2021 @ 9:05am
< >
Showing 1-15 of 17 comments
SSH 7 Jul, 2021 @ 2:38am 
Defs\things\weapons\weaponbase.xml有问题。

<ThingDef Name="PLA_BaseGun" ParentName="BaseMakeableGun" Abstract="True">
<comps>
<li Class="CompProperties_Biocodable"/>
</comps>
</ThingDef>

里边的<li Class="CompProperties_Biocodable"/>导致红字,大概意思是没有这个东西,请尽快修复
seems legit' 28 Jul, 2021 @ 2:14pm 
Seems there are bug with CE where pawns stops refresh their inventory and pick up ammo when using Smart Gun. First it appear for me where gun dropped in grenade mode, and later all my pawns with PLA Guns stops to gather ammo. So sad :(
IssacZhuang  [developer] 30 Jul, 2021 @ 1:40am 
Originally posted by seems legit':
Seems there are bug with CE where pawns stops refresh their inventory and pick up ammo when using Smart Gun. First it appear for me where gun dropped in grenade mode, and later all my pawns with PLA Guns stops to gather ammo. So sad :(
I'm sorry I can not fix that because can't change the inventory system of CE, but you can use the loadout system of CE to let pawn gather the ammo correctly.
Angela·Ziegler 7 Oct, 2021 @ 12:51am 
我没用ce但是也碰到了一个看不懂的问题,似乎是与火力压制mod冲突了,我会试试关掉火力压制看看。
错误代码如下:
Exception ticking PLA_Bullet_DBPTen6552958 (at (0, 0, 0)): System.NullReferenceException: Object reference not set to an instance of an object
at SuppressionMod.Patch_Bullet_Impact.BulletImpactStuff (Verse.Thing& hitThing, RimWorld.Bullet __instance, Verse.Thing ___launcher) [0x00083] in <16af4f646a2a49f48830689441d7a02a>:0
at (wrapper dynamic-method) RimWorld.Bullet.RimWorld.Bullet.Impact_Patch3(RimWorld.Bullet,Verse.Thing)
at (wrapper dynamic-method) Verse.Projectile.Verse.Projectile.ImpactSomething_Patch1(Verse.Projectile)
at Verse.Projectile.Tick () [0x000ed] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch0(Verse.TickList)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)
assassins16 14 Oct, 2021 @ 5:52am 
大佬,今天使用时小人无法自动装填火炮,必须单独使用装填命令才可以,然后会不停出现这两个代码

1
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
PLA.CompSecondaryVerb/<CompGetGizmosExtra>d__10:MoveNext ()
PLA.CompPawnEquipmentGizmo/<CompGetGizmosExtra>d__0:MoveNext ()
Verse.ThingWithComps/<GetGizmos>d__33:MoveNext ()
Verse.Pawn/<GetGizmos>d__234:MoveNext ()
System.Collections.Generic.List`1<Verse.Gizmo>:.ctor (System.Collections.Generic.IEnumerable`1<Verse.Gizmo>)
Androids.HarmonyPatches:Patch_Pawn_GetGizmos (Verse.Pawn,System.Collections.Generic.IEnumerable`1<Verse.Gizmo>&)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.GetGizmos_Patch17 (Verse.Pawn)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)

2
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
PLA.CompSecondaryVerb/<CompGetGizmosExtra>d__10:MoveNext ()
PLA.CompPawnEquipmentGizmo/<CompGetGizmosExtra>d__0:MoveNext ()
Verse.ThingWithComps/<GetGizmos>d__33:MoveNext ()
Verse.Pawn/<GetGizmos>d__234:MoveNext ()
System.Collections.Generic.List`1<Verse.Gizmo>:.ctor (System.Collections.Generic.IEnumerable`1<Verse.Gizmo>)
Androids.HarmonyPatches:Patch_Pawn_GetGizmos (Verse.Pawn,System.Collections.Generic.IEnumerable`1<Verse.Gizmo>&)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.GetGizmos_Patch17 (Verse.Pawn)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)

总计23662.22元 15 Oct, 2022 @ 9:22am 
CE环境下,鼠娘在使用pla武器时有概率出现一直瞄准但是不开火的情况,瞄准结束之后再次瞄准但是就是不开火,另外自动炮塔也有此种情况,85式自动机枪炮塔也存在一直瞄准不开火的情况
FunnyPerson 19 Oct, 2022 @ 4:35am 
您好
我遇到了个BUG 带有切换榴弹发射模式的武器让小人装备后 画面下排的征召、射击模式、重新装填等等选项等全部消失 无法操纵
CE环境 还有不少一些其他的MOD 但前几天还能正常游玩 这几天突然就出现这么一个BUG
你好,
安装CE的环境下,最近一次CE或者本mod的更新后,装备QTS11一类带有榴弹下挂的武器后,小人的指令图标消失,也无法使用快捷键调用指令。

错误日志如下:

System.MissingFieldException: Field 'Verse.Command.icon' not found.
at CombatExtended.CompPawnGizmo+<CompGetGizmosExtra>d__0.MoveNext () [0x00141] in <ce9167ed028a4b128a02a92a9f1f8fa3>:0
at Verse.ThingWithComps+<GetGizmos>d__33.MoveNext () [0x000f3] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.Pawn+<GetGizmos>d__234.MoveNext () [0x000f1] in <81af9f8a18324e17b286924a43555a7c>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at FactionColonies.PawnDraftGizmos.Postfix (Verse.Pawn& __instance, System.Collections.Generic.IEnumerable`1[Verse.Gizmo]& __result) [0x00006] in <4cdec3930da64420b2fd7c1b03b22bb6>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.GetGizmos_Patch12(Verse.Pawn)
at PerformanceOptimizer.Optimization_InspectGizmoGrid_DrawInspectGizmoGridFor.GetGizmosFast (Verse.ISelectable selectable) [0x0000f] in <654a4c5eeacc4f4196771b289db2753c>:0
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Log:ErrorOnce (string,int)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)
Argentina sleepy 28 May, 2023 @ 2:08am 
1.3在CE环境下出现了有弹道的爆炸物无法使用的bug,具体体现为:
1:20MM可编程弹有发射过程但模型丢生,有发射音效和弹药消耗但没有实际伤害。
2:122火炮开火同上
3:一次性火箭筒无法发射,但原版的末日三重正常工作,pla手雷也正常工作
Last edited by Argentina sleepy; 28 May, 2023 @ 2:08am
Wxine 19 Jul, 2023 @ 10:26am 
Type PLA.CE.ProjectileFlyingDroneCE probably needs a StaticConstructorOnStartup attribute, because it has a field static UnityEngine.Material PLA.CE.ProjectileFlyingDroneCE::shadowMaterial of type UnityEngine.Material. All assets must be loaded in the main thread.
Wxine 8 Dec, 2023 @ 2:49am 
ce和pl96使用时有bug 爆红字 NullReferenceException
Type PLA.CE.ProjectileFlyingDroneCE probably needs a StaticConstructorOnStartup attribute, because it has a field static UnityEngine.Material PLA.CE.ProjectileFlyingDroneCE::shadowMaterial of type UnityEngine.Material. All assets must be loaded in the main thread.
Agent_Orange 12 Dec, 2023 @ 8:08pm 
Hello, with CE the PL-96 122mm cannon seems to fire all 3 shells at once.

Is there a way to make it only fire 1 shell each time? Even if it has 3 ammo in the magazine, like the PP-93 light mortar?
littlek 22 Jul, 2024 @ 9:37am 
你好,CE环境下,出现了把CE的30x165mm弹和西丝帕诺等机炮的弹药给覆盖了,导致无法制作。
The 35x32mm grenades seem to be missing from my game and cause issues when switching to them on rifles that have the grenade launcher. I have CE.

What happens is that I switch from the grenade launcher to the rifle then back to the grenade and all icons for a drafted pawn disappear and I just have a "FMJ 1/1" icon that does not allow me to shoot anything.
最近玩的时候遇到的几个问题(CE环境下
1:QTS11在切到榴弹模式用一段时间之后,5.8mm的步枪模式也会变成单发,全自动和短点射击模式失效(重进就没事)
2:小人装备了PLA武器在被击倒后武器有概率不是掉落在一旁而是直接消失(目前只观察到鼠鼠有这种情况)
不知道是什么原因呜呜
Last edited by Alyssa Illusion; 1 Feb @ 11:01pm
< >
Showing 1-15 of 17 comments
Per page: 1530 50