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 
 
Problems with the current version of nwnx_functions.nss

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
MetaPhaze



Joined: 03 Jun 2007
Posts: 30
Location: USA

PostPosted: Sun Jan 03, 2010 0:13    Post subject: Problems with the current version of nwnx_functions.nss Reply with quote

I can't seem to use the functions GetFirstArea(); and GetNextArea();

They do not seem to do anything.

here is what nwn says when i try to use them.

./loop.sh

NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f41b4, new SetString() at 0xb8038cc8
NWNX2lib: org GetObj() at 0x81f40bc, new GetObj() at 0xb8038707
* Parsing configuration...
NWN Extender v2.7.1-dev
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007-2009 by virusman and Acaos
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Searching for signatures...
* Loading modules...
HASHSET plugin registered.
FIXES plugin registered.
LETO plugin registered.
AREAS plugin registered.
FUNCTIONS plugin registered.
MNX plugin registered.
TMI plugin registered.
EVENTS plugin registered.
ODBC plugin registered.
PROFILER plugin registered.
RESMAN plugin registered.
RESETPLUGIN plugin registered.
CHAT plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "mystrixonline_com_v3"....................................................................................................................................................................................................................................................................................................................................................................................................................................................
Server: Module loaded
INIT(S): valid ret=0x082041ec
INIT(S): reset ignored ret=0x082041ec
INIT(S): reset ignored ret=0x082041ec
FAILED: NWNX!INIT(O) has not been initialized.

any help would be appreciated... thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sun Jan 03, 2010 0:17    Post subject: Reply with quote

Add
Code:
GetLocalObject(GetModule(), "NWNX!INIT");
To your OnModuleLoad script.
_________________
In Soviet Russia, NWN plays you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
MetaPhaze



Joined: 03 Jun 2007
Posts: 30
Location: USA

PostPosted: Sun Jan 03, 2010 0:26    Post subject: Reply with quote

GetLocalObject(); will return an object, do i need this object?

should I

object oObject = GetLocalObject(GetModule(), "NWNX!INIT"); ?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
MetaPhaze



Joined: 03 Jun 2007
Posts: 30
Location: USA

PostPosted: Sun Jan 03, 2010 0:39    Post subject: Reply with quote

thanks virus man that worked well
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules 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