Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 General
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 06.05.2006, 04:02   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Guide] How to setup L2 on 3 PCs

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
Digital is offline  
Old 06.05.2006, 11:16   #2
Den2Fast
Архивный участник
 
Join Date: Mar 2006
Posts: 46
Default

Thx, very useful guide!
Den2Fast is offline  
Old 02.04.2007, 18:08   #3
GANSH
Архивный участник
 
Join Date: Feb 2006
Posts: 21
Default

perfect man thx
GANSH is offline  
Old 02.04.2007, 18:21   #4
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

Digital if You already started topic so i have a question...
What hardware i need to each root?
SQL need hd speed... l2server,npc a lot of ram.
/*EDIT
No, sorry. SQL need CPU and g. HD (i dont know actually requirements), l2server+npc good hd+ a lot of ram etc
*/
I run SQL, Cached, l2server,npc on one root... Im thinking about buy another one...

Can 2 servers use one SQL root?
Drag is offline  
Old 03.04.2007, 06:57   #5
Bloodust
Архивный участник
 
Join Date: May 2006
Posts: 135
Default

thread resurrection ftw
Bloodust 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 22:13.