View previous topic :: View next topic |
Author |
Message |
MetaPhaze
Joined: 03 Jun 2007 Posts: 30 Location: USA
|
Posted: Sun Jan 03, 2010 0:13 Post subject: Problems with the current version of nwnx_functions.nss |
|
|
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 |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Jan 03, 2010 0:17 Post subject: |
|
|
Add
Code: | GetLocalObject(GetModule(), "NWNX!INIT"); | To your OnModuleLoad script. _________________ In Soviet Russia, NWN plays you! |
|
Back to top |
|
|
MetaPhaze
Joined: 03 Jun 2007 Posts: 30 Location: USA
|
Posted: Sun Jan 03, 2010 0:26 Post subject: |
|
|
GetLocalObject(); will return an object, do i need this object?
should I
object oObject = GetLocalObject(GetModule(), "NWNX!INIT"); ? |
|
Back to top |
|
|
MetaPhaze
Joined: 03 Jun 2007 Posts: 30 Location: USA
|
Posted: Sun Jan 03, 2010 0:39 Post subject: |
|
|
thanks virus man that worked well |
|
Back to top |
|
|
|