Hiya
I'm helping Olag55 to split our mod, part of which will be running on his server in the U.S. and the other on mine in the U.K.
Below I have listed what I put on the NWNX2 forum (to which I received little response, unfortunately):
We're trying to do the following: use vaultster to port a player's 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 setup 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
If anyone can at all help we would deeply grateful - it's making me tear my hair out
