This is script I had made for one of my addons and when I try and run it, Celestia gives me an error.
I don't know were the error is but if you do please reply.
Blackhole script
-
Topic authorAnthony_B_Russo10
- Moderator
- Posts: 672
- Joined: 03.07.2018
- Age: 21
- With us: 6 years 5 months
- Location: Tallahassee, Florida, US
Blackhole script
- Attachments
-
- Blackholecel.zip
- (822 Bytes) Downloaded 294 times
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.
Hi Anthony_B_Russo10.
Sorry but without your addon I cannot check it.
But your script is very short, so it will be easy to try this way:
at half of the script put a new line with a single
" } "
This will stop the execution at that point.
So launch the script and check if the error is still there or not.
If yes, you know that it's in the first half of the script, so apply the same procedure there.
And so on.
At the end you'll have the exact script line that gives error.
And now my question to the authors:
Celestia knows exactly what is and where is the error, so why the error message is generic and doesn't point us to the wrong script line?
Is it possible to add this feature, that would save lot of time in scripting, please?
Thanks a lot.
Bye
Goofy
Added after 2 minutes 21 seconds:
Anyway, I think the error is this:
setfaintestautomag45deg{ magnitude 8.5 }
Celestia has not the command
setfaintestautomag45deg{
Bye
Goofy
Sorry but without your addon I cannot check it.
But your script is very short, so it will be easy to try this way:
at half of the script put a new line with a single
" } "
This will stop the execution at that point.
So launch the script and check if the error is still there or not.
If yes, you know that it's in the first half of the script, so apply the same procedure there.
And so on.
At the end you'll have the exact script line that gives error.
And now my question to the authors:
Celestia knows exactly what is and where is the error, so why the error message is generic and doesn't point us to the wrong script line?
Is it possible to add this feature, that would save lot of time in scripting, please?
Thanks a lot.
Bye
Goofy
Added after 2 minutes 21 seconds:
Anyway, I think the error is this:
setfaintestautomag45deg{ magnitude 8.5 }
Celestia has not the command
setfaintestautomag45deg{
Bye
Goofy
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
-
Topic authorAnthony_B_Russo10
- Moderator
- Posts: 672
- Joined: 03.07.2018
- Age: 21
- With us: 6 years 5 months
- Location: Tallahassee, Florida, US
Here's the link to the addon.
https://celestia.space/forum/viewtopic.php?f=23&t=18256
https://celestia.space/forum/viewtopic.php?f=23&t=18256
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.
setfaintestautomag45deg{ magnitude 8.5 }
this command is on https://en.wikibooks.org/wiki/Celestia/Celx_Scrip ... ommand_setfaintestautomag45deg
and a space between deg and { ? setfaintestautomag45deg { magnitude 8.5 }
Added after 4 hours 42 minutes:
I got this error message with a script I had just translated into French.
I found the translation site the text sequence '!' by "!".
That's what made the mistake (").
Check also the presence of the pointstars parameter in renderflags {".........."}
renderflags {clear "pointstars | nightmaps | galaxies | markers"}
This setting is no longer used in Celestia 1.6.1, but do not cause an error if it is present, it is simply ignored.
this command is on https://en.wikibooks.org/wiki/Celestia/Celx_Scrip ... ommand_setfaintestautomag45deg
and a space between deg and { ? setfaintestautomag45deg { magnitude 8.5 }
Added after 4 hours 42 minutes:
I got this error message with a script I had just translated into French.
I found the translation site the text sequence '!' by "!".
That's what made the mistake (").
Check also the presence of the pointstars parameter in renderflags {".........."}
renderflags {clear "pointstars | nightmaps | galaxies | markers"}
This setting is no longer used in Celestia 1.6.1, but do not cause an error if it is present, it is simply ignored.
...and a space between deg and { ? setfaintestautomag45deg { magnitude 8.5 }
Gironde, probably you didn't read my message #2, where I told exactly the same thing.
Goofy
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
Gironde, no problem at all.
BTW, do you agree on what I said?
Bye.
Goofy
BTW, do you agree on what I said?
I think that a solution to this nonsense could save us a lot of time, wasted to find errors in scripts that may be thousands lines long (my Mars script is more than 7000 lines ...)Celestia knows exactly what is and where is the error, so why the error message is generic and doesn't point us to the wrong script line?
Bye.
Goofy
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
-
Topic authorAnthony_B_Russo10
- Moderator
- Posts: 672
- Joined: 03.07.2018
- Age: 21
- With us: 6 years 5 months
- Location: Tallahassee, Florida, US
If either of you want you can make script to go with the addon.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.