I've been using the game script for star reduction after watching Adam's video on this process. I'm now having an issue with the script working properly. After I make all my selections and click ok, nothing happens. The script is saying to wait, but no matter how long I wait it doesn't do anything. When I close the script there is an error in the process console, which I have attached.
My Pixinsight is up to date and can't recall if there was an update when I first noticed this problem about a month ago.
Thanks,
Shawn
Comments
I'll let you know what I found out.
Thanks for your help,
Shawn
Hello Adam,
You discovered a real crazy error.
The problem is with the loop variable (in the case it was i)
for (var i in data.ellipsoids)
{
data.ellipsoids[i].draw (g);
}
Changed to
for (var i =0; i < data.ellipsoids.length; i++)
{
data.ellipsoids[i].draw (g);
}
Also changed in many other places.
I still don’t know the secrets of Java Scripting but hope, that I could fix the incident. In some cases, ressting the java runtime did help, but that is not a good solution.
Regards
Hartmut