Page 1 of 1

Celestia 1.6.0 and the Lua Edu Tools

Posted: 07.02.2009, 21:36
by jogad
Hello

When I play near the surface of a planet, I am sometimes blown over one million Mpc. At this distance the H and G keys no longer work and I have to close and relaunch Celestia.
This happened randomly and I had not first suspected the Lua Edu Tools.

Here is a way to quickly bring up the bug:

- Open Celestia
- If you have not already the Earth selected in front of you, press "3 G" (or "4G" if you want to go to Mars).
- Enter G once more time to get closer then click the checkbox Compass.
With my machine it’s enough to trigger the bug.

I am currently using one of the last versions of Celestia 1.6.0 and the Lua Edu Tools 1.2 beta3, both in the French version.
This bug doesn’t show up with Celestia 1.5 and the previous version of lua edu tools.
 

Re: Celestia 1.6.0 and the Lua Edu Tools

Posted: 07.02.2009, 23:06
by Vincent
Jo?l,

Thanks for the report. I can indeed reproduce this bug.
I have an idea about what's going wrong. However, I'll be snowboarding
in the Alps the whole week, so I'll try to post a fix when I get back home.

Re: Celestia 1.6.0 and the Lua Edu Tools

Posted: 15.02.2009, 17:41
by Vincent
Just back from the mountain, I could find an easy fix for the bug reported by Jo?l.
Replacing the '\lua_edu_tools\tools\compassBox.lua' file with the following version
should fix it: http://vincent.giangiulio.perso.sfr.fr/ ... assBox.zip

Jo?l, please let me know if it's OK to you so that I can add this fix to the Lua Edu Tool package.

Re: Celestia 1.6.0 and the Lua Edu Tools

Posted: 16.02.2009, 16:16
by jogad
Hi Vincent

It seems that your patch is ok.
But another bug remains. When I load a cel:url witch changes the pause status, this is not taken in account by the Lua Tools and then, the pause indicator works in the opposite of what it should do.

La neige ?tait bonne ?

Re: Celestia 1.6.0 and the Lua Edu Tools

Posted: 17.02.2009, 18:22
by Vincent
Hi Jo?l,

jogad wrote:It seems that your patch is ok.
Thanks for testing. I'll add this change to the Lua Edu Tools package.

jogad wrote:But another bug remains. When I load a cel:url witch changes the pause status, this is not taken in account by the Lua Tools and then, the pause indicator works in the opposite of what it should do.
Yes, this is an already known bug. Actually, there's no way from celx/Lua to know whether time is paused or not, yet.
Adding a celestia:ispaused function to celx would fix this. I think it would be quite useful adding it before 1.6.0 is out.

jogad wrote:La neige ?tait bonne ?
Terriblement bonne :D :

Re: Celestia 1.6.0 and the Lua Edu Tools

Posted: 07.03.2009, 09:54
by Vincent
Jo?l,

The pause status bug is now fixed.
You need to use SVN revision 4652 or later and the Lua Edu Tools v1.2beta4:
viewtopic.php?f=11&t=13162&p=113152#p113152