Space Engineers

Space Engineers

ST Experimental Version
Zelious  [developer] 10 May, 2019 @ 12:35am
Smart Turrets 2 Beta
Right now, this mod is being used as a semi-public beta for ST2, if you have any issues please report them here.

If you're sure you are experiencing a bug please also leave a link to the world (either a workshop or direct download link), that will make my job of debugging any problems much easier.
< >
Showing 1-13 of 13 comments
TheVillain 14 May, 2019 @ 3:26am 
So - still digging into the bug, but it seems like the game crashes to desktop when you access an interior turrets control panel on a station.

Still testing to narrow it down, but so far its on a normal earth start, creative, few QOL mods running.

Will report back with something more useful ;)

Either way outstanding work - love this mod
Zelious  [developer] 14 May, 2019 @ 5:12am 
Huh, so it does, did I mention my testing amounted to a stick with a reactor and a Gatling turret on it? XD

Anyway, it's a null error in, fortunately, a rather small function making it easy to identify. It can't seem to find "ST_RangeSlider", problem is I have no idea why that control doesn’t exist. I'll look into it some more, but I can’t guarantee anything today since it’s quickly approaching midnight and I need some sleep.
Zelious  [developer] 14 May, 2019 @ 5:55am 
Well it seems the spirits of turrets past where not happy.

By that I mean the reason it could not find "ST_RangeSlider" is because the code from deleted turrets where still trying to find that control. Total noob mistake but it's fixed now.

Thanks @TheVillain for letting me know about that crash, I would have thought in my limited “testing” that I would have cut and pasted a grid at least once and caused it to crash, but apparently not.
TheVillain 25 May, 2019 @ 11:10am 
Ha no worries, its aaaaall part of the process :D

Further testing seems stable, possible typo....Presets or Presents on the interface for saving targeting values.

Seriously you've done an amazing job with this. I've not looked at the code but I cant imagine its a small undertaking wrangling the turret AI to accept a whole bunch of new parameters.
Dalten 26 May, 2019 @ 7:30am 
also getting CTD when accessing gatling turret inventory. I'm super happy you're working on this mod, and all the progress you've accomplished. keep up the awesome work, we believe in you!
Zelious  [developer] 26 May, 2019 @ 5:44pm 
@Dalten I've been working on fixing a couple of crashes on my end for a few days, if you could get me a log I'll be able to check if I've already fixed that one or not.
Beast 29 May, 2019 @ 7:33pm 
Had one crash when trying to use the control panal on a gatling turret but could not recreate it. Also some issue with turrets not shooting targets when switch to smart turret required the turret to be turned off then switch to smart then powered back on.
Beast 29 May, 2019 @ 7:43pm 
With (fire though friendlies turn off) works a little to well preventing turrets from firing until they are exrta clear of owned blocks but not sure you can do anything about that. tested on earth with vanilla turrets and (mexpex warfare) (battle cannons and turrets) (compact turrets) in creative world ill try tomorrow with survival

This mod is great and i love it
Zelious  [developer] 29 May, 2019 @ 11:25pm 
@bnaylor12 It calculates if it can shoot past something based on the blocks bounding box (the placement box thing). I agree it's a little to cautions but so far, all the alternatives are way to laggy.
Zelious  [developer] 30 May, 2019 @ 12:53am 
@bnaylor12 Just found a way to have it only use laggy hi-re hitboxes for certain blocks, it should be a bit less cautious now.
I have been getting a crash on some turrets. Which ones cause it seems to change from session to session, but they have all been weapons from other mods. I believe all of them have had special/modified control panels.

2019-06-14 21:00:21.138 - Thread: 1 -> Exception occured: System.NullReferenceException: Object reference not set to an instance of an object.
at Zkillerproxy.SmartTurretMod.SmartTurretUtilities.controlModifier(IMyTerminalBlock block, List`1 controls)
at Sandbox.ModAPI.CustomControlGetDelegate.Invoke(IMyTerminalBlock block, List`1 controls)
at Sandbox.Game.Gui.MyTerminalControls.GetControls(IMyTerminalBlock block)
at Sandbox.Graphics.GUI.MyGuiControlGenericFunctionalBlock.RecreateBlockControls()
at Sandbox.Graphics.GUI.MyGuiControlGenericFunctionalBlock..ctor(MyTerminalBlock[] blocks)
at Sandbox.Game.Gui.MyTerminalControlPanel.SelectBlocks()
at Sandbox.Game.Gui.MyTerminalControlPanel.PopulateBlockList(MyTerminalBlock[] selectedBlocks)
at Sandbox.Game.Gui.MyTerminalControlPanel.Init(IMyGuiControlsParent controlsParent, MyPlayer controller, MyCubeGrid grid, MyTerminalBlock currentBlock, MyGridColorHelper colorHelper)
at Sandbox.Game.Gui.MyGuiScreenTerminal.CreateTabs()
at Sandbox.Game.Gui.MyGuiScreenTerminal.RecreateControls(Boolean constructor)
at Sandbox.Game.Gui.MyGuiScreenTerminal.Show(MyTerminalPageEnum page, MyCharacter user, MyEntity interactedEntity)
at SpaceEngineers.Game.Entities.UseObjects.MyUseObjectInventory.Use(UseActionEnum actionEnum, IMyEntity entity)
at Sandbox.Game.Gui.MyGuiScreenGamePlay.HandleUnhandledInput(Boolean receivedFocusInThisUpdate)
at Sandbox.Game.Gui.MyGuiScreenGamePlay.HandleInput(Boolean receivedFocusInThisUpdate)
at Sandbox.Graphics.GUI.MyScreenManager.HandleInput()
at Sandbox.Graphics.GUI.MyDX9Gui.HandleInput()
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)
Zelious  [developer] 14 Jun, 2019 @ 9:19pm 
@Łτ•βЃĄЙĐΘИ- Smart Turrets 2 is out, and it has that issue fixed, no need to be using this anymore ;)
Beast 21 Jun, 2019 @ 9:48am 
good to know ill try it soon
< >
Showing 1-13 of 13 comments
Per page: 1530 50