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 
 
NWNX4 Installation Probelm

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support
View previous topic :: View next topic  
Author Message
DesGroup2010



Joined: 23 Jan 2010
Posts: 4

PostPosted: Sat Jan 23, 2010 18:46    Post subject: NWNX4 Installation Probelm Reply with quote

Hey Everyone!

I have been trying to get the NWNX4 to work properly for the last 6 hours but there seems to be a problem....

When i load the module on NWN2 i get a message in the message box in the game "NWNX is not Installed. This module cannot be loaded" or something like that...

Here are my config files contents:


nwnx.ini

# NWNX4 configuration file
# These are the default values for NWNX4.

# Path to NWN2 installation (where nwn2server.exe is located)
# no default. You really have to specify it, currently.
nwn2 = C:\Program Files\Atari\Neverwinter Nights 2

# You can override the tempory path NWN2 uses
# This is where NWN2 will put its logfiles (among other files)
# no default
;nwn2temp = C:\nwnx4

# Command line parameters to start the server with
# default: no parameters
parameters = -module nwnx4demo

# Should NWNX restart the server if the server process has gone away ?
# 0 = do not restart the server
# 1 = restart the server
# default: 1
processWatchdog = 1

# Should NWNX restart the server if it locks up ?
# This can happen if the server is still running, but does not react to gamespy queries any more.
# 0 = do not query the server
# 1 = query the server
# default: 1
gamespyWatchdog = 1

# If you activate the gamespy watchdog, you need to specify the port your NWN2 server is running on
# default: 5151
gamespyPort = 5121

# How often should the gamespy watchdog query the server ?
# Note: The server will be restarted if it does not react to a certain number of
# queries in a row. See setting gamespyTolerance below.
# default: every 30 seconds
gamespyInterval = 30

# How often may the server not react to gamespy queries ?
# Note: The server will be restarted if it does not react this many queries in a row
# Example: gamespyInterval = 30 and gamespyTolerance = 4 means that the server will
# be restarted if it does not react within 2 minutes
# default: 4 queries
gamespyTolerance = 4

# If the server crashes, how long should NWNX wait before it restarts the server ?
# Value = seconds to wait
# default: 5 seconds
restartDelay = 5

# Should NWNX disable the general protection fault error dialog ?
# Note: The watchdogs may fail to restart the server properly if this dialog stays open
# 0 = do not disable the GPFault dialog
# 1 = disable the GPFault dialog
# default: 1
noGPFaultErrorBox = 1

# If you want NWNX to execute a CMD or BAT file before restarting the server after
# a crash, specify it's name here. If you leave this setting empty, no program
# will be run. NWNX will wait for the program to finish before it continues.
# no default
# restartCmd = nwnx_restart.cmd


sqlite.ini


# The function class that is provided by this plugin
class = SQL

# The database file that the SQLite engines stores its data in
file = C:\nwnx4\sqlite.db

# How much information should be written to xp_sqlite.txt:
# 0=nothing, 1=only errors, 2=everything
loglevel = 1



mysql.ini

# The function class that is provided by this plugin
class = SQL

# MySQL server connection parameters
server = localhost
user = nwn
password = nwn
schema = nwnx

# How much information should be written to xp_mysql.txt:
# 0=nothing, 1=only errors, 2=everything
loglevel = 2

---------------------
I also tried to change -module to -moduledir but that didnt also work..


Plz Plz Plz help!!!!!!
Back to top
View user's profile Send private message
MasterChanger



Joined: 26 Feb 2010
Posts: 5

PostPosted: Fri Feb 26, 2010 2:44    Post subject: Reply with quote

Hi, I'm new to using NWNX and I'm having installation problems as well.

I've set up the folders correctly as far as I can tell and the log files seem to be right.

NWNX.txt:
Quote:
* Loading plugins...
* Loading plugin xp_mysql.dll: Successfully registered as class: SQLoff
* Loading plugin xp_sqlite.dll: Successfully registered as class: SQL
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* General protection fault error dialog disabled.
* NWNX4 activated.


xp_sqlite.txt:
Quote:
* Log level set to 2 (everything)
* SQLite database file is C:\NWNX4\nwnx4\sqlite.db
* Plugin initialized.
* Registering under function class SQL


However, when I load the NWNX4 Demo mod I get the message: "NWNX is not installed. This module will not work."

Since there's no MadCHook.dll to move anymore, it seems like installation should be very straightforward: Extract the files, configure the .ini's, and start the GUI. I think I followed the new instructions here. Am I missing something?
Back to top
View user's profile Send private message
MasterChanger



Joined: 26 Feb 2010
Posts: 5

PostPosted: Mon Mar 01, 2010 0:00    Post subject: Reply with quote

Maybe I'm not understanding how to "login" correctly. Once I get the "Running; login at will" from the NWServer window, do I just load up the NWN2 client, choose single player->new game->nwnx4demo or whatever?

I noticed when I did it that way that the number of players displayed in the NWServer window did not increase. Alternatively I tried logging into that module as a new multiplayer game (it just hangs) and as a DM (no DM permission) but no progress.

However, when I logged in to it through Multiplayer it does list me as the one user on the NWServer screen. Since I get the "server found, attempting to login" screen in NWN2, is the problem that I can't host a server from my IP due to ISP blockage? I never intended to actually host a server, I'm just trying to test NWNX4 locally for the time being...

Edit: OK, now I understand that to connect to the server I just login via the multiplayer->join internet game...but I think my ISP may be blocking that port. Sad Any way to test NWNX4 locally at all?
Back to top
View user's profile Send private message
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Mon Mar 01, 2010 5:30    Post subject: Reply with quote

You can use 127.0.0.1 to connect to your local machine. I've never seen an ISP block port 5121 specifically. It's somewhat more likely that you have that port firewalled locally. Check your Windows firewall settings and such.
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
MasterChanger



Joined: 26 Feb 2010
Posts: 5

PostPosted: Mon Mar 01, 2010 9:37    Post subject: Reply with quote

Ah, I had to learn about port-forwarding. Now it's working out nicely. For others as clueless as I am, allow me to recommend the Multiplayer Hosting and Connection Guide.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> 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