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 
 
Setup help

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



Joined: 25 Jul 2010
Posts: 13

PostPosted: Mon Jul 26, 2010 3:10    Post subject: Setup help Reply with quote

Hi I'm super new at all this. I have successfully downloaded, compiled and moved the appropriate files to my nwnserver folder. I have edited the nwnx.ini with my mysql settings and have successfully ran the aps demo and it seems to be working. Now when I go to load my module i am getting errors
Code:
NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f41b4, new SetString() at 0xb77bcb1c
NWNX2lib: org GetObj() at 0x81f40bc, new GetObj() at 0xb77bc590
* 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.
FUNCTIONS plugin registered.
FUNCS plugin registered.
AREAS plugin registered.
NWNX Ruby Initialized
RUBY plugin registered.
RESETPLUGIN plugin registered.
LETO plugin registered.
EVENTS plugin registered.
STRUCTS plugin registered.
RESMAN plugin registered.
TWEAKS plugin registered.
WEAPONS plugin registered.
DEFENSES plugin registered.
ODBC plugin registered.
FIXES plugin registered.
MNX plugin registered.
PROFILER plugin registered.
CHAT plugin registered.
TMI plugin registered.
SPELLS plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

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

Server:   not understood
Usage:
nwserver [-module <name>] [-load <slot#> <savename> <module>] [-maxclients #]
[-minlevel #] [-maxlevel #] [-pauseandplay 0/1] [-pvp 0/1/2] [-servervault 0/1]
[-elc 0/1] [-ilr 0/1] [-gametype #] [-oneparty 0/1] [-difficulty #]
[-autosaveinterval #] [-playerpassword <password>] [-dmpassword <password>]
[-adminpassword <password>] [-servername <name>] [-publicserver 0/1]
[-reloadwhenempty 0/1] [-port #] [-quiet] [-interactive] 
 
-module <name>
      Loads and runs the specified module
-load <slot#> 
      Loads and runs the specified saved game
-maxclients #
      Set the maximum number of connections to the game server
-minlevel #
      Set the minimum character level required by the server
-maxlevel #
      Set the maximum character level allowed by the server
-pauseandplay 0/1
      0 = game can only be paused by DM, 1 = game can by paused by players
-pvp 0/1
      0 = none, 1 = party, 2 = full
-servervault 0/1
      0 = local characters only. 1 = server characters only
-elc 0/1
      0 = don't enforce legal characters, 1 = do enforce legal characters
-ilr 0/1
      0 = don't enforce item level restrictions, 1 = do enforce item level
      restrictions
-gametype #
      Set which game room to post the game to (if game is posted to Internet)
-oneparty 0/1
      0 = allow only one party, 1 = allow multiple parties
-difficulty #
      1 = easy, 2 = normal, 3 = D&D hardcore, 4 = very difficult
-autosaveinterval #
      Set how frequently (in minutes) to autosave.  0 disables autosave.
-playerpassword <password>
      Set the password required by players to join the game.
-dmpassword <password>
      Set the password required by DMs to DM the game.
-adminpassword <password>
      Set the password required to remotely administer the game.  Currently
      unused.
-servername <name>
      Set the name this server appears as in the mulitplayer game listing
-publicserver 0/1
      0 = do not list server with the matching service. 1 = list server with 
      the matching service.
-reloadwhenempty 0/1
      0 = module state is persistant as long as server is running, 1 = module
      state is reset when the server becomes empty
-port #
      Specify the port to listen on for the server.
-quiet
      Run without printing to stdout or reading from stdin, will run in 
      background.
-interactive
      Prints to stdout and reads from stdin, will not run while in background.
Server: Exiting...
NWNX2lib: Server exiting.
./nwnstartup.sh: 18: -servervault: not found


my nwnstartup.sh code is
Code:
#!/bin/sh

export LD_PRELOAD=./nwnx2.so

./nwserver \
        -publicserver 1 \
        -servername "Aladorn [CEP2.3]" \
        -dmpassword \
        -oneparty 0 \
        -pvp 0 \
        -elc 0 \
        -reloadwhenempty 0 \
        -module Ch1_A_Call_For_Explorers_v14 \
        -servervault 1 \
        -maxlevel 40 \
        -gametype 3 \
        -autosaveinterval 10 \
        "$@"

~                                                                               
~                                                                               
~                                                                               
~                                                                               
"nwnstartup.sh" 19 lines, 309 characters


This looks like it should be an easy fix but I have searched the forums for documentation on configuring nwnstartup.sh but I still can't figure it out.
Thanks for any help you can give me

Mal
Back to top
View user's profile Send private message
Lokey



Joined: 02 Jan 2005
Posts: 158

PostPosted: Mon Jul 26, 2010 11:28    Post subject: Reply with quote

Nothing jumps out, try quotes around module name even though it doesn't contain spaces.

(Ok funcs and functions jumps out, is there something in functions that funcs doesn't have?)
_________________
Neversummer PW NWNx powered mayhem Wink
Back to top
View user's profile Send private message
PlasmaJohn



Joined: 04 Mar 2005
Posts: 70
Location: The Garage

PostPosted: Mon Jul 26, 2010 16:25    Post subject: Re: Setup help Reply with quote

Mal wrote:
my nwnstartup.sh code is ...


The -dmpassword flag needs an argument, even "". But if you do that no dm's can log in. (or maybe you blanked it for posting)

Make sure that the backslashes ( \ ) are the last character on the line and that there are no trailing spaces.

Another potential pitfall are the square brackets around CEP2.3. Try the following:
Code:

        -servername "Aladorn \[CEP2.3\]" \
Back to top
View user's profile Send private message
Mal



Joined: 25 Jul 2010
Posts: 13

PostPosted: Mon Jul 26, 2010 23:11    Post subject: Reply with quote

Thanks for the ideas, I will try them out tonite and report what I found.

-Mal
Back to top
View user's profile Send private message
Mal



Joined: 25 Jul 2010
Posts: 13

PostPosted: Tue Jul 27, 2010 11:48    Post subject: Reply with quote

Thanks for the help. There was an extra space beyond one of the slashes. Good work.

-Mal
Back to top
View user's profile Send private message
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