View previous topic :: View next topic |
Author |
Message |
Comper
Joined: 21 Jan 2005 Posts: 2
|
Posted: Fri Jan 21, 2005 19:00 Post subject: NWNX2 + 1.65 |
|
|
NWNX2 (Linux version) work with NWN ver 1.65?
ODBC must have for work with MySQL in Linux?
Sorry, my english is bad. |
|
Back to top |
|
|
redils
Joined: 13 Jan 2005 Posts: 27
|
Posted: Fri Jan 21, 2005 20:20 Post subject: |
|
|
I use it, and it works fine. No bug with 1.65. Concerning ODBC, it isn't used on linux version. Nwnx(linux version) connect directly to mysql database without using unix_odbc. |
|
Back to top |
|
|
Comper
Joined: 21 Jan 2005 Posts: 2
|
Posted: Fri Jan 21, 2005 20:45 Post subject: |
|
|
This http://nwnx.org/uploads/media/linnwnx2-2.5.3-rc1.tar.gz version work with 1.65?
Code: | SetLocalString(oMod, "NWNX!INIT", "1"); |
APS_Demo (Windows version) not contains this string. If module start on Linux this line should be at loading module? |
|
Back to top |
|
|
Parsec
Joined: 06 Jan 2005 Posts: 7
|
Posted: Sat Jan 22, 2005 2:19 Post subject: |
|
|
Yes
Quote: |
Code: | SetLocalString(oMod, "NWNX!INIT", "1"); |
APS_Demo (Windows version) not contains this string. If module start on Linux this line should be at loading module? |
Yes the very first line after "object oMod = GetModule();" in your OnModuleLoad event script. |
|
Back to top |
|
|
Luusah
Joined: 26 Jan 2005 Posts: 1 Location: Germany
|
Posted: Wed Jan 26, 2005 18:23 Post subject: |
|
|
Hi there,
I installed a fresh NWN 1.65 server and downloaded the rc1 of nwnx2 for Linux. Compiling and installing happened without any trouble.
But when I now start the server I get an error
Module Loaded
INIT: valid ret=0x081f42fc
* Library ODBC!SPACER does not exist
My mod's onload event looks like this:
Code: |
// Name : Avlis Persistence System OnModuleLoad
// Purpose : Initialize APS on module load event
// Authors : Ingmar Stieger
// Modified : January 27, 2003
// This file is licensed under the terms of the
// GNU GENERAL PUBLIC LICENSE (GPL) Version 2
#include "aps_include"
void main()
{
object oMod = GetModule();
SetLocalString(oMod, "NWNX!INIT", "1");
// Init placeholders for ODBC gateway
SQLInit();
}
|
Can someone help me out why this is not workin?
Edit: The OS is Redhat 9.0 |
|
Back to top |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Wed Jan 26, 2005 21:08 Post subject: |
|
|
Are you sure that you have the nwnx_mysql.so file in the neverwinter nights directory? That file is the plugin that actually does the job. |
|
Back to top |
|
|
|