Space Engineers

Space Engineers

LiDAR Mapping Script
 This topic has been pinned, so it's probably important
jTurp  [developer] 28 Nov, 2017 @ 6:12am
Bug Reports
Please include as much detail as possible about when/how the error occurred, as well as a screenshot of the exception message. Thanks!
< >
Showing 1-15 of 169 comments
pro100tv 4 Mar, 2018 @ 6:19am 
Hey, I have an issue with the timer block - it doesn`t trigger block which suppose to start programmable block with Allysius`s Launch Control Script. It is added into "Lidar System" group but script seems to still doesn`t trigger it or start the timer. Any ideas why?

edit:
I can upload the grid if it helps
Last edited by pro100tv; 4 Mar, 2018 @ 6:20am
jTurp  [developer] 4 Mar, 2018 @ 6:59am 
@Pro100

It should be - please upload the grid and I'll take a looksy :)
Last edited by jTurp; 4 Mar, 2018 @ 6:59am
jTurp  [developer] 4 Mar, 2018 @ 7:08pm 
@Pro100wryjtvpl The issue has been resolved. Thanks for bringing it to my attention, and please let me know if you have any other issues :)
pro100tv 5 Mar, 2018 @ 2:18am 
It is working now. Thank you for fixing that Sir :)
Claus 14 Mar, 2018 @ 7:04am 
Hi jtdub85 finally i figures out how to use the arguments and now i have maybe found a bug.. i ve added the function "Targets" to a butten and when i use them and the radar shows Enemy only and i press the Button again, the script stops and in Custom is a Message :


xception Message:

Length cannot be less than zero.

Parameter name: value



Stack trace:

at System.Text.StringBuilder.set_Length(Int32 value)

at Program.<ManageMap>d__151.MoveNext()

at Program.RunNormalOps()

at Program.SubMain(String argument, UpdateType updateSource)

at Program.Main(String argument, UpdateType updateSource)
Last edited by Claus; 14 Mar, 2018 @ 7:05am
jTurp  [developer] 14 Mar, 2018 @ 12:42pm 
@Claus, the exception has been found and fixed. Thanks for letting me know :)
Claus 14 Mar, 2018 @ 2:10pm 
we are all glad that you are programming this !! btw. is it possible to make the current settings / Status of the script, like Auto Launch or Precision or just to see if the script is running, to be shown on an LCD ?
jTurp  [developer] 14 Mar, 2018 @ 4:59pm 
@Claus - Auto launch and Precision mode are shown on an LCD - the MAP! If you have missiles, you should have "MSL CT" in the lower right corner of the map display. Below that, you will see how many missiles you have. There you will find the following:

If you have Auto Launch enabled, you will see:

MSL CT
A-2

If you have Precision enabled, you will see:

MSL CT
P-2

If you have both Auto Launch and Precision enabled, you will see:

MSL CT
PA-2
Last edited by jTurp; 14 Mar, 2018 @ 4:59pm
Claus 17 Mar, 2018 @ 5:13am 
Hi jtdub85... Maybe i found another Bug ....since last Update ... the Enemies only dissapear on Radar LCD if i am closer than 2 km... and a new exeption appear sometimes...

Exception Message:

Object reference not set to an instance of an object.



Stack trace:

at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.RuntimeInfo.get_CurrentInstructionCount()

at Program.RunNormalOps()

at Program.SubMain(String argument, UpdateType updateSource)

at Program.Main(String argument, UpdateType updateSource)

---------------
Greetings
jTurp  [developer] 17 Mar, 2018 @ 11:52am 
@Claus, What do you mean about enemies disappearing? They are on the map, and then you get close to them and they disappear? Sounds like possibly they are entering the grid's blind spots. Do you have rotor cameras setup on the corners?

As for the exception, that almost looks like a bug in the game, but I will investigate and figure out what's going on. Thanks for letting me know!
jTurp  [developer] 17 Mar, 2018 @ 12:03pm 
@Claus for the exception - was that everything it output for the exception? Please try to recreate and double check that there wasn't anything more to the message. Thank you!
Claus 17 Mar, 2018 @ 4:11pm 
sorry .. my bad english... "they not dissapearing"... they dont appear on Radar until i am closer than 2 km.. the radar only shows all "other" targets.. but no enemies... radar shows 9000 but enemies will be seen NOT before they closer than 2000... and yes i have the rotorcameras on all corners too... 8 of them ( four of them upside down )... for the exeption.. i ll try to reproduce it and copy the text again...
Claus 17 Mar, 2018 @ 4:31pm 
Here i am again and the script crashes ( just right a Moment before i hhhad an Performance issue )

Exception Message:

Object reference not set to an instance of an object.



Stack trace:

at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.RuntimeInfo.get_CurrentInstructionCount()

at Program.<ManageMap>d__151.MoveNext()

at Program.RunNormalOps()

at Program.SubMain(String argument, UpdateType updateSource)

at Program.Main(String argument, UpdateType updateSource)
-----

too bad.. nothing more there to copy
jTurp  [developer] 17 Mar, 2018 @ 4:51pm 
@Claus, thanks for the reply!

For the first issue, targets not being detected until you get close. The script doesn't differentiate between objects when it detects them. It simply checks that their relationship (owner, enemy, etc) is in a list, which is set with the "Targets" command. So in this case it simply isn't finding them until they are closer. The only thing that may help this is more cameras on all sides.

For the exception. This is not the script as the "CurrentInstructionCount" property is a part of the game. So one of two things is happening:

One - you have a mod that is doing something funky with the PB

Two - it is a bug in the game

Are you playing on a server? If so, is it a dedicated server? I would suggest you try to recreate the issue in a vanilla world (No mods). If it still occurs with just the script running (other scripts are okay) then let me know, and I'll dig deeper into the why and how.
Last edited by jTurp; 17 Mar, 2018 @ 4:58pm
< >
Showing 1-15 of 169 comments
Per page: 1530 50