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
NoMercy



Joined: 03 Jan 2005
Posts: 123
Location: UK

PostPosted: Mon Mar 21, 2005 11:24    Post subject: Reply with quote

Totally off topic, it's recomended you use example.com (.net and .org) for your examples as theve been reserved for this purpose, I also use the IP address there server runs on: 192.0.34.166 as a common example-ip as it's also within a reserved section of IPs and not likely to ever have anything important there.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Crono Natsuga



Joined: 15 Mar 2005
Posts: 7

PostPosted: Mon Mar 21, 2005 13:23    Post subject: Reply with quote

it's not off topic !
it's a VaulSter use Surprised

I do not arrive has to make function VaulSter because of the use of DNS dynamic. For this reason I use not of IP style 192.0.x.x because they are static IP in LAN, not of the dynamic IP in WAN which I use for vaulster.

how to bypass or to remove the "server1 = 81.250.x.x" in nwnx.ini and continu to work without ?

(i editing and replaced the DNS example with "mydns.example.com" in my last post)
Back to top
View user's profile Send private message
NoMercy



Joined: 03 Jan 2005
Posts: 123
Location: UK

PostPosted: Mon Mar 21, 2005 13:50    Post subject: Reply with quote

No my post was totally off topic, example DNS's isn't strictly relevant to vaultster in any way.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Mon Mar 21, 2005 19:23    Post subject: Reply with quote

It probably doesn't work as you didn't have the complete configuration filled in. There is also a part where you should enter the known servers which may connect to you, like:

Count=1
Server1=your.dns.name

If you add that, it should work.
Back to top
View user's profile Send private message Visit poster's website
Crono Natsuga



Joined: 15 Mar 2005
Posts: 7

PostPosted: Tue Mar 22, 2005 1:53    Post subject: Reply with quote

It's already in my nwnx.ini

Crono Natsuga wrote:
ok thank's Wink

but it don't works with DNS, see an example of my nwnx.ini :

Code:
[VAULTSTER]
port=5100
path=E:\NeverwinterNights\servervault
startserver=1
key=mykey
password=mypasswd
count=1
server1=212.177.15.102
work fine Very Happy
nwnx_vaultsert.txt on other client wrote:
o Character: D:\NWN\servervault2 - CronoNatsuga - aral
o Receiving file: D:\NWN\servervault2\CronoNatsuga\aral.bic
o Returning: 0


and this:
Code:
[VAULTSTER]
port=5100
path=E:\NeverwinterNights\servervault
startserver=1
key=mykey
password=mypasswd
count=1
server1=mydns.example.com
don't work Crying or Very sad (i see: * Invalid client tries to connect: 212.177.15.102 in nwnx_vaultster.txt log)


whereas mydns.example.com as same 212.177.15.102 (if i "ping" it, it's the same) but dont work if i specifie the DNS Confused
why ?
it is as if it did not resolve the DNS ?idea?
________

For the port 5100, yes ok, I understood after several test that it acted Rolling Eyes
but, for the port of nwserver.exe ?
if one is 5121 and other server is 5122, it's don't work Crying or Very sad

how to work with one nwserver use 5121 and the other nwserver use 5122 ?

good job Wink



Thank's for our reply Very Happy

[ IP and DNS specified in this post is abritrary and for a simple example ^^ ]
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Tue Mar 22, 2005 9:58    Post subject: Reply with quote

Quote:
For the port 5100, yes ok, I understood after several test that it acted
but, for the port of nwserver.exe ?
if one is 5121 and other server is 5122, it's don't work

how to work with one nwserver use 5121 and the other nwserver use 5122 ?


That is an nwn scripting function ActivatePortal which you should call with the right parameters (add :5122 to the server).

For some reason it isn't able to fetch the DNS name for the IP address. Does it say something about WinSock 2.2 in the vaultster log file?
Back to top
View user's profile Send private message Visit poster's website
Crono Natsuga



Joined: 15 Mar 2005
Posts: 7

PostPosted: Tue Mar 22, 2005 15:56    Post subject: Reply with quote

winsock seem ok:
Code:
NWNX2 Vaultster version 1.4.4 for Windows.
Copyright 2004 (C) Jeroen Broekhuizen

o Using WinSock 2.2.
o Loading in 1 known servers.
o Loaded: dns.example.com
o Server started on port 5100.


it is similar on the 2 servers: if one puts the DNS in nwnx.ini, the "client" is not accepted, if one puts the IP all is ok

I tear off myself the hair Crying or Very sad
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Thu Mar 24, 2005 9:42    Post subject: Reply with quote

Do you have the DNS name of the other server in your list, or of your own server? In the later case, you must change it to the server DNS of the other server you are portalling from.
Back to top
View user's profile Send private message Visit poster's website
Crono Natsuga



Joined: 15 Mar 2005
Posts: 7

PostPosted: Thu Mar 24, 2005 12:32    Post subject: Reply with quote

The DNS in my nwnx.ini is the other dns server (and conversely for other PC)
For example, my server as server1.example.com and the other server use server2.example.net

in my nwnx.ini, i have:
Code:
[VAULTSTER]
port=5100
path=E:\NeverwinterNights\servervault
startserver=1
key=ourkey
password=ourposswd
count=1
server1=server2.example.net


in the other server:
Code:
[VAULTSTER]
port=5100
path=D:\Neverwinter\servervault
startserver=1
key=ourkey
password=ourpasswd
count=1
server1=server1.example.com


it is correct ? i think yes.

If i replace server1.example.com with my real IP (like 84.250.x.x) in the other server, i can transfert a bic and portaling of my server towards the other server.

and also, if i replace the dns server i my nwnx.ini server2.example.net with the real IP of other server (like 51.174.x.x), we can portaling in the two directions.

where I does not include/understand it is the resolving of DNS is not working on 2 PC

for info, the two PC is work with w2000pro

(sorry for my english!)
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Thu Mar 24, 2005 13:09    Post subject: Reply with quote

This is odd, but could be a Win2k problem. Unfortunately I have no access to such a system. Does anyone else have a similar problem?
Back to top
View user's profile Send private message Visit poster's website
twinj



Joined: 11 Feb 2005
Posts: 16

PostPosted: Sun Mar 27, 2005 15:05    Post subject: Source Code Reply with quote

I cannot get the source code to compile.. Sad I am using Express Edition 2005 Beta. And the latest SDK.
Quote:

Creating library D:\X Games\NWN\NWN Files\NWNX2\src\Vaultster\win32 src\Release/vaultster.lib and object D:\X Games\NWN\NWN Files\NWNX2\src\Vaultster\win32 src\Release/vaultster.exp
Sock.obj : error LNK2019: unresolved external symbol __ftol2_sse referenced in function "public: int __thiscall CSock::SendFile(char *,int)" (?SendFile@CSock@@QAEHPADH@Z)
D:\X Games\NWN\NWN Files\NWNX2\src\Vaultster\win32 src\nwnx_vaultster.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://d:\X Games\NWN\NWN Files\NWNX2\src\Vaultster\win32 src\Release\BuildLog.htm"
vaultster - 2 error(s), 1 warning(s)

Quote:
Sock.obj : error LNK2019: unresolved external symbol __ftol2_sse referenced in function "public: int __thiscall CSock::SendFile(char *,int)" (?SendFile@CSock@@QAEHPADH@Z)
D:\X Games\NWN\NWN Files\NWNX2\src\Vaultster\win32 src\nwnx_vaultster.dll : fatal error LNK1120: 1 unresolved externals


Eveything builds fine but it fails in the linker. ?? I am using your original code in the Zip. It seems like you have used Express also. Anyhow.... pls help [/code]
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Sun Mar 27, 2005 22:27    Post subject: Reply with quote

You must include a library , not sure which at the moment to be able to link that function. you can look that up in [url]msdn.microsoft.com/library[/url]
Back to top
View user's profile Send private message Visit poster's website
twinj



Joined: 11 Feb 2005
Posts: 16

PostPosted: Mon Mar 28, 2005 13:26    Post subject: Reply with quote

I currently have these dependants.

Ws2_32.lib
zlib.lib
User32.lib

I looked up the error on MSDN... thanks for the URL Smile Wink. by the way.

It goes on about CLR and some other problems that derive from syntax...

Anyhow I am stumped.. have no clue.

edit
Do you know if it has anything to do with this library LIBCMT.lib or libcpmt.lib It is not In SDK SP2.

edit
it seems this line in the if(compressed) section of the class CSockfunction Sendfile

actualDataSize = int(actualDataSize * 1.2f) + 12;

causes the problem ???

actualDataSize = ( actualDataSize * 120 / 100 ) + 12;

this corrects the problem but i dont know what is intended for sure?
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Tue Mar 29, 2005 8:55    Post subject: Reply with quote

It is the same actually, though I follow the conventions for the en- and decryption progress found in their manual somewhere.

Do you perhaps have an Intel processor or something? I see he's requesting an SSE optimised version which is bad for several older AMD processors (even Athlons).
Back to top
View user's profile Send private message Visit poster's website
twinj



Joined: 11 Feb 2005
Posts: 16

PostPosted: Tue Mar 29, 2005 16:09    Post subject: Reply with quote

Yar I have an Intel chip ??

My vaultster build doesnt work Sad Maybe I have some screwy properties setup problem.. anyhow I ll stop bugging the forums for answers Ill try to figure it... I am new to larger scripting :0

Thanks for your help JeroenB.
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
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 5 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