Cosmoteer: 星舰设计师

Cosmoteer: 星舰设计师

[Beta] Modular+++ Shields v0.62b
 此主题已被置顶,因此可能具有重要性
swefpifh  [开发者] 2022 年 12 月 28 日 上午 4:56
Report à problem
Notify your problem by adding as many details as possible. Sharing log details can also help.

To deal with the problem properly, I need to know some information : - The log after the crash - The exact manipulations done before the crash - The list of mods used
最后由 swefpifh 编辑于; 2023 年 1 月 4 日 下午 4:23
< >
正在显示第 1 - 15 条,共 41 条留言
Zelda 2022 年 12 月 28 日 下午 12:25 
Whenever I placed or changed a shield, or spawned in a ship that was using them, the game would crash. Here is the first part of the log.

System.ArgumentNullException: Value cannot be null. (Parameter 'key')

at System.Runtime.CompilerServices.ConditionalWeakTable`2.TryGetValue(TKey key, TValue& value)

at Cosmoteer.Ships.Parts.Defenses.ArcShield.OnPartDetaching() in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\Defenses\ArcShield.cs:line 396

at Cosmoteer.Ships.Parts.Part.RemoveComponents(IList`1 components) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\Part.cs:line 606

at Cosmoteer.Ships.Parts.Part.ProcessComponentModificationQueue(GenericSerialReader reader) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\Part.cs:line 1321

at Cosmoteer.Ships.Parts.Part.RemoveComponents(IList`1 components) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\Part.cs:line 600

at Cosmoteer.Ships.Parts.Part.ProcessComponentModificationQueue(GenericSerialReader reader) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\Part.cs:line 1321

at Cosmoteer.Ships.Parts.Part.RemoveComponents(IList`1 components) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\Part.cs:line 600

at Cosmoteer.Ships.Parts.Part.ProcessComponentModificationQueue(GenericSerialReader reader) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\Part.cs:line 1321

at Cosmoteer.Ships.Parts.Part.OnComponentAttached(SceneNode node) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\Part.cs:line 1224

at Halfling.Scene2D.SceneComponent.InvokeAttached(SceneNode node) in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Scene2D\SceneComponent.cs:line 1826

at Halfling.Scene2D.SceneNode.NodeComponents.Add(SceneComponent component) in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Scene2D\SceneNode.cs:line 1603

at Cosmoteer.Ships.Parts.CommonBasePartsManager`1.AddPart(TPart part, Action onAddedBeforeEvents) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\CommonBasePartsManager.cs:line 1643

at Cosmoteer.Ships.Parts.PartsManager.AddPart(Part part) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\PartsManager.cs:line 260

at Cosmoteer.Ships.Parts.PartsManager.CreatePart(PartRules rules, IntVector2 loc, Int32 rot, Boolean flipX, Boolean spawnedFromDestroyed, Boolean builtByPlayer, Boolean defaultToMinHealth) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\Parts\PartsManager.cs:line 150

at Cosmoteer.Ships.ShipUpdateInfo.ApplyPhysical(Boolean destroyBlocking, Boolean builtByPlayer, Boolean updateDestroyed) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Ships\ShipUpdateInfo.cs:line 596

at Cosmoteer.Game.Multiplayer.MPInputs.MPUpdateShipInput.Execute(GameRoot game, Int32 playerIndex, MessengerID playerID, Boolean force) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Game\Multiplayer\MPInputs\MPUpdateShipInput.cs:line 164

at Cosmoteer.Game.Multiplayer.SPManager.Update() in C:\Users\walt\Documents\Code\Cosmoteer\Source\Game\Multiplayer\SPManager.cs:line 162

at Halfling.Application.Director.DoInput() in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\Director.cs:line 892

at Halfling.Application.Director.GetRunIterator()+MoveNext() in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\Director.cs:line 0

at Halfling.Application.Bases.GenericApp.ApplicationMainIterator()+MoveNext() in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\Bases\GenericApp.cs:line 729

at Halfling.Windows.D3D11.D3D11Window.<>c__DisplayClass105_0.<RunGameLoop>g___DoFrame|0() in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingPlatformWDX\Source\Windows\D3D11\D3D11Window.cs:line 947

at Halfling.Windows.D3D11.D3D11Window.RunGameLoop(String[] args, IEnumerable`1 iterator) in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingPlatformWDX\Source\Windows\D3D11\D3D11Window.cs:line 814

at Halfling.Application.Bases.GenericApp.ApplicationMain(String[] args) in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\Bases\GenericApp.cs:line 227

at Cosmoteer.GameApp.Main(String[] args) in C:\Users\walt\Documents\Code\Cosmoteer\Source\GameApp.cs:line 150
swefpifh  [开发者] 2022 年 12 月 28 日 下午 12:55 
引用自 TirusRJr
Whenever I placed or changed a shield, or spawned in a ship that was using them, the game would crash. Here is the first part of the log.

System.ArgumentNullException: Value cannot be null. (Parameter 'key')

...
I don't see any real indications in the logs.

Did it already work or has it been crashing since the mod was installed?

What mods do you use in addition to this one?
Caleger 2022 年 12 月 28 日 下午 5:22 
The game crashes for me when I use this mod when I try to move a shield when I have it set to an angle or front facing. when I put them in and not move them its fine.
Zelda 2022 年 12 月 28 日 下午 7:33 
引用自 swefpifh
引用自 TirusRJr
Whenever I placed or changed a shield, or spawned in a ship that was using them, the game would crash. Here is the first part of the log.

System.ArgumentNullException: Value cannot be null. (Parameter 'key')

...
I don't see any real indications in the logs.

Did it already work or has it been crashing since the mod was installed?

What mods do you use in addition to this one?


None
Zelda 2022 年 12 月 28 日 下午 7:33 
I tried it by itself to be sure
swefpifh  [开发者] 2022 年 12 月 29 日 上午 1:45 
引用自 TirusRJr
I tried it by itself to be sure
引用自 Caleger88
The game crashes for me when I use this mod when I try to move a shield when I have it set to an angle or front facing. when I put them in and not move them its fine.

I don't understand the problems you are having. I don't crash and I ask a friend before uploading my updates, he doesn't crash either.

I just tested again to be sure:

- Buying the shield in the search tree - No problem
- Installing the shield without mirror mode - No problem
- Installing the shield with the mirror mode - No problem
- Moving the shield without active modulation - No problem
- Moving the shield with active modulations - No problem
- Shield movement in mirror mode without active modulation - No problem
- Shield movement in mirror mode with active modulations - No problem
- Replacing the shield with another module and vice versa - No problem

In the game, there are modules that give proximity bonuses. When you put down the shields, which modules are present next to them?

What game mode ? Creative or Career ?
最后由 swefpifh 编辑于; 2022 年 12 月 29 日 上午 1:59
swefpifh  [开发者] 2022 年 12 月 29 日 上午 2:31 
That's it! I finally managed to generate the problem you mentioned. I had to add 30 shields side by side. I had an info in the logs that I will exploit hoping that the problem is solved ^^

Edit : There is a displacement problem when the shield is in Hidden mode. I will look into it ^^
最后由 swefpifh 编辑于; 2022 年 12 月 29 日 上午 5:01
Zelda 2022 年 12 月 29 日 下午 12:38 
引用自 swefpifh
引用自 TirusRJr
I tried it by itself to be sure
引用自 Caleger88
The game crashes for me when I use this mod when I try to move a shield when I have it set to an angle or front facing. when I put them in and not move them its fine.

I don't understand the problems you are having. I don't crash and I ask a friend before uploading my updates, he doesn't crash either.

I just tested again to be sure:

- Buying the shield in the search tree - No problem
- Installing the shield without mirror mode - No problem
- Installing the shield with the mirror mode - No problem
- Moving the shield without active modulation - No problem
- Moving the shield with active modulations - No problem
- Shield movement in mirror mode without active modulation - No problem
- Shield movement in mirror mode with active modulations - No problem
- Replacing the shield with another module and vice versa - No problem

In the game, there are modules that give proximity bonuses. When you put down the shields, which modules are present next to them?

What game mode ? Creative or Career ?
none, and creative
最后由 Zelda 编辑于; 2022 年 12 月 29 日 下午 12:38
Zelda 2022 年 12 月 29 日 下午 12:40 
引用自 swefpifh
That's it! I finally managed to generate the problem you mentioned. I had to add 30 shields side by side. I had an info in the logs that I will exploit hoping that the problem is solved ^^

Edit : There is a displacement problem when the shield is in Hidden mode. I will look into it ^^
Thank you, hope I can use this mod again soon!
Caleger 2022 年 12 月 29 日 下午 3:24 
引用自 swefpifh
引用自 TirusRJr
I tried it by itself to be sure
引用自 Caleger88
The game crashes for me when I use this mod when I try to move a shield when I have it set to an angle or front facing. when I put them in and not move them its fine.

I don't understand the problems you are having. I don't crash and I ask a friend before uploading my updates, he doesn't crash either.

I just tested again to be sure:

- Buying the shield in the search tree - No problem
- Installing the shield without mirror mode - No problem
- Installing the shield with the mirror mode - No problem
- Moving the shield without active modulation - No problem
- Moving the shield with active modulations - No problem
- Shield movement in mirror mode without active modulation - No problem
- Shield movement in mirror mode with active modulations - No problem
- Replacing the shield with another module and vice versa - No problem

In the game, there are modules that give proximity bonuses. When you put down the shields, which modules are present next to them?

What game mode ? Creative or Career ?

I was career but had unlimited creations set to on as I wanted to have my ship set up before playing, when I turned the mirrored mode to 'Off" it worked fine for me so I'm happy to keep it off when placing those shields.

I don't know why I'm having issues either, this is the only mod that does anything to shields so it shouldn't conflict with anything.
swefpifh  [开发者] 2022 年 12 月 29 日 下午 3:53 
引用自 Caleger88
I was career but had unlimited creations set to on as I wanted to have my ship set up before playing, when I turned the mirrored mode to 'Off" it worked fine for me so I'm happy to keep it off when placing those shields.

I don't know why I'm having issues either, this is the only mod that does anything to shields so it shouldn't conflict with anything.
For the moment, you can read this ^^
https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/2907845781/3732953219570279968

I am looking for a solution to the modularity problem. In fact, as soon as you select two or three modifications, it crashes the placement and loading of the templates.
最后由 swefpifh 编辑于; 2022 年 12 月 29 日 下午 3:54
swefpifh  [开发者] 2022 年 12 月 30 日 下午 3:59 
The problem is identified and fully confirmed. It is the accumulation of toggles in others that causes the movement of shield modules or the loading of ship templates to crash. I'm working to find a solution, but I don't know if it's possible. I've asked for help, I'm waiting for a possible answer, but I don't think you can use several toggles to modify a different part of the same code unfortunately. To know the progress of important changes, I invite you to subscribe to this channel : https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/2907845781/3732953219571411097/
最后由 swefpifh 编辑于; 2022 年 12 月 30 日 下午 3:59
SporBel 2023 年 1 月 8 日 上午 8:28 
destroying kebechet STS shield when the time speed is less or higher than 1x with nukes and pd and maybe other weapons crashes the game...
swefpifh  [开发者] 2023 年 1 月 8 日 上午 8:45 
引用自 Spore
destroying kebechet STS shield when the time speed is less or higher than 1x with nukes and pd and maybe other weapons crashes the game...
I live to test with mines and nuclear bombs, I don't have a crash in 1/2, x2 and x8. I'll need more information as I said in the description ^^ Thx you for your report :)

To deal with the problem properly, I need to know some information : - The log after the crash - The exact manipulations done before the crash - The list of mods used
最后由 swefpifh 编辑于; 2023 年 1 月 8 日 上午 8:48
swefpifh  [开发者] 2023 年 1 月 8 日 下午 4:10 
引用自 Spore
destroying kebechet STS shield when the time speed is less or higher than 1x with nukes and pd and maybe other weapons crashes the game...
Is this the error that is displayed during the crash? View image[cdn.discordapp.com]
最后由 swefpifh 编辑于; 2023 年 1 月 8 日 下午 4:11
< >
正在显示第 1 - 15 条,共 41 条留言
每页显示数: 1530 50