Space Engineers

Space Engineers

Solar Panel Alignment Script [BROKEN]
 This topic has been pinned, so it's probably important
mezzodrinker  [developer] Nov 26, 2015 @ 7:55am
Issues
This is a separate discussion for everyone who has any issues using this script.

Please consider using the GitHub issue tracker[github.com].

Ideas/Suggestions do NOT belong here!
Last edited by mezzodrinker; Dec 7, 2015 @ 1:34pm
< >
Showing 1-15 of 57 comments
rottielover Aug 3, 2015 @ 12:13pm 
Troubleshooting
I wanted to start a sep discussion just on troubleshooting so that people can find the answers to common issues, but also to let you know I'm having an issue currently...

After setting things up the solar panel I've chosen as the controller get's reanmed with ~## where # is the power output of the panel, the problem is that for some reason it's always displaying 119 .

This script worked perfectly on a server that had the sun rotation disabled, I'm now on a server with the sun rotation set to 2 hours I think (give or take).
mezzodrinker  [developer] Aug 3, 2015 @ 1:17pm 
Hmm, that's strange. I tested my script on worlds with a sun rotation duration of 30min and 4h and it never did anything unexpected (at least not unexpected for me). But your case sounds like you let the programmable block once and never again. That would be the only explanation as to why the name of the solar panel doesn't get updated.
rottielover Aug 3, 2015 @ 1:23pm 
Not sure what's going on. Here's the rundown... There are two solar arrays, the first array has a single X rotor and 2 Y rotor's. The 2nd array has a single x and a single Y rotor. I have 3 program blocks and 3 timers. The first program block has the X and Y1 of the first array, the 2nd block has the Y2 of the first array and the 3rd has the 2nd array both rotors.

I'll get some screenshots here in a while. Ihave a few chores I have to get done first.
mezzodrinker  [developer] Aug 3, 2015 @ 1:35pm 
Well, if everything goes awry, I think I can also try and connect to that server to take a look at things myself.
rottielover Aug 3, 2015 @ 7:09pm 
might be best, I'll send you a PM with my TS server Info and server info
Ricken Nov 6, 2015 @ 10:59am 
Bonjour/Hi
J'ai le message d'erreure/I have error message :
Solar imcompatible (in exception block prog)
I don't use mod solar.
mezzodrinker  [developer] Nov 8, 2015 @ 2:40pm 
Originally posted by Ricken:
Bonjour/Hi
J'ai le message d'erreure/I have error message :
Solar imcompatible (in exception block prog)
I don't use mod solar.
Hang on, I'm going to investigate this.
mezzodrinker  [developer] Nov 8, 2015 @ 2:53pm 
Originally posted by Ricken:
Bonjour/Hi
J'ai le message d'erreure/I have error message :
Solar imcompatible (in exception block prog)
I don't use mod solar.
I suppose you're using French as your game language. If you do that, you have to set the following variables to the appropriate values as demonstrated below:
// Configure your language by editing the values inside this class to the texts // that are displayed inside your game. public static class Localization { // Text that is located before the maximum power output value in the detailed // description of the solar panel, including whitespaces. // English: "Max Output: " public const string MaxOutput = "Sortie max : "; // Text that is located before the current power output value in the detailed // description of the solar panel, including whitespaces. // English: "Current Output: " public const string CurrentOutput = "Courant de sortie:"; }
Last edited by mezzodrinker; Nov 8, 2015 @ 2:54pm
Ricken Nov 9, 2015 @ 5:53am 
I have made ​​the change in French as in my control panel , there are no difference between 32b and 64b ?
mezzodrinker  [developer] Nov 9, 2015 @ 6:16am 
Originally posted by Ricken:
I have made ​​the change in French as in my control panel , there are no difference between 32b and 64b ?
I was talking about the variables in my script, not something outside it.
Ricken Nov 9, 2015 @ 7:06am 
Oh ok, i look
MadnessTA Nov 15, 2015 @ 7:38pm 
It's giving me an exception that the RotorNames and RotorNames_IsGroup don't have the same length. I have two advanced rotors, what do?
mezzodrinker  [developer] Nov 16, 2015 @ 6:30am 
As shown in the comment for RotorNames_IsGroup, it has to have the same length as RotorNames which means that both lists have to have the same amount of elements in them. So, for example, if you have two rotors in RotorNames, you'd have to configure the script like this:
// Names of all rotors that are connected to the solar panels that should // be optimized. // Each name has to be EXACTLY THE SAME as the corresponding rotor's // name in the terminal overview. // Default: { "Advanced Rotor" } // Allowed values: comma-separated list of strings public static readonly string[] RotorNames = new string[] { "<name of rotor 1>", "<name of rotor 2>" }; // Determines for each element of RotorNames if the name provided should // be used as group name (true) or block name (false). // This needs to have the same length as RotorNames! // Default: { false } // Allowed values: comma-separated list of true and false public static readonly bool[] RotorNames_IsGroup = new bool[] { false, false };
Last edited by mezzodrinker; Nov 16, 2015 @ 6:30am
MadnessTA Nov 16, 2015 @ 6:36am 
Oh, thanks I was adding quotation marks :P
Last edited by MadnessTA; Nov 16, 2015 @ 6:36am
Volcano [FR] Nov 25, 2015 @ 1:18pm 
Hi, I have just tried to use your script for a solar panel array composed of six panels and 2 basic rotors. I have carefully read the instructions about how to use your script, and configured the names and language (French in my case), but after clicking the execute button, the script returns an exception : "Main() failed to read average maximum power for solar panels".

I might have missed something, but in principle I am reasonably sure to have correctly configured the script.
Last edited by Volcano [FR]; Nov 25, 2015 @ 1:19pm
< >
Showing 1-15 of 57 comments
Per page: 1530 50