Space Engineers

Space Engineers

Whip's Railgun Weapon Framework
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
Whiplash141  [kehittäjä] 19.4.2020 klo 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.
< >
Näytetään 1-15 / 35 kommentista
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  [kehittäjä] 20.4.2020 klo 18.49 
Kennon lähetti viestin:
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.
Does this framework work alongside WeaponCore, or do they cancel each other out? Can you have both?
The reason I ask is I would like to have a multiple selection of weapons for ships.
Whiplash141  [kehittäjä] 21.4.2020 klo 7.34 
boanerges1789 lähetti viestin:
Does this framework work alongside WeaponCore, or do they cancel each other out? Can you have both?
Should work fine
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
Viimeisin muokkaaja on Daywalker; 25.8.2020 klo 22.17
Whiplash141  [kehittäjä] 25.8.2020 klo 23.14 
Daywalker lähetti viestin:
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.
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  [kehittäjä] 15.9.2020 klo 18.14 
Drift_91 lähetti viestin:
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.
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  [kehittäjä] 19.9.2020 klo 18.48 
Jæger lähetti viestin:
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?
nothing that uses it. unless oki weapons secretly uses it lol
Whiplash141  [kehittäjä] 19.9.2020 klo 22.02 
Jæger lähetti viestin:
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.
Viimeisin muokkaaja on Whiplash141; 19.9.2020 klo 22.05
Whiplash141  [kehittäjä] 22.9.2020 klo 15.07 
Jæger lähetti viestin:
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.
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.
< >
Näytetään 1-15 / 35 kommentista
Sivua kohden: 1530 50