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 Controller Startup Issue

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



Joined: 12 Mar 2007
Posts: 7

PostPosted: Mon Mar 12, 2007 10:37    Post subject: NWNX4 Controller Startup Issue Reply with quote

I set up NWNX4 for my NWN2 server according to the instructions in the tutorial by Ellesande. When I double-click on the NWNX_Controller shortcut (with -interactive), the command prompt opens and executes the Server Controller but the server console never comes up. Any clues?

nwnx.ini (minus comments)
==================
nwn2=C:\Program Files\NWN2
nwn2temp = C:\Program Files\NWN2\temp
parameters = -module Port_Hope

None of the rest was changed from install. Is there an issue with the spaces in the two paths?

xp_mysql.ini
========
class=SQL
server=localhost
user=nw2user
password=nw2user
schema=nwn2
loglevel=2

I've checked for log files and only nwnx_controller.txt exists. It says:

NWN Extender 4 Server Controller v.0.0.7
(c) 2007 by Ingmar Stieger (Papillon)
Visit us at http://www.nwnx.org

That's it.


Last edited by rivenbarkc on Tue Mar 13, 2007 22:04; edited 1 time in total
Back to top
View user's profile Send private message
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Tue Mar 13, 2007 0:00    Post subject: Re: NWNX4 Controller Startup Issue Reply with quote

rivenbarkc wrote:
I set up NWNX4 for my NWN2 server according to the instructions in the tutorial by Ellesande. When I double-click on the NWNX_Controller shortcut (with -interactive), the command prompt opens and executes the Server Controller but the server console never comes up. Any clues?

nwnx.ini (minus comments)
==================
nwn2=C:\Program Files\NWN2
nwn2temp = C:\Program Files\NWN2\temp
parameters -module Port_Hope

None of the rest was changed from install. Is there an issue with the spaces in the two paths?

xp_mysql.ini
========
class=SQLoff
server=localhost
user=nw2user
password=nw2user
schema=nwn2
loglevel=2

I've checked for log files and only nwnx_controller.txt exists. It says:

NWN Extender 4 Server Controller v.0.0.7
(c) 2007 by Ingmar Stieger (Papillon)
Visit us at http://www.nwnx.org

That's it.

Turn MySQL on ...

xp_mysql.ini
========
class=SQL

You should also check that you're not running SQLite as well.


Cheers
Gryphyn
Back to top
View user's profile Send private message
rivenbarkc



Joined: 12 Mar 2007
Posts: 7

PostPosted: Tue Mar 13, 2007 16:37    Post subject: Reply with quote

Totally missed that, thanks. But the problem still exists. Still no server startup. I can start the server manually with the module and it works fine. Just not with the NWNX_Controller.
Back to top
View user's profile Send private message
rivenbarkc



Joined: 12 Mar 2007
Posts: 7

PostPosted: Tue Mar 13, 2007 17:13    Post subject: Reply with quote

UPDATE

I am running NWNX4 as a service but with the "Allow service to interact with desktop" checked. Do you still load the module using the NWNX4_Controller.exe or some other way?
Back to top
View user's profile Send private message
rivenbarkc



Joined: 12 Mar 2007
Posts: 7

PostPosted: Tue Mar 13, 2007 19:54    Post subject: Reply with quote

I tried using the NWNX4_GUI.exe with no results either. Even tried turning off the service mode of NWNX and trying to run from command prompt.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue Mar 13, 2007 20:47    Post subject: Reply with quote

Quote:
parameters -module Port_Hope


Is that what your ini file looks like ? There is an equal sign missing between "parameters" and "-module...".

If you run NWNX as a service, you will not need the controller. With the checkbox enabled, you should see the server dialog on the desktop, as you would like if you had started it normally.

But please try to get it to run without service mode, first.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
rivenbarkc



Joined: 12 Mar 2007
Posts: 7

PostPosted: Tue Mar 13, 2007 22:03    Post subject: Reply with quote

THe equals sign is there on the server. It is my development server so it is not online and I was transfering the info manually. Just missed the equals sign when posting.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue Mar 20, 2007 21:24    Post subject: Reply with quote

What does the controller.exe window look like ? Could you please paste the text from the cmd window ?
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lehel



Joined: 11 Apr 2007
Posts: 4

PostPosted: Wed Apr 11, 2007 12:52    Post subject: same thing Reply with quote

I"m getting the same problem. neither the gui nor the controller is bringing up the server for me.

The controller's last line just says:

NWNX will now continue to run within NWNServer.
Back to top
View user's profile Send private message
Lehel



Joined: 11 Apr 2007
Posts: 4

PostPosted: Sun Apr 15, 2007 5:13    Post subject: Reply with quote

nm...found my issue...i was missing a dll Sad
Back to top
View user's profile Send private message
rivenbarkc



Joined: 12 Mar 2007
Posts: 7

PostPosted: Thu Apr 19, 2007 17:00    Post subject: Original Issue Fixed Reply with quote

The original issue was fixed. One thing I noticed was that the NWNX Controller when run in service mode (and maybe GUI) doesn't see the module if it's in your My Documents tree instead of the NWN2 Install tree. I guess there's no checking for the "user" modules.

I am getting an issue in the Demo modue though. With the service running and the NWNServer properly initializing with the correct module, when I go in-game, the demo module says that NWN wasn't installed. I have MySQL installed with a "nwn2" database and a NWN2user login on the same machine as NWNX4.

This even occurs if I use the sa user login for MySQL. Here are my ini files:

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

# MySQL server connection parameters
server = localhost
user = NWN2User
password = nwn2user
schema = nwn2

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


nwnx.ini (minus comments and such)
========================
nwn2 = C:\Program Files\NWN2

nwn2temp = C:\Program Files\NWN2\Logs

parameters = -servername "Rivenbark" -module NWNX4Demo -maxclients 4 -maxlevel 40 -pauseandplay 1 -pvp 0 -oneparty 0 -publicserver 0 -ilr 0

processWatchdog = 1

gamespyWatchdog = 0

gamespyPort = 5121

gamespyInterval = 30

gamespyTolerance = 4

restartDelay = 5

noGPFaultErrorBox = 1
Back to top
View user's profile Send private message
rivenbarkc



Joined: 12 Mar 2007
Posts: 7

PostPosted: Thu Apr 19, 2007 18:27    Post subject: PROBLEM FIXED Reply with quote

I was missing the dll in the NWN2 directory. Forgot to put it back after I reinstalled NWN2 (I installed patch 1.05 before they pulled it).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows 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