Illustrators and Web designers requested

Technical and coding related questions.

Moderator: Board moderators

Lauwenmark
Junior member
Posts: 111
Joined: Thu May 15, 2003 9:27 am
Location: Sélentine, I. Pref. Occ.

Post by Lauwenmark »

mathwizard wrote:How do I have to compile CF to get the logger?
Well, the best way to attempt this is to read the INSTALL docs in the plugin_logger/ subdirectory of the crossfire source code.

Note that you'll have to perform a couple of operations manually - unlike other parts of Crossfire, there's a little more that just 'configure / make / make install' to make it work. Not very difficult though, as I was myself able to do it :)

To be able to run the logger, you'll need MySQL or PostgreSQL, as well as a correctly configured webserver supporting PHP.

Don't hesitate to ask further if you need help on that topic.
Au Nom de Son Auguste Majesté,

Lauwenmark Kadensanni Hento Akkendrittae
Général en Chef de l'Armée de l'Ouest.
mathwizard
Luser
Posts: 40
Joined: Tue Jun 10, 2003 6:15 am
Location: Germany

Post by mathwizard »

Lauwenmark wrote: Don't hesitate to ask further if you need help on that topic.
Well, thank you for now. I am trying to install all the required progs, if something doesn't work i will ask again.
Do not meddle in the affairs of wizards
for they are subtle and quick to anger.
mathwizard
Luser
Posts: 40
Joined: Tue Jun 10, 2003 6:15 am
Location: Germany

Post by mathwizard »

Well, here is a first one: I just downloaded crossfire-1.5.0.tar.gz, where I supposed the plugin to be, but couuldn't find it (the folder plugins only contains plugin_python and nothing related to the logger). Where is the plugin, or what file do I have to download?
Do not meddle in the affairs of wizards
for they are subtle and quick to anger.
dark.schneider
Regular
Posts: 84
Joined: Wed Apr 30, 2003 10:11 pm
Location: Milano, Italy
Contact:

Post by dark.schneider »

I think logger is only in CVS version, since it's not complete, and was "officialy" out after the relase of 1.5.0.
So get the CVS :)
mathwizard
Luser
Posts: 40
Joined: Tue Jun 10, 2003 6:15 am
Location: Germany

Post by mathwizard »

Create a database using your prefered database system.
Actually I prefer not to work with any database system, however I installed MySQL. How do I create that database?
Do not meddle in the affairs of wizards
for they are subtle and quick to anger.
mathwizard
Luser
Posts: 40
Joined: Tue Jun 10, 2003 6:15 am
Location: Germany

Post by mathwizard »

Ok, hopefully fixed that. There should now be a database called crossfire. I now am running into point

3) Using the ODBC tools create a DSN (Database Server Name) and test it.
Testing on systems with unixodbc is done by invoking the following command
isql DSN username password
The next problem will probably come with
6) use any sql tool to create the tables listed in database.txt
Further developpements will include a tool to do it for you.
'Till it's done, do it yourself....
I guess I will need help there as well.
Do not meddle in the affairs of wizards
for they are subtle and quick to anger.
Lauwenmark
Junior member
Posts: 111
Joined: Thu May 15, 2003 9:27 am
Location: Sélentine, I. Pref. Occ.

Post by Lauwenmark »

As for ODBC configuration, you may want to read the article available at:

http://www.unixodbc.org/odbcinst.html

As for the SQL tool, you can use the one supplied with your SGDB. With MySQL, the tool is called mysql.

You'll have to use the SQL instruction CREATE TABLE to build the database. The syntax for CREATE TABLE is:

CREATE TABLE tablename (name_of_col1 type_of_col1, name_of_col2 type_of_col2...);

The column names and types are the ones listed in the logger documentation. You may want to consult the MySQL reference manual for extended information about CREATE TABLE.
Au Nom de Son Auguste Majesté,

Lauwenmark Kadensanni Hento Akkendrittae
Général en Chef de l'Armée de l'Ouest.
Post Reply