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 
 
Would appreciate seeing a working module please.

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
Faendalimas



Joined: 15 Apr 2005
Posts: 1
Location: Canberra, Australia

PostPosted: Sun Apr 17, 2005 10:25    Post subject: Would appreciate seeing a working module please. Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
DarkstarsDad



Joined: 17 Jan 2005
Posts: 59
Location: Overland Park, Kansas USA

PostPosted: Wed Apr 20, 2005 19:27    Post subject: nwnx failed Reply with quote

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
View user's profile Send private message
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Sat Apr 23, 2005 22:22    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux 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