Trouble with SSC file

Post requests, images, descriptions and reports about work in progress here.
Topic author
Weyrman
Posts: 3
Joined: 19.09.2007
With us: 17 years 6 months
Location: Brisbane Australia

Trouble with SSC file

Post #1by Weyrman » 19.09.2007, 13:18

Hi All,

I am attempting to add the planet PERN to the star Rukbat. I have tried to follow the instructions but when I load Celestia, it jams on the Pern.ssc file. It doesn't lock up, it just doesn't get any further.

Here is the code I have.

#########################
# Pern.ssc
#########################
"Pern" "HIP 95347" {
Texture "earth.png"
Radius 65000

EllipticalOrbit {
Period 1
SemiMajorAxis 1
Inclination 15.00
}
}
#########################

and it resides in extras\Pern and is the only file in the folder.

I gather that earth.png will be automatically found from the textures folder.

Any help will be gratefully appreciated.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 7 months
Location: NY, USA

Post #2by selden » 19.09.2007, 13:40

[edited to describe actual problem]

You forgot to include a line terminator at the end of the last line of your .SSC file. Open it in Notepad and move the cursor to the end of the file. The cursor should be at the left margin, not at the end of the last line of text. Type an [enter] and save the file.

This problem is fixed in v1.5.0.
Selden

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 8 months

Post #3by ajtribick » 19.09.2007, 17:50

How tricky would this bug be to fix I wonder? I don't know much about handling strings or files in C/C++, so have no idea of the issues here, but its a fairly longstanding problem.

(Not that I'm holding my breath for any further bugfixes on Celestia, ever)

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 7 months
Location: NY, USA

Post #4by selden » 19.09.2007, 17:54

Chaos,

Did you overlook my last sentence?
It's fixed in v1.5.0.

And, in particular, it's fixed in pre3.
Selden

Topic author
Weyrman
Posts: 3
Joined: 19.09.2007
With us: 17 years 6 months
Location: Brisbane Australia

Post #5by Weyrman » 19.09.2007, 19:43

Thankyou, I never would have got that!

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #6by t00fri » 19.09.2007, 20:29

Weyrman,

being a newbie to astronomy and Celestia, I am curious
where is the planet PERN and the star Rukbat?
Can I see that star in my 8 inch telescope? I would really love to. How bright is it?

The names sound so interesting and mind-inspiring...

Thanks,
Bye, Fridger
Image

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 8 months

Post #7by ajtribick » 19.09.2007, 20:59

Oops sorry I'm going blind.

But there is still the issue that 1.5.0 isn't a full release. It isn't fixed in the version that a newcomer to the project will download off the main site.

(It also isn't fixed in the versions provided by various Linux distributions but that's another matter...)

----

Oh excellent, we have the typical response to anyone who is doing a project that isn't totally reality-based and isn't Runar (who seems to get a free pass to do fictional projects without getting his head bitten off or being on the receiving end of totally undeserved sarcasm).

No wonder Celestia is dead.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #8by t00fri » 19.09.2007, 21:03

chaos syndrome wrote:Oh excellent, we have the typical response to anyone who is doing a project that isn't totally reality-based and isn't Runar (who seems to get a free pass to do fictional projects without getting his head bitten off or being on the receiving end of totally undeserved sarcasm).

No wonder Celestia is dead.


No, simply because Runar is GOOD at it!


And incidentally, I don't believe Celestia is dead.

I suppose Celestia is just leading another life...and this community has been put into the "refrigerator" by Chris for an indefinte time..

Meanwhile I am also convinced of Christophe T.'s suggestion that Chris is working FULL Time on Celestia since middle of July, say. Just as he has announced it.

Under a paid contract, of course...This has happened before, I guess about 2 years ago, when we set out to do Celestia - FT -1.x.

Bye Fridger
Last edited by t00fri on 19.09.2007, 23:40, edited 3 times in total.
Image

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 8 months

Post #9by ajtribick » 19.09.2007, 21:20

I have been ordered by selden to edit this post because it was too sarcastic.

It remains to be seen what happens to Fridger's remarks about "being a newbie to astronomy and Celestia".

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #10by t00fri » 19.09.2007, 21:59

chaos syndrome wrote:I have been ordered by selden to edit this post because it was too sarcastic.

I hope your sarcasm was not a consequence of my post?

It remains to be seen what happens to Fridger's remarks about "being a newbie to astronomy and Celestia".


Well, aren't we all Newbies when it comes to unforseen aspects of life ;-) ? I don't think I offended anyone, or made a political, religous or sexy statement?

What are 6 years of hard work with Celestia? It's close to ZERO on a cosmic time scale. ;-)

-------------------------------------------
Notably, these 6 years being not even worth a short email by Chris, telling me what's up since three months?
-------------------------------------------

So, indeed, I am a Newbie about Celestia, don't you think so?

f.
Last edited by t00fri on 19.09.2007, 23:38, edited 1 time in total.
Image

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #11by t00fri » 19.09.2007, 23:10

chaos syndrome wrote:I have been ordered by selden to edit this post because it was too sarcastic.


Hmm...When I see Selden going on to defend the "moral" in here, this reminds me of a very touching story/movie:

Remember this bunch of American soldiers in the second World War who stranded on a lonely island in the Pacific where some Japanese soldiers happend to be stationed as well. So they went on fighting each other fiercely and honorably, not knowing that the war was OVER since a long time...

Bye Fridger
Last edited by t00fri on 20.09.2007, 07:11, edited 1 time in total.
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 2 months
Location: Montreal

Post #12by Cham » 19.09.2007, 23:53

t00fri wrote:I don't think I offended anyone, or made a political, religous or sexy statement?


Hmmm, reminds me of two blondes on a bike ! ;-)
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Bluespace
Posts: 75
Joined: 19.09.2005
With us: 19 years 6 months
Location: Cosmos - MilkyWay- Solar System- Earth- Asia- India- Kerala- Kochi (All Aliens R Invited)

Post #13by Bluespace » 20.09.2007, 04:41

sorry to interrupt , but now i got the reason for "Posts: 5889" ;)

i think our theoretical physicist does not use common sense, something like the above statement was visible on my other post on "world maps"

you are one of the main developer (wow, look, at that 3rd in the list), you have the power to do what you want with the source code of celestia, a celestia is GPL and whatever you do just requires this statement "copyright chris laurel"
so why should you wait for one ? (like "commet allez vous" emails? )

go unleash yourself and take the celestia from ZERO to whatever no: you like :)

bye take care :)

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #14by t00fri » 20.09.2007, 07:12

Cham wrote:
t00fri wrote:I don't think I offended anyone, or made a political, religous or sexy statement?

Hmmm, reminds me of two blondes on a bike ! ;-)


Hi hi,...but these two we don't send to Selden, do we? :roll:

Bye Fridger
Image

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #15by t00fri » 20.09.2007, 07:14

Bluespace wrote:sorry to interrupt , but now i got the reason for "Posts: 5889" ;)

...
go unleash yourself and take the celestia from ZERO to whatever no: you like :)

bye take care :)


Yes, this is called a FORK. That idea was around earlier ... ;-)

Bye Fridger
Image

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #16by t00fri » 20.09.2007, 07:19

Let's stop this, friends...

We have been snatching Weyman's thread for entirely unimportant talking ;-) . So Selden will correctly erase all this and lock the thread.

Bye Fridger
Image

Topic author
Weyrman
Posts: 3
Joined: 19.09.2007
With us: 17 years 6 months
Location: Brisbane Australia

Post #17by Weyrman » 20.09.2007, 09:12

To answer t00fri's question, Rukbat is a real star, part of Sagittarius. Pern is a fictional planet that orbits it on which Anne McCaffrey's Dragonrider series of books is set.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #18by t00fri » 20.09.2007, 09:20

Weyrman wrote:To answer t00fri's question, Rukbat is a real star, part of Sagittarius. Pern is a fictional planet that orbits it on which Anne McCaffrey's Dragonrider series of books is set.


Thanks!

Indeed (Simbad/Strasbourg):

Basic data :

Code: Select all


NAME RUKBAT -- Star    

ICRS coord. (ep=2000 eq=2000) :
   19 23 53.1765 -40 36 57.384 ( ~Unknown ) [ 12.54 4.05 103 ]
FK5 coord. (ep=2000 eq=2000) :
   19 23 53.176 -40 36 57.38 ( ~Unknown ) [ 12.54 4.05 103 ]
Proper motions mas/yr [error ellipse]:
   32.67 -120.81 A [1.46 0.48 106]
Radial velocity / Redshift / cz :
   km/s -0.7 [5] / z -0.000002 [0.000017] / cz -0.70 [5.00]   
Parallaxes mas:
   19.20 [0.99]
Spectral type:
   B8V
Fluxes (2) :
   
B 3.867 [~] C ~
V 3.950 [~] C ~



Bye Fridger
Image

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 23
With us: 23 years
Location: Hamburg, Germany

Post #19by t00fri » 20.09.2007, 17:15

Ah, Rukbat = ?± Sgr in Celestia...

Image

Bye Fridger
:lol:
Image

Avatar
John Van Vliet
Posts: 2951
Joined: 28.08.2002
With us: 22 years 7 months

re

Post #20by John Van Vliet » 21.09.2007, 16:48

now don't go doing something like what might only might happen to OpenOfice and has been lightly talked about for the Linux kernel and go FORKING


Return to “Add-on development”