logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
APS/NWNX ODBC2

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support
View previous topic :: View next topic  
Author Message
Jannet



Joined: 22 Sep 2009
Posts: 1

PostPosted: Tue Sep 22, 2009 18:22    Post subject: APS/NWNX ODBC2 Reply with quote

APS/NWNX ODBC2 where can i find required files and config?

http://www.nwnx.org/index.php?id=doc_odbc2

Code:
Copy the file nwnx_odbc.dll to you NWN folder, and aps_demo.mod to your NWN module folder.


Where can i get it?
Code:

3.b. Configuration for MySQL database

Below the various parameters are listed which are required in the configuration file nwnx.ini:

    * Server: Either the name or IP address of the database system which you are using. Most of the time this will be your local machine: 'localhost'.
    * User/pwd: This is the username and password of the user which will be used to connect to the database. For security reasons it is best to create a special user which has only access to the nwn database.
    * DB: The database name.

An example configuration file is displayed below. In this configuration you tell the plugin to use the direct mysql connection to the database nwn. This database resides on the localhost (same machine as NWN runs) and should be connected with user 'your_user' and password 'your_pwd'.

   [ODBC2]
   source = mysql
   server = localhost
   user   = your_user
   pwd    = your_pwd
   db     = nwn


The thing i am acually looking at looks more like:

Code:
# NWNX4 configuration file
# These are the default values for NWNX4.

# Path to NWN2 installation (where nwn2server.exe is located)
# no default. You really have to specify it, currently.
nwn2 = E:\game\NWN2

# You can override the tempory path NWN2 uses
# This is where NWN2 will put its logfiles (among other files)
# no default
# nwn2temp = D:\Projekte\NWNX4svn\bin\dist

# Command line parameters to start the server with
# default: no parameters
parameters = -module qq

# Should NWNX restart the server if the server process has gone away ?
# 0 = do not restart the server
# 1 = restart the server
# default: 1
processWatchdog = 1...


Where should i put those?
Back to top
View user's profile Send private message
utimagus



Joined: 22 Jun 2007
Posts: 20

PostPosted: Sat Oct 24, 2009 4:40    Post subject: Reply with quote

don't quote me on this, but the documentation says the odbc is for nwnx2, not nwnx4. So my guess is you are out of luck.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sun Oct 25, 2009 0:53    Post subject: Reply with quote

NWNX2 is for NWN
NWNX4 is for NWN2

Which version of NWN do you want to work with ?
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group