Space Engineers

Space Engineers

[PARK] Piston And Rotor Keybinds
Exception caught
Didn't want to clutter the comments, so I posted here:

Caught exception during execution of script:Section contains illegal characters (\r, \n, [, ])
Parameter name: section
at VRage.Game.ModAPI.Ingame.Utilities.MyIniKey..ctor(String section, String name)
at Program.Controllable.LoadValues(MyIni ini, IMyTerminalBlock block, List`1 sections, UInt16& mask, String heading)
at Program.Motor..ctor(IMyMotorStator motor, MyIni ini, List`1 sections, UInt16& mask)
at Program.InitBlock[T](T block, MyIni ini)
at Program.<>c__DisplayClass21_0.<.ctor>b__0(IMyTerminalBlock b)
at Sandbox.Game.GameSystems.MyBlockGroup.Sandbox.ModAPI.Ingame.IMyBlockGroup.GetBlocksOfType[T](List`1 blocks, Func`2 collect)
at Program..ctor()

Group PARK has the following:
base hinge
base rotor
5 pistons
2 hinges for "elbow"
rotor, hinge rotor for a "wrist"
Helm

Any thoughts
< >
Showing 1-3 of 3 comments
Gemini Sierra Apr 26, 2023 @ 9:08am 
2
Think I found the issue... there was residual stuff in the custom data field of the PB... deleted and recompiled and the error went away... now I know
Wamuu May 2, 2023 @ 11:50am 
Which part of the script did you delete to fix? having the exact same issue here.
Gemini Sierra May 3, 2023 @ 4:35pm 
I didn't delete anything in the script.
I was using a programmable block that I found on another rover. There was some leftover stuff in the custom data field of the Programmable Block. Once I deleted that and recompiled, worked fine.
< >
Showing 1-3 of 3 comments
Per page: 1530 50