MySQL star database addon v0.1.4

Post requests, images, descriptions and reports about work in progress here.
Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 23 years
Location: Outback Australia

MySQL star database addon v0.1.4

Post #1by marc » 12.11.2003, 09:44

This addon now has the ability to write stars.dat and hdnames.dat files. Sql commands can be run from Lua scripts.
There are a few celx scripts provided to demonstrate.

Here is the changelog.
http://mostlyharmless.sourceforge.net/m ... c.php?t=29

The download, and documentation:
http://mostlyharmless.sourceforge.net/s ... index.html

and here is the old thread:
http://www.celestiaproject.net/forum/viewtopic.php?t=2518
Last edited by marc on 24.11.2003, 01:51, edited 1 time in total.

maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years 4 months
Location: N?rnberg, Germany

Post #2by maxim » 13.11.2003, 22:34

If no one else does, I do:

Thanks for your work mark. :)

maxim.

christoria
Posts: 74
Joined: 03.11.2003
With us: 21 years 5 months

christoria

Post #3by christoria » 14.11.2003, 03:19

Hello,

Before I go installing this thing, how is it used, and do I need the MH add-on to use it? 8)
Thank you,

christoria
-------------
Your stomach has to produce a new layer of mucus every two weeks; otherwise it will digest itself.

Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 23 years
Location: Outback Australia

Post #4by marc » 14.11.2003, 06:56

Christoria,
This is the MH add-on.
All you need to do is download the above file. and install it the same directory as Celestia (1.3.1pre11 preferably, but it will work with others).
It is self installing and has an uninstaller, It does not overwrite or modify any celesita files. Uninstall any old versions of MH first.

This document explains what it is and how to use it. (the updated version of this document is included in the installer)
http://mostlyharmless.sourceforge.net/s ... eadme.html

Maxim.
Your welcome, :)

christoria
Posts: 74
Joined: 03.11.2003
With us: 21 years 5 months

christoria

Post #5by christoria » 14.11.2003, 19:02

Hello,

I installed it and I'll keep it. Thank you for doing this for everyone to use. One question: Why does it try to connect to the Internet every time I start it up?
Thank you,



christoria

-------------

Your stomach has to produce a new layer of mucus every two weeks; otherwise it will digest itself.

Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 23 years
Location: Outback Australia

Re: christoria

Post #6by marc » 15.11.2003, 03:29

christoria wrote:Hello,

I installed it and I'll keep it. Thank you for doing this for everyone to use. One question: Why does it try to connect to the Internet every time I start it up?

I don't know.

This has come up before, I thought I had fixed it by putting the skip-networking option in the my.ini file. I didn't test it as I am online all the time.
The mysql server or client is doing something at startup, probably as simple as looking up 'localhost'.

Thanks for letting me know about this, I will look in to it.

Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 23 years
Location: Outback Australia

Post #7by marc » 24.11.2003, 02:13

Just an excuse to bump it to the top of the list.

A screenshot.

Image
http://mostlyharmless.sourceforge.net/screenshots/stardb13.jpg

it's me divine_vessel

install problem

Post #8by it's me divine_vessel » 10.01.2004, 12:47

dear marc: :)
I download mh_sql_celestia_addon_0.1.4.exe.but I can't setup it on my widowsMe system.everytime I launch it.it made the system busy and have no response to me.As the author of the application,maybe you can help.

Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 23 years
Location: Outback Australia

Post #9by marc » 12.01.2004, 02:58

Is it the installer freezing or the application? Please provide me with as much information as you can. Including your system specs and exactly what you did.

Guest

reply

Post #10by Guest » 12.01.2004, 03:40

It's the installer freezing.I just try to run the installer.It show me a message box ask me wheather to install the applitcation.When I press the botton "yes" the machine is freezing.My system is Microsoft Widows Me 4.
90.3000.I have a celron 1.7G CPU, 128M ram and geforce2 64M graphic card.
I am sorry to bother you so much.Thanks

Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 23 years
Location: Outback Australia

Post #11by marc » 12.01.2004, 05:14

It is not any trouble helping, I'm interested as to why it doesnt work.

Can you show me a screenshot of the point at which it freezes? also have a look in the dbdata directory in celestia for any *.err files and show me the contents of those.
After you click 'yes' you should see the GNU license page, do you get that far? If not it could be corrupt, you could try downloading it again.

If you get further than that, the installer describes what it is doing at each stage, read what it says carefully and tell me what stage it gets up to.

The installer should bring up a command console when it converts the stars.dat into a database, this takes a few minutes, and might take longer on a system with that much ram. You may just need to wait a while.

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 5 months
Location: Manassas, VA

Post #12by fsgregs » 11.12.2004, 16:53

marc:

There exists on Pascal's website two star.dat files that increase the number of stars Celestia displays from about 100,000, to over 2 million. Unfortunately, those dat files cannot be read by 1.4.0, and have to be redone somehow. Pascal is busy and cannot get to them for a while. Will your add-on convert an existing star.dat file into a format 1.4.0 will recognize? If so, does the add-on explain how to do it?

Thanks

Frank

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

Post #13by selden » 11.12.2004, 17:11

Frank,

Marc is on a form of "walkabout". He may not see your posting here. See http://mostlyharmless.sourceforge.net/mhforum/viewtopic.php?t=87


A PM on his Forum might reach him sooner.
Selden


Return to “Add-on development”