Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 18.06.2007, 07:02   #1
renobizarro
Архивный участник
 
Join Date: Aug 2006
Posts: 5
Default [HELP] L2server --> authd

ok... I've a server, and y wish to put a second server in my server list... I've added the server in my lin2db/server with ID 2 and different name, etc...

so... when the other server(it isn't in LAN is on PPPOE) tryes to connect i got this error in l2server.exe

AuthSocket Close 63170(1c4cf134). GetLastError(997)
06/18/2007 00:39:xx.xx5, Auth socket is closed.
06/18/2007 00:39:xx.xx5, [.\db.cpp][559] auth socket is broken.
06/18/2007 00:40:xx.xx0, Can't connect to log server
06/18/2007 00:40:xx.xx0, Can't connect to comm server
06/18/2007 00:40:xx.xx0, Can't connect to petition server
06/18/2007 00:40:xx.xx3, Invalid SunRise time[47596312-47586265] at 13:01
06/18/2007 00:40:xx.xx5, AuthSocket Close 631a8(6f48e0f4). GetLastError(258)
06/18/2007 00:40:xx.xx5, Auth socket is closed.
06/18/2007 00:41:xx.xx4, AuthSocket Close 631a8(6f48e1d4). GetLastError(997)
06/18/2007 00:41:xx.xx4, Auth socket is closed.
06/18/2007 00:42:xx.xx5, AuthSocket Close 631a8(6f48e2b4). GetLastError(997)
06/18/2007 00:42:xx.xx5, Auth socket is closed.
06/18/2007 00:43:xx.xx0, AuthSocket Close 631a8(6f48e394). GetLastError(997)
06/18/2007 00:43:xx.xx0, Auth socket is closed.
06/18/2007 00:44:xx.xx1, AuthSocket Close 631a8(6f48e474). GetLastError(258)
06/18/2007 00:44:xx.xx1, Auth socket is closed.
06/18/2007 00:45:xx.xx1, AuthSocket Close 631a8(6f48e554). GetLastError(258)
06/18/2007 00:45:xx.xx1, Auth socket is closed.
06/18/2007 00:46:xx.xx6, AuthSocket Close 631a8(6f48e634). GetLastError(258)
06/18/2007 00:46:xx.xx6, Auth socket is closed.
06/18/2007 00:47:xx.xx9, AuthSocket Close 631a8(6f48e714). GetLastError(258)
06/18/2007 00:47:xx.xx3, Auth socket is closed.
06/18/2007 00:48:xx.xx5, AuthSocket Close 631a8(6f48e7f4). GetLastError(258)
06/18/2007 00:48:xx.xx5, Auth socket is closed.


what's wrong in the second server? and the second server tryes to take port 7777, and in database I've assigned port 7778... ¬¬

plz help ^^...


and sorry for my very very bad english ^^
renobizarro is offline  
Old 18.06.2007, 12:17   #2
GMMorpheus
Архивный участник
 
Join Date: Jul 2006
Posts: 29
Default

PPPoE you mean ADSL?
Can it being caused some NAT rules defined on your router (or the lack of them)?
GMMorpheus is offline  
Old 18.06.2007, 14:00   #3
Yui-Ikari
Архивный участник
 
Join Date: Jan 2006
Posts: 58
Default

which router? the one where the authserver is host ? or the second pc?
Yui-Ikari is offline  
Old 18.06.2007, 22:02   #4
aricanefi
Архивный участник
 
Join Date: Jun 2007
Posts: 1
Default eso..

thanks to lbtx

You must have 2 Different CacheD running and add a new DB lin2world2

So setup must be like this

PC1: LogD, AuthD, SQL (IE:Outter_IP=(WANIP) Inner_IP=1xx.xx8.0.1)
PC2: L2Server.exe, L2NPC.exe, CacheD.exe (IE: LAN_IP=1xx.xx8.0.2)
PC3: L2Server.exe, L2NPC.exe, CacheD.exe (IE: LAN_IP=1xx.xx8.0.3)

PC1:
LogD.ini
[LogD]
address=1xx.xx8.0.1
port=3999
sendable=true

[LogTable]
Daily=1
BCPFolder=1

[Start]
BCPInt=600000
ServerInt=60000
AutoBCP=1

[World]
WorldId=1

[SQL]
SQLExecLimit=5000
PollingInterval=6000
BCPThreadCount=2


etc\config.txt
serverPort=2104
serverExPort=2106
serverIntPort=2108
worldport=7777
DBConnectionNum=10
encrypt=true
numServerThread=2
numServerExThread=2
numServerIntThread=2
logDirectory="log"
ProtocolVersion=30810
GameID=8
DesApply=false
PacketSizeType=3
ReadLocalServerList=false <- Put this False or you will have SQL error.
OneTimeLogOut=true
CountryCode=2
DevConnectOuter=true
DevServerIP="WAN IP" = Your WAN IP of PC1
SocketTimeOut=400
SocketLimit=5000
AcceptCallNum=1
UseOneIOCom=true
AcceptThread=1
WaitingUserLimit=100
dumppacket=false
UserData=false
UseLogD=false
logdip="1xx.xx8.0.1" PC1 LAN IP
logdport=3999
logdconnectinterval=120
SupportReconnect=true
AutokickAccount=true
NewEncrypt=false

In SQL -> lin2db -> Server
ID:1, Name:Lineage2, ip:PC2 WAN IP, inner_ip:1xx.xx8.0.2, agelimit: 0, pk_flag: 1, kind: 0, port: 7777
ID:2, Name:Lineage3, ip:PC3 WAN IP, inner_ip:1xx.xx8.0.3, agelimit: 0, pk_flag: 1, kind: 0, port: 7777

PC2:
L2Server.ini
[CacheD]
address="1xx.xx8.0.2" = PC2 LAN IP
port=2006

[AuthD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=2104

[LogD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[World]
WorldId=1
UserLimit=2500
LetBuilder=1

[Report]
Interval=60

[Setting]
Country=1
UserPathFind=true
WorldCollision=false
ExceptionMailing=false
MailServer=mail.com
AcceptLowerProtocol=true
IOBufferCount=6000
playtimelimit=0
reconnectauth=1

L2NPC.ini
[CacheD]
address="1xx.xx8.0.2" = PC2 LAN IP
port=2008

[server]
address="1xx.xx8.0.2" = PC2 LAN IP
port=2002

[LogD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[map]
directory="map"

[World]
WorldId=1

[db]
address="1xx.xx8.0.1" = PC1 LAN IP
port=2005
user="sa"
password="password"

[Setting]
Country=1
ExceptionMailing=false
MailServer=mail.com


CacheD.ini
[Setting]
Country=1
ExceptionMailing=false
MailServer=mail.com

[Logd]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[World]
WorldId=1
Pair=0

[ItemAudit]
DefaultPriceLimit=100000000
DefaultPriceCheck=50000000
ChgRatioLimit=30
AdenaLimit=100000000
AdenaCheck=50000000
AdenaChgRatioLimit=30

[SQL]
SQLExecLimit=5000
ItemClearOnStart=1
DiffBBSConn=0
SaveQsData=0
BBSDBTimeOut=0
USEBBS=0



PC3
L2Server.ini
[CacheD]
address="1xx.xx8.0.3" = PC3 LAN IP
port=2006

[AuthD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=2104

[LogD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[World]
WorldId=1
UserLimit=2500
LetBuilder=1

[Report]
Interval=60

[Setting]
Country=1
UserPathFind=true
WorldCollision=false
ExceptionMailing=false
MailServer=mail.com
AcceptLowerProtocol=true
IOBufferCount=6000
playtimelimit=0
reconnectauth=1

L2NPC.ini
[CacheD]
address="1xx.xx8.0.3" = PC3 LAN IP
port=2008

[server]
address="1xx.xx8.0.3" = PC3 LAN IP
port=2002

[LogD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[map]
directory="map"

[World]
WorldId=1

[db]
address="1xx.xx8.0.1" = PC1 LAN IP
port=2005
user="sa"
password="password"

[Setting]
Country=1
ExceptionMailing=false
MailServer=mail.com


CacheD.ini
[Setting]
Country=1
ExceptionMailing=false
MailServer=mail.com

[Logd]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[World]
WorldId=1
Pair=0

[ItemAudit]
DefaultPriceLimit=100000000
DefaultPriceCheck=50000000
ChgRatioLimit=30
AdenaLimit=100000000
AdenaCheck=50000000
AdenaChgRatioLimit=30

[SQL]
SQLExecLimit=5000
ItemClearOnStart=1
DiffBBSConn=0
SaveQsData=0
BBSDBTimeOut=0
USEBBS=0
aricanefi is offline  
Old 19.06.2007, 00:24   #5
Yui-Ikari
Архивный участник
 
Join Date: Jan 2006
Posts: 58
Default

thanks! very much appreciated
Yui-Ikari is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:09.