Space Engineers

Space Engineers

Whip's Railgun Weapon Framework
 Denna tråd har blivit fäst, så den är troligtvis viktig
Whiplash141  [utvecklare] 19 apr, 2020 @ 11:55
Bug Reports and Questions
If you have any issues or questions, please list them here. Please provide as much information as possible so I can answer better.
< >
Visar 1-15 av 35 kommentarer
Kennon 20 apr, 2020 @ 16:24 
Not so much a bug but would it be possible to implement an Autoloader kind of feature? An example is a cannon can fire 5 shells in rapid succession (say 3 seconds per shot) then once the 5th shell is fired the cannon requires a much longer time to reload (say 60 seconds). This would be an awesome addition if it's not too much trouble.
Whiplash141  [utvecklare] 20 apr, 2020 @ 18:49 
Ursprungligen skrivet av Kennon:
Not so much a bug but would it be possible to implement an Autoloader kind of feature? An example is a cannon can fire 5 shells in rapid succession (say 3 seconds per shot) then once the 5th shell is fired the cannon requires a much longer time to reload (say 60 seconds). This would be an awesome addition if it's not too much trouble.
It is a bit of a struggle to implement this with the current framework, but I do have an outstanding issue for tracking this.
boanerges1789 21 apr, 2020 @ 3:54 
Does this framework work alongside WeaponCore, or do they cancel each other out? Can you have both?
boanerges1789 21 apr, 2020 @ 3:54 
The reason I ask is I would like to have a multiple selection of weapons for ships.
Whiplash141  [utvecklare] 21 apr, 2020 @ 7:34 
Ursprungligen skrivet av boanerges1789:
Does this framework work alongside WeaponCore, or do they cancel each other out? Can you have both?
Should work fine
Daywalker 25 aug, 2020 @ 22:16 
doesnt work with weaponcore . if i have both mods active i can no longer use the middle mouse button to acces my weapons in the config menu on a console/cockpit
Senast ändrad av Daywalker; 25 aug, 2020 @ 22:17
Whiplash141  [utvecklare] 25 aug, 2020 @ 23:14 
Ursprungligen skrivet av Daywalker:
doesnt work with weaponcore . if i have both mods active i can no longer use the middle mouse button to acces my weapons in the config menu on a console/cockpit
This mod does absolutely nothing with cockpits or middle mouse, so I doubt it is this mod in particular.
Drift_91 15 sep, 2020 @ 7:43 
Been seeing this in my server console on every server startup. Not sure if I've got the load order wrong or if this is a problem with the mod itself or another mod.

2020-09-15 09:38:17.841: Reference issue detected (circular reference or wrong order) for mod 2013340341
Whiplash141  [utvecklare] 15 sep, 2020 @ 18:14 
Ursprungligen skrivet av Drift_91:
Been seeing this in my server console on every server startup. Not sure if I've got the load order wrong or if this is a problem with the mod itself or another mod.

2020-09-15 09:38:17.841: Reference issue detected (circular reference or wrong order) for mod 2013340341
Pretty sure that can be ignored. That appears when you have manually added the framework (a dependency) manually in your world. Dependencies are automatically downloaded in the correct order, but if you have one in your list in the wrong order, it will whine.
Jaeger 19 sep, 2020 @ 18:34 
player on my server just reported that his client crashed with this error
he was just flying around in suit.


2020-09-19 20:19:14.203 - Thread: 11 -> ERROR Entity init!: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Rexxar.Settings.GetSettings(IMyEntity entity)
at Whiplash.WeaponFramework.WeaponBlockBase.GetPowerInput(Boolean count)
at Whiplash.WeaponFramework.WeaponBlockBase.<SetPowerSink>b__50_0()
at Sandbox.Game.EntityComponents.MyResourceSinkComponent.Update()
at Sandbox.Game.Weapons.MySmallMissileLauncher.Init(MyObjectBuilder_CubeBlock builder, MyCubeGrid cubeGrid)
at Sandbox.Game.Entities.Cube.MySlimBlock.Init(MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid, MyCubeBlock fatBlock)
at Sandbox.Game.Entities.MyCubeGrid.AddCubeBlock(MyObjectBuilder_CubeBlock objectBuilder, Boolean testMerge, MyCubeBlockDefinition blockDefinition)
at Sandbox.Game.Entities.MyCubeGrid.AddBlock(MyObjectBuilder_CubeBlock objectBuilder, Boolean testMerge)
at Sandbox.Game.Entities.MyCubeGrid.InitInternal(MyObjectBuilder_EntityBase objectBuilder, Boolean rebuildGrid)
at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

weaponcore is also on server is this a problem. not currentlyy using any mods that are dependent on weaponframework but was about to add railguns
Whiplash141  [utvecklare] 19 sep, 2020 @ 18:48 
Ursprungligen skrivet av Jæger:
player on my server just reported that his client crashed with this error
he was just flying around in suit.


2020-09-19 20:19:14.203 - Thread: 11 -> ERROR Entity init!: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Rexxar.Settings.GetSettings(IMyEntity entity)
at Whiplash.WeaponFramework.WeaponBlockBase.GetPowerInput(Boolean count)
at Whiplash.WeaponFramework.WeaponBlockBase.<SetPowerSink>b__50_0()
at Sandbox.Game.EntityComponents.MyResourceSinkComponent.Update()
at Sandbox.Game.Weapons.MySmallMissileLauncher.Init(MyObjectBuilder_CubeBlock builder, MyCubeGrid cubeGrid)
at Sandbox.Game.Entities.Cube.MySlimBlock.Init(MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid, MyCubeBlock fatBlock)
at Sandbox.Game.Entities.MyCubeGrid.AddCubeBlock(MyObjectBuilder_CubeBlock objectBuilder, Boolean testMerge, MyCubeBlockDefinition blockDefinition)
at Sandbox.Game.Entities.MyCubeGrid.AddBlock(MyObjectBuilder_CubeBlock objectBuilder, Boolean testMerge)
at Sandbox.Game.Entities.MyCubeGrid.InitInternal(MyObjectBuilder_EntityBase objectBuilder, Boolean rebuildGrid)
at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

weaponcore is also on server is this a problem. not currentlyy using any mods that are dependent on weaponframework but was about to add railguns
If nothing is dependent on the weapon framework, that code should not be running at all... You are sure nothing is using the framework?
Jaeger 19 sep, 2020 @ 20:26 
nothing that uses it. unless oki weapons secretly uses it lol
Whiplash141  [utvecklare] 19 sep, 2020 @ 22:02 
Ursprungligen skrivet av Jæger:
nothing that uses it. unless oki weapons secretly uses it lol
OKI does use it. Also, looks like that error has to do with some parallelization, not sure why on earth that is happening because I'm not threading anything. I'll look into it, thanks for the report.
Senast ändrad av Whiplash141; 19 sep, 2020 @ 22:05
Whiplash141  [utvecklare] 22 sep, 2020 @ 15:07 
Ursprungligen skrivet av Jæger:
player on my server just reported that his client crashed with this error
he was just flying around in suit.


2020-09-19 20:19:14.203 - Thread: 11 -> ERROR Entity init!: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Rexxar.Settings.GetSettings(IMyEntity entity)
at Whiplash.WeaponFramework.WeaponBlockBase.GetPowerInput(Boolean count)
at Whiplash.WeaponFramework.WeaponBlockBase.<SetPowerSink>b__50_0()
at Sandbox.Game.EntityComponents.MyResourceSinkComponent.Update()
at Sandbox.Game.Weapons.MySmallMissileLauncher.Init(MyObjectBuilder_CubeBlock builder, MyCubeGrid cubeGrid)
at Sandbox.Game.Entities.Cube.MySlimBlock.Init(MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid, MyCubeBlock fatBlock)
at Sandbox.Game.Entities.MyCubeGrid.AddCubeBlock(MyObjectBuilder_CubeBlock objectBuilder, Boolean testMerge, MyCubeBlockDefinition blockDefinition)
at Sandbox.Game.Entities.MyCubeGrid.AddBlock(MyObjectBuilder_CubeBlock objectBuilder, Boolean testMerge)
at Sandbox.Game.Entities.MyCubeGrid.InitInternal(MyObjectBuilder_EntityBase objectBuilder, Boolean rebuildGrid)
at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity, Boolean tolerateBlacklistedPlanets)

weaponcore is also on server is this a problem. not currentlyy using any mods that are dependent on weaponframework but was about to add railguns
Pushed an update so this should not happen any more. Issue was that the block Init method is apparently threaded now and accessing non-threadsafe dictionaries made the game mad. I've since changed to thread safe dictionaries.
Payback 8 okt, 2020 @ 4:05 
Still getting this "Keen: Mod Whip's Railgun Weapon Framework is accessing physics from parallel threads. This is not safe and might cause the game to crash or behave unexpectedly." come up in the torch error log.
< >
Visar 1-15 av 35 kommentarer
Per sida: 1530 50