Space Engineers

Space Engineers

[PARK] Piston And Rotor Keybinds
Exception, then initialising
(v1.2.9) Even with only a vanilla hinge, the programmable block and the remote control in the group PARK I get following exception, after which it is stuck in "Initializing PARK (faction)...".
All blocks are owned by me, custom data emptied on all blocks.

Caught exception during execution of script:Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at
System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at
Program.Controllable.GetReturnOrder(Int32 profile)
at
Program.Motor.Actuate(UInt16flag, Int32 profile, Single multiplier, Single deadZone)
at
Program.Main(String argument, UpdateType updateSource)
at
Sandbox.Game.Entities.Blocks.MyProgrammableBlock.<>c__DisplayClass42_0.<ExecuteCode>b__0(IMyGridProgram program)
at
Sandbox.Game.Entities.Blocks.MyProgrammableBlock.RundSandboxedProgramActionCore(Action'1 action, String& response)
< >
Showing 1-2 of 2 comments
Edmund Bestoiber May 31, 2024 @ 10:29am 
If I comment out
int returnOrder = GetReturnOrder(profile);
and add
int returnOrder = -1;

it throws the same exception for
float returnSpeed = GetReturnSpeed(profile);

if I set that to 0 in the same way I don't get any exception anymore, but its still stuck in initialising
Edmund Bestoiber May 31, 2024 @ 10:42am 
ok, it works now.
I've swapped the programmable block for another one, I can't see any difference except than "Built by:"
< >
Showing 1-2 of 2 comments
Per page: 1530 50