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 
 
Porting characters using Vaulster....Problems

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
BanedonSkyRider



Joined: 28 Oct 2005
Posts: 3

PostPosted: Sun Oct 30, 2005 3:29    Post subject: Porting characters using Vaulster....Problems Reply with quote

Hi

I'm trying to do the following: use vaultster to port a players BIC file to another server and then port the player him/herself to that same server.

I have installed NWNX2 and also Vaultster to each server's main NWN folder.
Following that, I have made two test modules. Each setuip to allow a player to click on an area transition. Once clicked on, the script tries to use vaultster to export the player's .BIC file and then follow that up with a ActivatePortal command to forward the player to the server.
Pretty much what vaultster is designed to do.

Unfortunately, all I get is Failed to portal the character file.
When I look into the vaulster log I see:

NWNX2 Vaultster version 1.4.6 for Windows.
Copyright 2004-2005 (C) Jeroen Broekhuizen

o Using WinSock 2.2.
o Loading in 0 known servers.
o Server started on port 5100.
o Start searching for porttest*.bic
o Searching for .\BanedonSkyRider\porttest*.bic
o Could not find latest file for BanedonSkyRider\porttest!
o There was an error during the transmission.
o Retreived status for BanedonSkyRider\porttest = 3

Each server is stored in C:\NWNserver\<nwn executables>
I have tried this on the internet with the same values and now am trying it across a LAN.
Here's the details of each server:

SERVER 1- IP: 192.168.0.50
<<nwnx2.ini>>
[VAULTSTER]
port =5122
path =C:\NWNserver\servervault
key =DLROH
password =DLROH
startserver =1
validateclient =0
count =1
server1 =192.168.0.51:5122

<<nwnx_vaultster.ini>>
[VAULTSTER]
port =5122
path =C:\NWNserver\servervault
key =DLROH
password =DLROH
startserver =1
validateclient =0
count =1
server1 =192.168.0.51:5122

<<nwnx.ini>>
; NWNX2 configuration file
; These are the default values for NWNX2. Values specified on the command
; line take precedence.

[NWNX]
ServerPort = 5122
ModuleName = "vaulster_lan_1"
WatchdogProcess = yes
UpdateIntervalProcess = 5
WatchdogGamespy = no
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 5

[ODBC2]
; Log file
MaxLogSize = 512 ; in KByte
LogLevel = 2 ; 0=nothing, 1=only errors, 2=everything

; Use these two settings for the SQLite internal database
source = sqlite
file = sqlite.db

; Use these two settings for ODBC connections
;source = odbc
;dsn = nwn

; Use these five settings for MySQL connections
;source = mysql
;server = localhost
;user = nwn
;pwd = nwn
;db = nwn

; Set hookscorco to false if you want to disable hooking of
; StoreCampaignObject and RetrieveCampaignObject entirely
hookscorco = true

[PROFILER]
MaxLogSize = 512 ; in KByte
LogLevel = 1 ; 1=overall statistics, 2=full script callstack


SERVER 2 - IP: 192.168.0.51
<<nwnx2.ini>>
[VAULTSTER]
port =5122
path =C:\NWNserver\servervault
key =DLROH
password =DLROH
startserver =1
validateclient =0
count =1
server1 =192.168.0.50:5122

<<nwnx_vaultster.ini>>
[VAULTSTER]
port =5122
path =C:\NWNserver\servervault
key =DLROH
password =DLROH
startserver =1
validateclient =0
count =1
server1 =192.168.0.50:5122

<<nwnx.ini>>
; NWNX2 configuration file
; These are the default values for NWNX2. Values specified on the command
; line take precedence.

[NWNX]
ServerPort = 5122
ModuleName = "vaulster_lan_2"
WatchdogProcess = yes
UpdateIntervalProcess = 5
WatchdogGamespy = no
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 5

[ODBC2]
; Log file
MaxLogSize = 512 ; in KByte
LogLevel = 2 ; 0=nothing, 1=only errors, 2=everything

; Use these two settings for the SQLite internal database
source = sqlite
file = sqlite.db

; Use these two settings for ODBC connections
;source = odbc
;dsn = nwn

; Use these five settings for MySQL connections
;source = mysql
;server = localhost
;user = nwn
;pwd = nwn
;db = nwn

; Set hookscorco to false if you want to disable hooking of
; StoreCampaignObject and RetrieveCampaignObject entirely
hookscorco = true

[PROFILER]
MaxLogSize = 512 ; in KByte
LogLevel = 1 ; 1=overall statistics, 2=full script callstack
Back to top
View user's profile Send private message
BanedonSkyRider



Joined: 28 Oct 2005
Posts: 3

PostPosted: Sun Oct 30, 2005 3:38    Post subject: Reply with quote

This is the OnClick part of the area transition that uses vaultster. I have removed the portal command as at the moment I'm just trying to port the .BIC file.

#include "vaultster_inc"

void main ()
{
object oPC = GetEnteringObject();
string sIP = GetLocalString(OBJECT_SELF, "IP");
int ret = PortalPC (oPC, sIP);
if (ret == VAULTSTER_OK) {
SendMessageToPC (oPC, "Portalling...(" + sIP + ")");
DelayCommand (1.0f, ExecuteScript ("CheckStatus", oPC));
}
else
SendMessageToPC (oPC, "Failure with portalling.");
}
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sun Oct 30, 2005 10:55    Post subject: Reply with quote

Quote:

o Start searching for porttest*.bic
o Searching for .\BanedonSkyRider\porttest*.bic
o Could not find latest file for BanedonSkyRider\porttest!
o There was an error during the transmission.


Do you have a file called porttest*.bic in your .\BanedonSkyRider directory ? I guess not, since it says it wants to transmit this file and cannot find it.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
BanedonSkyRider



Joined: 28 Oct 2005
Posts: 3

PostPosted: Sun Oct 30, 2005 11:32    Post subject: Reply with quote

I have porttest.bic in c:\nwnserver\servervault\banedonskyrider
Hmmm. Wonder where the * in porttest*.bic came from...?
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sat Nov 05, 2005 14:27    Post subject: Reply with quote

Hmm, I did not write the module but since Jeroen is no longer around, I'll try to help anyway.

From looking at the sources, it looks like it is searching for the configuration in "nwnx.ini", [VAULTSTER]:

Code:
CIniFile iniFile ("nwnx.ini");
   startServer = iniFile.ReadInteger ("VAULTSTER", "startserver", 1);
   validateClient = iniFile.ReadInteger ("VAULTSTER", "validateclient", 1);
   maxClients = iniFile.ReadInteger ("VAULTSTER", "MaxClients", 10);
   iniFile.ReadString ("VAULTSTER", "Path", buf, MAX_PATH, ".");
   iniFile.ReadString ("VAULTSTER", "Key", buf, 128, "*invalid");
   iniFile.ReadString ("VAULTSTER", "Password", buf, 128, "PWD!@");
   int port = iniFile.ReadInteger ("VAULTSTER", "Port", 5100);
   int lowprior = iniFile.ReadInteger ("VAULTSTER", "Low prior", 0);


Try to move the configuration there.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
14G_RavenWolf



Joined: 05 Sep 2008
Posts: 12

PostPosted: Sun Dec 21, 2008 2:23    Post subject: Reply with quote

im trying to get my vualtster to work also it will find the bic file but it gets errors o connection also i have look every where for this script called CheckStatus and i can't seem to find it anywhere can u help me out.
Back to top
View user's profile Send private message Send e-mail
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Sun Dec 21, 2008 4:01    Post subject: Reply with quote

We're going to need more to go on than that. Make sure:
* you have the same port, key and password on both ends
* validateclient is turned off for testing
* the port is not blocked by a firewall

If possible, post logs.

I don't think CheckStatus is anywhere to be found, but I posted a script that should get you started back in this thread: http://www.nwnx.org/phpBB2/viewtopic.php?t=1247

And wow, zombie thread...
_________________
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
Akaryu



Joined: 06 Jul 2014
Posts: 1

PostPosted: Sun Jul 06, 2014 23:38    Post subject: Reply with quote

Banedon, was a resolution ever found on this issue? I am atemptting something very similiar in testing and am running into what looks like the same problems. If a solution was found, please advise ^_^
Back to top
View user's profile Send private message
dany500



Joined: 17 Oct 2014
Posts: 1

PostPosted: Fri Oct 17, 2014 12:34    Post subject: Reply with quote

The motivation behind this record is to deal with my pursuit of employment.
By enlisting all promotions which I connected and creating a profit for my Google Agenda.
_________________
Download high quality jncia practice test - braindumps to prepare and pass
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion 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