Celestia 1.6.0 and the Lua Edu Tools

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
jogad
Posts: 458
Joined: 17.09.2008
With us: 16 years 2 months
Location: Paris France

Celestia 1.6.0 and the Lua Edu Tools

Post #1by jogad » 07.02.2009, 21:36

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.
 

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Re: Celestia 1.6.0 and the Lua Edu Tools

Post #2by Vincent » 07.02.2009, 23:06

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.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Re: Celestia 1.6.0 and the Lua Edu Tools

Post #3by Vincent » 15.02.2009, 17:41

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.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Avatar
Topic author
jogad
Posts: 458
Joined: 17.09.2008
With us: 16 years 2 months
Location: Paris France

Re: Celestia 1.6.0 and the Lua Edu Tools

Post #4by jogad » 16.02.2009, 16:16

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 ?

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Re: Celestia 1.6.0 and the Lua Edu Tools

Post #5by Vincent » 17.02.2009, 18:22

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 :
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Re: Celestia 1.6.0 and the Lua Edu Tools

Post #6by Vincent » 07.03.2009, 09:54

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
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3


Return to “Bugs”