Server Totals
Wilderness - (2)
Deglos - (1)
Le'Or - (0)
Ferrell - (0)
Elysia - (0)
M'Chek - (0)
Mikona - (0)
Visimontium - (0)
Underdark - (0)
Total players: 3
Gallery

Links Menu

Vautster

Moderators: Nighthawk4, Dungeon Masters

Vautster

PostAuthor: olag55 » Sun Oct 30, 2005 9:09 pm

Hey i have some questions about the useage of vaultster how did you set up is it lan or is it wan? how did you get the chr bics to trasnfer ? and if you play lan how do you double back on your ip? ie say go threw a portal to another server than come back threw to your own server you host?

olag55
Newbie
 
Posts: 4
Joined: Sun Oct 30, 2005 9:04 pm

Re: Vautster

PostAuthor: Hert Snyder » Sun Oct 30, 2005 10:28 pm

olag55 wrote:Hey i have some questions about the useage of vaultster how did you set up is it lan or is it wan? how did you get the chr bics to trasnfer ? and if you play lan how do you double back on your ip? ie say go threw a portal to another server than come back threw to your own server you host?


Dunno about the rest, but TCP/IP handles address translation... you just plug your own IP into the server field and the Magic of the IP Stack handles the rest.

Hert Snyder
Sage
 
Posts: 2082
Joined: Thu Dec 16, 2004 2:09 pm

PostAuthor: Krator » Sun Oct 30, 2005 10:36 pm

This kind of question is better asked at http://www.nwnx.org.
Playing as: Sir Douglas Hope of Gorethar, old school paladin | Krator Blackfist, gold mage | Warren, half nymph barbarian
User avatar
Krator
Elder Sage
 
Posts: 4947
Joined: Thu Jun 10, 2004 6:44 pm
Location: Amsterdam
Timezone: GMT

PostAuthor: olag55 » Mon Oct 31, 2005 1:29 am

Well the problem is one of the guys that is helping to work on spliting our mod has posted there but no replay and i saw a post saying to ask here about that so here i am asking.

olag55
Newbie
 
Posts: 4
Joined: Sun Oct 30, 2005 9:04 pm

PostAuthor: Sindol » Mon Oct 31, 2005 7:59 am

Note that if all the servers you're connecting are on the same LAN you won't need VaultSTER. Avlis had interconnected modules up before we had this technology come along. You will only need it if you are connecting to other systems/servers outside of your own LAN, in which case it indeed uses the TCP/IP protocol to transfer the correct character file (.bic) to the remote vault.
So much fun,
yet so little time to enjoy it.
- Sindol
User avatar
Sindol
Team Member; Retired with Honors
 
Posts: 6487
Joined: Mon Jan 06, 2003 4:23 pm
Location: Nijmegen - Netherlands (GMT+1)

PostAuthor: PlasmaJohn » Mon Oct 31, 2005 1:13 pm

If your mods share the same machine or the same LAN, you're better off with a shared servervault via SMB or NFS than using VaultSTER, mostly because it's a lot simpler. You only need VaultSTER when you're transferring characters between two remote servers where file sharing would be impractical.
Calvin: This is so cool!
Hobbes: This is so stupid.
User avatar
PlasmaJohn
Team Member; Retired with Honors; Has a Tom Selleck Stache
 
Posts: 8822
Joined: Fri Dec 26, 2003 10:37 pm
Location: New Eden
Timezone: US/Eastern

PostAuthor: olag55 » Mon Oct 31, 2005 11:01 pm

well one part of the mod will be hosted in the usa and the other in england so yes wan is what we will be doing so that is why where using vaultster. the reason i asked the lan question is i could not go to my server threw the portal from the server in england i could only leave my server in the usa and go to the one in england. the other problem where having is the bic trasfer from server to server.

olag55
Newbie
 
Posts: 4
Joined: Sun Oct 30, 2005 9:04 pm

PostAuthor: BanedonSkyRider » Mon Oct 31, 2005 11:28 pm

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 :)

BanedonSkyRider
Newbie
 
Posts: 2
Joined: Mon Oct 31, 2005 11:23 pm

PostAuthor: Sindol » Tue Nov 01, 2005 7:23 am

Not 100% sure that this will bring the solution, but it is at least part of the problem: you're using internal IP addresses. If you give vaultster only the internal IP addy of a server, it will try to find it on your network, and of course not find it.
Solution: Use global IP addresses and configure both of your routers properly to allow for forwarding to the right internal IP Your global IP address can be found by checking your router settings, or by asking an outside source to check it for you (for example: http://www.whatismyip.com/).
So much fun,
yet so little time to enjoy it.
- Sindol
User avatar
Sindol
Team Member; Retired with Honors
 
Posts: 6487
Joined: Mon Jan 06, 2003 4:23 pm
Location: Nijmegen - Netherlands (GMT+1)

PostAuthor: olag55 » Tue Nov 01, 2005 3:00 pm

well bradeon is using his internal ip for testing till i can get my other server online as not to distirb our main server. so the internal ip thing wont be problem there soon enough. when we tested it bettween his system and mine i could portal to his and but not back to mine he had the same problem as we could not double back on our ips. not sure if you any of you guys play lan but try this put your external ip in for a dc to your lan game you just can't do it ??? is there a way around that? oh we also have dns set up to mimic static ips for the vaultSTER as well. Thank you guys for any help you can give. :D

olag55
Newbie
 
Posts: 4
Joined: Sun Oct 30, 2005 9:04 pm

PostAuthor: BanedonSkyRider » Tue Nov 01, 2005 6:20 pm

Olag's right on that. The internal IPs will be replaced with DNS names when we succesfully sort this problem out.

The porting that Olag reports was a test I did with ActivatePortal() just to see if we could move between servers - it did not involve vaultster.

One thing that comes to mind is that in the vaultster log it says:
o Loading in 0 known servers.
o Server started on port 5100.
which seems to indicate that it no other vaultster servers are found and also for some reason it's uisng port 5100. We'rfe not using 5100....

BTW, many thanks for replying, Sindol. We appreciate the help.

BanedonSkyRider
Newbie
 
Posts: 2
Joined: Mon Oct 31, 2005 11:23 pm

Another Vaultster Issue....

PostAuthor: Opera_Ghost » Tue Jun 13, 2006 4:47 pm

I'm not a member here.. but our PW is wanting to use the Vaulster plugin to connect our servers... (only a couple)

We're having difficulties getting them to talk to each other because there are only 2 servers and they are both on non static IPs... because the IPs change on occasion... we want to use the DNS.. that doesnt' change.. but we're having trouble getting them to connect because of neither having a numerical IP.

Any suggestions on how to correct this issue?

Opera_Ghost
Newbie
 
Posts: 5
Joined: Tue Jun 13, 2006 4:44 pm

PostAuthor: PsiOmega » Tue Jun 13, 2006 6:08 pm

Take a look here and see if it's what you're after:
http://www.dyndns.com/services/dns/dyndns/
Science is a candle in the dark.
Docendo discimus.
User avatar
PsiOmega
CCC
CCC
 
Posts: 4901
Joined: Tue Jun 08, 2004 4:55 pm
Location: Sweden
Timezone: GMT+1/+2 (DST)

PostAuthor: Opera_Ghost » Tue Jun 13, 2006 6:30 pm

That is what we use for both servers...

the problem is... that we can't get vaultster to maintain the link between the servers when the IP changes... even though the dns domain doesn't change.
Last edited by Opera_Ghost on Tue Jun 13, 2006 6:33 pm, edited 1 time in total.

Opera_Ghost
Newbie
 
Posts: 5
Joined: Tue Jun 13, 2006 4:44 pm

PostAuthor: dougnoel » Tue Jun 13, 2006 6:33 pm

1.) Have you tried on the NWNX forums? They've been rather active this week.

2.) Can you describe what exactly it is you're doing and what you expect to happen?

dougnoel
Team Member; Retired with Honors
 
Posts: 6265
Joined: Fri May 14, 2004 4:59 pm
Location: VA (GMT -4)

PostAuthor: Opera_Ghost » Tue Jun 13, 2006 6:39 pm

What we're trying to do... is to get the bic file to go from one server... to another... when the player triggers the area change that is used to link the two of them. (in this case.. a ship)...

What we want to transfer is all of the info for the bic.. including crafting XP from the CNR... all of the equiptment on the character... and all the stats from our use of the PRC.

We only are using 2 servers... so we want it to tranfer from the mysql database of one server.. to the database of another server. (Instead of a central character vault at another location.).. We're using NWNx2 (I believe it is version 2) to run our servers on.

It's my understanding that the issue is... that the connection can't be maintained using only the servegame.com id's. (Those remain the same)... but, the computers who host them... are both on broadband connections that have Dynamic IPs.... the fact that they are Dynamic IPs... is what is causing the issue.

I was hoping for some help in getting vaultster to work with servers who are wanting to connect.. but are only on dynamic ips.... but use the service that was suggested above.

Opera_Ghost
Newbie
 
Posts: 5
Joined: Tue Jun 13, 2006 4:44 pm

PostAuthor: Final Shinryuu » Tue Jun 13, 2006 6:59 pm

If you're trying to transfer CNR crafting experience, there will be a slight problem with that. CNR craft experience stores a character's experience in the database.

If the PC is being moved to a vault on a seperate server, with it's own database, you can't make it carry over, unless:

Change the CNR to store crafting data as variables on a PC hide item.
User avatar
Final Shinryuu
Sage
 
Posts: 2060
Joined: Thu Jun 24, 2004 3:20 am
Location: http://hades.mercuric.net/

PostAuthor: Opera_Ghost » Wed Jun 14, 2006 12:05 am

okay, so the CNR experience may have to remain as part of the original server. (That's the one with the crafting stations and resource spawns anyway.)...

but that still leaves the fact that using vaultster... every time one of the two servers changes IP adresses.. even with a text dns like servegame.org... the connection using vaultster fails.

here's the description of the error as it was described to me exactly.

two dynamic ips causes an invalid client tries to connect error.

Also, we use Linux to run our servers.

Opera_Ghost
Newbie
 
Posts: 5
Joined: Tue Jun 13, 2006 4:44 pm

PostAuthor: dougnoel » Wed Jun 14, 2006 7:22 pm

What are you supplying to Vaultster? Your dynamic IP addresses, or the URL associated with them by the service?

dougnoel
Team Member; Retired with Honors
 
Posts: 6265
Joined: Fri May 14, 2004 4:59 pm
Location: VA (GMT -4)

PostAuthor: PsiOmega » Wed Jun 14, 2006 8:43 pm

Have you also read through the F.A.Q. at DynDNS? You may need a 3rd party client which makes sure that the Dynamic DNS adress points ot the correct IP.

Pick one up here: http://www.dyndns.com/support/clients/third-party.html
Science is a candle in the dark.
Docendo discimus.
User avatar
PsiOmega
CCC
CCC
 
Posts: 4901
Joined: Tue Jun 08, 2004 4:55 pm
Location: Sweden
Timezone: GMT+1/+2 (DST)

PostAuthor: Opera_Ghost » Wed Jun 14, 2006 8:54 pm

the URL provided.

Opera_Ghost
Newbie
 
Posts: 5
Joined: Tue Jun 13, 2006 4:44 pm

PostAuthor: dougnoel » Wed Jun 14, 2006 9:09 pm

PsiOmega wrote:Have you also read through the F.A.Q. at DynDNS? You may need a 3rd party client which makes sure that the Dynamic DNS adress points ot the correct IP.

Pick one up here: http://www.dyndns.com/support/clients/third-party.html

This would be my best guess as to the solution of your problem. If that doesn't work, let us know.

dougnoel
Team Member; Retired with Honors
 
Posts: 6265
Joined: Fri May 14, 2004 4:59 pm
Location: VA (GMT -4)


Return to NWN Scripting

Who is online

Registered users: Angel of Death, Bing [Bot], Google [Bot], Yahoo [Bot]