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 
 
NWNX VaultSTER ALPHA
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
twinj



Joined: 11 Feb 2005
Posts: 16

PostPosted: Mon Feb 14, 2005 2:39    Post subject: Reply with quote

Ok. Sad Thanks for the help. Smile Youve been rather quick on the draw its has helped me a lot.

I realised you hadn't done the PING idea.

Vaultser works great by the way. Will be most helpful. It sometimes stops working if the server is reset though. Works again if the module is reloaded with NWNX. Maybe, the module could be reloaded with NWServer as well? Dunno if thats possible. Thatd be NWNX functionality though wouldnt it?

NWN Server crashes if you have Seemless portalling turned off via the activate portal function, BIOWARE most likely. These are my experiences with vaultster Wink.

I'll add in PING myself. As it will tell me to not go on with random areas/encounters/travelling mode in the game. Dont want to waste the players time getting returned to the point they started at. and as soon as I get more XP in c++ and a copy of Visuall C++. It will help me, for now Ill just use the SEND! job and not activate the portal. hehe.

Bravo and thanks again.

Monezz, id help ya out but I've been using windows version. Sad
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Mon Feb 14, 2005 9:08    Post subject: Reply with quote

Monezz, my entry that does work in the nwnx2.ini file is:

[Vaultster]
port=5100
maxclients=10
vault=/home/nwn/servervault
cryptokey=key
password=pwd
validateclient=1
startserver=1

[Link]
count=1
server1=www.anotherserver.com
Back to top
View user's profile Send private message Visit poster's website
teleri



Joined: 28 Jan 2005
Posts: 21

PostPosted: Thu Feb 17, 2005 1:32    Post subject: Reply with quote

JeroenB wrote:
Monezz, my entry that does work in the nwnx2.ini file is:

[Vaultster]
port=5100
maxclients=10
vault=/home/nwn/servervault
key=key
password=pwd
validateclient=1
startserver=1

[Link]
count=1
server1=www.anotherserver.com


Using this setup in the nwnx2.ini file on my linux server it inits fine except it shows that there are no servers connected. Nor does the other server have any servers avalible.
Back to top
View user's profile Send private message
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Thu Feb 17, 2005 15:52    Post subject: Reply with quote

config file works for me now, using jeroen's setup.
I now run into different troubles for which I made a seperate post in the linux specific forum.
Its a bit difficult to keep track of all the problems and solutions in one big post.
Back to top
View user's profile Send private message Visit poster's website
teleri



Joined: 28 Jan 2005
Posts: 21

PostPosted: Fri Feb 18, 2005 5:06    Post subject: Reply with quote

teleri wrote:

My nwnx2.ini contains this

[Vaultster]
Port = 5100
Path = /home/nwn/servervault/
Key = key
Password = password
Startserver = 1
Validateclient = 1

[Link]
Count = 2
Server1 = nnn.nnn.nnn.nnn (a server by IP address)
Server2 = remoteserver.com


Using this setup in the nwnx2.ini file on my linux server it inits fine except it shows that there are no servers connected. Nor does the other server have any servers avalible.


Below is the connection data I get

NWNX2 Vaultster version 0.2.1 for Linux.
Copyright 2004 (C) Jeroen Broekhuizen
o Loading in 0 known servers.
o Server started
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Fri Feb 18, 2005 10:20    Post subject: Reply with quote

The latest Windows version doesn't have the two sections as explained here. All the options are now in the Vaultster section.

btw. My executes for the wrong filename in the documentation. Ofcourse this should be in the nwnx.ini file (not the nwnx2.ini file).
Back to top
View user's profile Send private message Visit poster's website
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Fri Feb 18, 2005 10:23    Post subject: Reply with quote

teleri: You might try to use lowercase characters. Also removing the spaces around the '=' char might solve the problem:

[Link]
count=2
server1=192.245.23.233
server2=www.some.url.org
Back to top
View user's profile Send private message Visit poster's website
teleri



Joined: 28 Jan 2005
Posts: 21

PostPosted: Sat Feb 19, 2005 4:12    Post subject: Reply with quote

JeroenB wrote:
teleri: You might try to use lowercase characters. Also removing the spaces around the '=' char might solve the problem:

[Link]
count=2
server1=192.245.23.233
server2=www.some.url.org


Done no change

NWNX2 Vaultster version 0.2.1 for Linux.
Copyright 2004 (C) Jeroen Broekhuizen
o Loading in 0 known servers.
o Server started

My nwnx2.ini contains this

[vaultster]
Port=5100
Path=/home/nwn/servervault/
Key=key
Password=password
Startserver=1
Validateclient=1

[link]
Count=2
Server1=nnn.nnn.nnn.nnn (a server by IP address)
Server2=remoteserver.com

With all the sections lowercase I recive this:

NWNX2 Vaultster version 0.2.1 for Linux.
Copyright 2004 (C) Jeroen Broekhuizen
o Could not find configuration section!
o Server started


JeroenB wrote:
The latest Windows version doesn't have the two sections as explained here. All the options are now in the Vaultster section.

btw. My executes for the wrong filename in the documentation. Ofcourse this should be in the nwnx.ini file (not the nwnx2.ini file).


Odly enough using the nwnx2.ini works but the nwnx.ini does not can you think of any reason for this?

You can probably find me in the Avlis or Copap channels in IRC. (:

Cheers,
teleri
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Sat Feb 19, 2005 15:54    Post subject: Reply with quote

Yes, it seems you are using the Linux version of Vaultster. Linux does use the nwnx2.ini file, which caused my mistake in the documentation

Darn.. now I just think that the documentation is wrong again Wink. Windows uses the nwnx.ini file and Linux the nwnx2.ini. We might want to upgrade the Windows version to also use a nwnx2.ini (caution! this is currently not the case, just some thoughts)
Back to top
View user's profile Send private message Visit poster's website
teleri



Joined: 28 Jan 2005
Posts: 21

PostPosted: Sat Feb 19, 2005 22:08    Post subject: Reply with quote

JeroenB wrote:
Yes, it seems you are using the Linux version of Vaultster. Linux does use the nwnx2.ini file, which caused my mistake in the documentation

Darn.. now I just think that the documentation is wrong again Wink. Windows uses the nwnx.ini file and Linux the nwnx2.ini. We might want to upgrade the Windows version to also use a nwnx2.ini (caution! this is currently not the case, just some thoughts)


Using a consistant config file would be good (: as would having the config sections be consistant between Win and Linux

Do you have any idea why I keep showing "o Loading in 0 known servers. " this leads me to believe that it is not loading in either of the servers in my config.
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Mon Feb 21, 2005 8:58    Post subject: Reply with quote

Yes, if it sais 0 are loaded, then 0 are loaded Sad.
Can it be that the program has rights to read the file. I will have to look in the sources to find out what the problem is. Could you please once more list your configuration and filename of the configuration file you have this in?
Back to top
View user's profile Send private message Visit poster's website
teleri



Joined: 28 Jan 2005
Posts: 21

PostPosted: Tue Feb 22, 2005 8:28    Post subject: Reply with quote

JeroenB wrote:
Yes, if it sais 0 are loaded, then 0 are loaded Sad.
Can it be that the program has rights to read the file. I will have to look in the sources to find out what the problem is. Could you please once more list your configuration and filename of the configuration file you have this in?


Config file name is nwnx2.ini

Just to make it more intereting one of the server I am connecting to connects fine to me (: from a windows system.

Double checked my ports I have 5100 and 5121-5125 open for traffic.

here is the ls -l on the pertenant folders and files
Code:
drwxr-xr-x   2 root root     4096 Jan 27 23:27 logs.0/
-rw-r--r--   1 root root      665 Feb 19 00:52 nwnplayer.ini
-rwxr-xr-x   1 root root      355 Feb  9 00:26 nwnstartup.sh*
-rwxr-xr-x   1 root root      692 Feb 18 18:12 nwnx2.ini*
-rwxr-xr-x   1 root root    99686 Jan 27 23:15 nwnx2.so*
-rwxr-xr-x   1 root root    15749 Jan 27 23:15 nwnx_functions.so*
-rwxr-xr-x   1 root root    80023 Jan 27 23:15 nwnx_hashset.so*
-rwxr-xr-x   1 root root    59273 Jan 27 23:15 nwnx_mnx.so*
-rwxr-xr-x   1 root root    41905 Jan 27 23:15 nwnx_odbc.so*
-rwxr-xr-x   1 root root   124923 Jan 12 13:57 nwnx_vaultster.so*


Config file
Code:
[Vaultster]
Port=5100
Path=/usr/local/share/nwn/servervault/
Key=key
Password=password
Startserver=1
Validateclient=1

[Link]
Count=2
Server1=nnn.nnn.nnn.nnn (by IP address)
Server2=otherserver.com (by DNS)


The output is as fillows
Code:
NWNX2 Vaultster version 0.2.1 for Linux.
Copyright 2004 (C) Jeroen Broekhuizen
o Loading in 0 known servers.
o Server started


Hope this is enough data to start with.

ohh the service is running in a Chroot jail (: if that matters.
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Tue Feb 22, 2005 10:17    Post subject: Reply with quote

Erm, I am not so very comfortable with Linux? But what is exactly a chroot jail environment?

I will have a try at my system and see what happens.

EDIT:
Quote:
[Link]
Count=2
Server1=nnn.nnn.nnn.nnn (by IP address)
Server2=otherserver.com (by DNS)


When I convert this in:
[Link]
count=2
server1=nnn.nnn.nnn.nnn
server2=otherserver.com

Then it works. So, please try that again, as it should work then.[/code]
Back to top
View user's profile Send private message Visit poster's website
teleri



Joined: 28 Jan 2005
Posts: 21

PostPosted: Wed Feb 23, 2005 4:19    Post subject: Reply with quote

JeroenB wrote:
Erm, I am not so very comfortable with Linux? But what is exactly a chroot jail environment?

I will have a try at my system and see what happens.

EDIT:
Quote:
[Link]
Count=2
Server1=nnn.nnn.nnn.nnn (by IP address)
Server2=otherserver.com (by DNS)


When I convert this in:
[Link]
count=2
server1=nnn.nnn.nnn.nnn
server2=otherserver.com

Then it works. So, please try that again, as it should work then.[/code]


Thank you very much ...
That did it could you please update the Docs to reflect the correct Case. (:

Cheers,
teleri
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Wed Feb 23, 2005 10:16    Post subject: Reply with quote

Done, added a note.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
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