Info pages, can they be local?

The place to discuss creating, porting and modifying Celestia's source code.
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #21by rthorvald » 21.05.2007, 15:26

Christophe wrote:The problem is probably specific to OSX and the way InfoURLs are handled. You should ask Dirkpitt to look into it.


Ok, thanks.

- rthorvald
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #22by dirkpitt » 21.05.2007, 16:27

Christophe wrote:If the ssc and page.html are in the same folder, the following should work:

Code: Select all

InfoURL "page.html"


The problem is probably specific to OSX and the way InfoURLs are handled.


I think this is partly due to a bug in CreatePlanets() in the Celestia core code. What's happening is, for solarsys.ssc, CreatePlanets() is prepending a "/" to local URL's, and of course this is only valid if the file is actually in root. I imagine this problem affects the Linux version too.
Last edited by dirkpitt on 03.06.2007, 17:06, edited 1 time in total.

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #23by rthorvald » 24.05.2007, 17:32

dirkpitt wrote:I think this is partly due to a bug in CreatePlanets() in the Celestia core code.


I just updated, after Chris Pre 3 announcement, and the bug is still there. Is there any hope of a fix?

- rthorvald
Image

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #24by chris » 24.05.2007, 17:46

rthorvald wrote:
dirkpitt wrote:I think this is partly due to a bug in CreatePlanets() in the Celestia core code.

I just updated, after Chris Pre 3 announcement, and the bug is still there. Is there any hope of a fix?

- rthorvald


Yes, we'll take care of it for the next prerelease.

--Chris

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #25by rthorvald » 24.05.2007, 17:50

chris wrote:Yes, we'll take care of it for the next prerelease.

Great!

And thanks for the new release... Looks good, so far :-)

- rthorvald
Image


Return to “Development”