Space Engineers

Space Engineers

[PARK] Piston And Rotor Keybinds
Gemini Sierra 25. apr. 2023 kl. 19:59
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
< >
Viser 1-3 af 3 kommentarer
Gemini Sierra 26. apr. 2023 kl. 9:08 
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
The Dinkster 2. maj 2023 kl. 11:50 
Which part of the script did you delete to fix? having the exact same issue here.
Gemini Sierra 3. maj 2023 kl. 16:35 
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.
< >
Viser 1-3 af 3 kommentarer
Per side: 1530 50