View previous topic :: View next topic |
Author |
Message |
Faendalimas
Joined: 15 Apr 2005 Posts: 1 Location: Canberra, Australia
|
Posted: Sun Apr 17, 2005 10:25 Post subject: Would appreciate seeing a working module please. |
|
|
Hi,
I would be keen to see (if someone is willing) a working full size pw module with the NWNX database working properly.
No matter how we build it we are getting a failure to initialise NWNX! and we have tried many approaches now.
If someone would be willing to send me at least an erf of their working OnLoad script and the includes so I can see what you have done I would appreciate it.
Please rest assured I won't copy your module, just want to see how you got this feature working properly as I would really prefer to stop using the Bioware database.
Cheers, Faen _________________ Sojourney - Menzoberranzan
Project Assistant Manager
Lil waela lueth waela ragar brorna - luth wund nind, kyorlin eighinn!! |
|
Back to top |
|
|
DarkstarsDad
Joined: 17 Jan 2005 Posts: 59 Location: Overland Park, Kansas USA
|
Posted: Wed Apr 20, 2005 19:27 Post subject: nwnx failed |
|
|
Did you try to run the demo mod first and create the tables in data base? what data base are you useing?
if you post the log file we could try to help talk you thru it. here is my onload script.
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"
#include "_string"
#include "buu_kbbs_include"
void main()
{
// THIS IS REQUIRED ON LINUX SERVRS
SetLocalString((GetModule()),"NWNX!INIT","1");
//This starts the nwnx2 data conection
SQLInit();
//This starts the kbbs bullitin board on this mod
InitKbbsModule();
}
|
I believe this can help but I am willing to send you the whole mod It is just a little test mod i use but it has some basic persistant functions on it if you would like to see it (on_enter player logging and a persistant bullitin board)
It uses MySql data base if you want I can send you the mod. PM me pls. _________________ Just because you think you can't. Is the best reason to try it anyway. |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Sat Apr 23, 2005 22:22 Post subject: |
|
|
make sure you have the right version of aps_include.
I had problems initializing before and importing the newest version of aps_include scripts solved the problem. |
|
Back to top |
|
|
|