View previous topic :: View next topic |
Author |
Message |
Jannet
Joined: 22 Sep 2009 Posts: 1
|
Posted: Tue Sep 22, 2009 18:22 Post subject: APS/NWNX ODBC2 |
|
|
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 |
|
|
utimagus
Joined: 22 Jun 2007 Posts: 20
|
Posted: Sat Oct 24, 2009 4:40 Post subject: |
|
|
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 |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun Oct 25, 2009 0:53 Post subject: |
|
|
NWNX2 is for NWN
NWNX4 is for NWN2
Which version of NWN do you want to work with ? _________________ Papillon |
|
Back to top |
|
|
|