Space Engineers

Space Engineers

Solar Panel Alignment Script [BROKEN]
Maguschala Nov 20, 2015 @ 8:37pm
Stuck at Hibernating or Panicking
Hi,
I set up your mod just fine yesterday with a two rotor setup and it worked fine for the hours I played. Anyways, I became ambitious and decided to move up to a setup that uses two rotors at the top in a group, and have on the opposite arm a set of Oxygen farms. The reference solar panel is still the same one; I did replace the rotors I was using with advanced rotors, and the pillar of blocks between the base rotor and the top rotors are conveyor tubes and a conveyor block.

Here's the lines from my code so you can tell if there's a problem there:

public static readonly string[] RotorNames = new string[] { "Solar Rotor Base", "Solar Rotor Arms" };

public static readonly bool[] RotorNames_IsGroup = new bool[] { false, true };

My timer block is set up correctly with the default argument on the programming block set up, and the name is correct on everything. Solar Rotor Arms is a group containing two rotors named Solar Rotor Arm and Solar Rotor Arm [Inv]. I'm sure the rotors are not mixed up, because during troubleshooting I activated each one and watched it spin to confirm.

My problem is that when I run the programming block, it initializes the solar panel, timer, and rotors, but then immediately hibernates. Sometimes when I run it it says 'Panicking' and then 'Testing' but then gets stuck. Either way, the timer goes through one loop and then turns greenish.

Hopefully this is enough information for you to tell what's going on, but if not, please let me know. Thanks!
< >
Showing 1-5 of 5 comments
mezzodrinker  [developer] Nov 20, 2015 @ 8:45pm 
Were you, by any chance, playing on a dedicated server?
Maguschala Nov 20, 2015 @ 9:12pm 
Nope, just by myself off of my PC. I was playing with a friend yesterday when it was working...
mezzodrinker  [developer] Nov 20, 2015 @ 11:15pm 
Originally posted by Maguschala:
Nope, just by myself off of my PC. I was playing with a friend yesterday when it was working...
What's the programmable block telling you about the average maximum output of the solar panel(s)?
Maguschala Nov 21, 2015 @ 10:40pm 
It says current output is 117.65, the sun is about overhead. Now it's stuck at 'testing', and the base rotor is stuck rotating very slowly.
Thanks for the help! Sorry for the hassle.
mezzodrinker  [developer] Nov 23, 2015 @ 4:54pm 
Originally posted by Maguschala:
It says current output is 117.65, the sun is about overhead. Now it's stuck at 'testing', and the base rotor is stuck rotating very slowly.
Thanks for the help! Sorry for the hassle.
Well, the problem is that the script can't be stuck at "testing" if you set it up correctly (letting the timer block run the programmable block).
< >
Showing 1-5 of 5 comments
Per page: 1530 50