- Joined
- Oct 5, 2006
- Messages
- 4,293
- Reaction score
- 103
Required System:
* 2GB RAM
* 20GB HDD
* 10mbit dedicated connection
* Windows 2003 x64 Server OS
Make sure the operating system is a 64-bits system, since L2Server won't work in a 32-bits system.
Lineage 2 OFF servers basically consist of the following:
* AuthD
* CacheD
* L2Server
* L2NPC
Besides that, there are several folders with all several types of files.
* Script
* HTML
* Geodata
SERVER SETUP GUIDE
--------------------------------------------------------------------------------------------------------------------------------------------------------
Part 1 - changing INI's:
--------------------------------------------------------------------------------------------------------------------------------------------------------
edit config.txt under NewAuth\etc folder
serverPort=2104
serverExPort=2106
serverIntPort=2108
worldport=7777
DBConnectionNum=10
encrypt=true
numServerThread=2
numServerExThread=2
numServerIntThread=2
logDirectory="log"
;30810 : l2, 30310 : Sl
ProtocolVersion=30810
;8:lineage2, 4 halo
GameID=8
DesApply=false
PacketSizeType=3
ReadLocalServerList=false
OneTimeLogOut=true
CountryCode=2
DevConnectOuter=true
;change it as your WAN IP
DevServerIP="127.0.0.1"
;SocketTimeOut if player no Action while they in game then kick out.
SocketTimeOut=10
SocketLimit=5000
AcceptCallNum=1
UseOneIOCom=true
AcceptThread=1
WaitingUserLimit=100
dumppacket=false
UserData=false
UseLogD=false
;change it as your LAN IP
logdip="127.0.0.1"
logdport=3999
logdconnectinterval=120
;(true=auth-main reconnect on/false=auth-main reconnect off)
SupportReconnect=false
AutokickAccount=true
NewEncrypt=false
-------------------------------------------------------------------------------------
edit l2cache.ini under CacheD folder
[LogD]
;change it as your LAN IP
address="127.0.0.1"
port=3999
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
Country=4
ExceptionMailing=false
MailServer=mail.ncsoft.co.kr
[World]
WorldId=1
Pair=0
[ItemAudit]
DefaultPriceLimit=100000000
DefaultPriceCheck=50000000
ChgRatioLimit=30
AdenaLimit=100000000
AdenaCheck=50000000
AdenaChgRatioLimit=30
[SQL]
SQLExecLimit=9000
;clear unowned item data[0:false, 1:true]
ItemClearOnStart=0
DiffBBSConn=0
SaveQsData=0
BBSDBTimeOut=60
USEBBS=0
-------------------------------------------------------------------------------------
edit l2logd.ini under L2LogD folder
[LogD]
;change it as your LAN IP
address=127.0.0.1
port=3999
sendable=true
[LogTable]
Daily=1
BCPFolder=1
[Start]
BCPInt=3600000
ServerInt=3600000
AutoBCP=0
[World]
WorldId=1
[SQL]
SQLExecLimit=5000
PollingInterval=6000
BCPThreadCount=5
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
country=4
ExceptionMailing=false
MailServer=ncs-mail.ncsoft.co.kr
-------------------------------------------------------------------------------------
edit L2NPC.ini under L2NPC folder
[LogD]
;change it as your LAN IP
address="127.0.0.1"
port=3999
[CacheD]
;change it as your LAN IP
address="127.0.0.1"
port=2008
[server]
;change it as your LAN IP
address="127.0.0.1"
port=2002
[map]
directory="map"
[World]
WorldId=1
[db]
;change it as your LAN IP
address="127.0.0.1"
port=2005
;your SQL database account
user="gamma"
;your SQL database password
password="l2online"
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
Country=4
ExceptionMailing=false
MailServer=ncs-mail.ncsoft.co.kr
------------------------------------------------------------------------------------
edit l2server.ini under L2Server folder
[LogD]
;change it as your LAN IP
address="127.0.0.1"
port=3999
[CacheD]
;change it as your LAN IP
address="127.0.0.1"
port=2006
[AuthD]
;change it as your LAN IP
address="127.0.0.1"
port=2104
[petitionD]
;change it as your LAN IP
address="127.0.0.1"
port=2107
;change the name whatever u like
worldname="Lineage2"
[World]
WorldId=1
UserLimit=2000
LetBuilder=0
[Report]
;minute
Interval=60
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
Country=4
UserPathFind=false
WorldCollision=false
ExceptionMailing=false
MailServer=mail.ncsoft.co.kr
AcceptLowerProtocol=true
;you might need to change here, but leave it unless you got crash when u run L2Server.exe
IOBufferCount=3000
;limit hour for week, (number means hour. 0 means don't use. default is 0)
playtimelimit=0
;use auth reconn (1:use, 0:don't. default is 0)
;have to be 0, if dont, u can't login
reconnectauth=0
-------------------------------------------------------------------------------------
edit config.txt under PetitionD\etc folder
;Number of threads working for transaction and service socket.
numberOfServiceThreads=10
;Port number for world server
worldPort=2107
;Port number for petition client
servicePort=2109
;Run as test mode
runMode=0
;WebAuthD address
;change it as your LAN IP
webAuthServer="127.0.0.1"
;WebAuthD port
webAuthPort=2108
; Number of WebAuthD connections
numberOfWebAuthConnections=0
;Log directory
logDirectory="log"
;status refresh interval(seconds)
statusRefresh=1
;Number of connections to petition database
numberOfPetitionDBConnections=12
;petition database connection string
;number of games to support, should be consistent with game_title table
numberGames=2
petitionDatabase = "0xF6DBBAA8A7C57B6F418E95A7CFCBB4DAF09B9A5E39B 2FCA 717A7EA9C44E98FCDA34297C97542494D9977C5E9ED58FBE58 14852F7D8DAF11478AFEB5861F5572B4A2A7FE96453BBF6A3E 4445310F58A15FB3FA2D8D26BA61F2D6E0113053A1A6D3FF2B BDE07E242E5E29593F12D148CD1284ED2D17E6FE16FE96034D 3B4C21363"
* 2GB RAM
* 20GB HDD
* 10mbit dedicated connection
* Windows 2003 x64 Server OS
Make sure the operating system is a 64-bits system, since L2Server won't work in a 32-bits system.
Lineage 2 OFF servers basically consist of the following:
* AuthD
* CacheD
* L2Server
* L2NPC
Besides that, there are several folders with all several types of files.
* Script
* HTML
* Geodata
SERVER SETUP GUIDE
--------------------------------------------------------------------------------------------------------------------------------------------------------
Part 1 - changing INI's:
--------------------------------------------------------------------------------------------------------------------------------------------------------
edit config.txt under NewAuth\etc folder
serverPort=2104
serverExPort=2106
serverIntPort=2108
worldport=7777
DBConnectionNum=10
encrypt=true
numServerThread=2
numServerExThread=2
numServerIntThread=2
logDirectory="log"
;30810 : l2, 30310 : Sl
ProtocolVersion=30810
;8:lineage2, 4 halo
GameID=8
DesApply=false
PacketSizeType=3
ReadLocalServerList=false
OneTimeLogOut=true
CountryCode=2
DevConnectOuter=true
;change it as your WAN IP
DevServerIP="127.0.0.1"
;SocketTimeOut if player no Action while they in game then kick out.
SocketTimeOut=10
SocketLimit=5000
AcceptCallNum=1
UseOneIOCom=true
AcceptThread=1
WaitingUserLimit=100
dumppacket=false
UserData=false
UseLogD=false
;change it as your LAN IP
logdip="127.0.0.1"
logdport=3999
logdconnectinterval=120
;(true=auth-main reconnect on/false=auth-main reconnect off)
SupportReconnect=false
AutokickAccount=true
NewEncrypt=false
-------------------------------------------------------------------------------------
edit l2cache.ini under CacheD folder
[LogD]
;change it as your LAN IP
address="127.0.0.1"
port=3999
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
Country=4
ExceptionMailing=false
MailServer=mail.ncsoft.co.kr
[World]
WorldId=1
Pair=0
[ItemAudit]
DefaultPriceLimit=100000000
DefaultPriceCheck=50000000
ChgRatioLimit=30
AdenaLimit=100000000
AdenaCheck=50000000
AdenaChgRatioLimit=30
[SQL]
SQLExecLimit=9000
;clear unowned item data[0:false, 1:true]
ItemClearOnStart=0
DiffBBSConn=0
SaveQsData=0
BBSDBTimeOut=60
USEBBS=0
-------------------------------------------------------------------------------------
edit l2logd.ini under L2LogD folder
[LogD]
;change it as your LAN IP
address=127.0.0.1
port=3999
sendable=true
[LogTable]
Daily=1
BCPFolder=1
[Start]
BCPInt=3600000
ServerInt=3600000
AutoBCP=0
[World]
WorldId=1
[SQL]
SQLExecLimit=5000
PollingInterval=6000
BCPThreadCount=5
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
country=4
ExceptionMailing=false
MailServer=ncs-mail.ncsoft.co.kr
-------------------------------------------------------------------------------------
edit L2NPC.ini under L2NPC folder
[LogD]
;change it as your LAN IP
address="127.0.0.1"
port=3999
[CacheD]
;change it as your LAN IP
address="127.0.0.1"
port=2008
[server]
;change it as your LAN IP
address="127.0.0.1"
port=2002
[map]
directory="map"
[World]
WorldId=1
[db]
;change it as your LAN IP
address="127.0.0.1"
port=2005
;your SQL database account
user="gamma"
;your SQL database password
password="l2online"
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
Country=4
ExceptionMailing=false
MailServer=ncs-mail.ncsoft.co.kr
------------------------------------------------------------------------------------
edit l2server.ini under L2Server folder
[LogD]
;change it as your LAN IP
address="127.0.0.1"
port=3999
[CacheD]
;change it as your LAN IP
address="127.0.0.1"
port=2006
[AuthD]
;change it as your LAN IP
address="127.0.0.1"
port=2104
[petitionD]
;change it as your LAN IP
address="127.0.0.1"
port=2107
;change the name whatever u like
worldname="Lineage2"
[World]
WorldId=1
UserLimit=2000
LetBuilder=0
[Report]
;minute
Interval=60
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
Country=4
UserPathFind=false
WorldCollision=false
ExceptionMailing=false
MailServer=mail.ncsoft.co.kr
AcceptLowerProtocol=true
;you might need to change here, but leave it unless you got crash when u run L2Server.exe
IOBufferCount=3000
;limit hour for week, (number means hour. 0 means don't use. default is 0)
playtimelimit=0
;use auth reconn (1:use, 0:don't. default is 0)
;have to be 0, if dont, u can't login
reconnectauth=0
-------------------------------------------------------------------------------------
edit config.txt under PetitionD\etc folder
;Number of threads working for transaction and service socket.
numberOfServiceThreads=10
;Port number for world server
worldPort=2107
;Port number for petition client
servicePort=2109
;Run as test mode
runMode=0
;WebAuthD address
;change it as your LAN IP
webAuthServer="127.0.0.1"
;WebAuthD port
webAuthPort=2108
; Number of WebAuthD connections
numberOfWebAuthConnections=0
;Log directory
logDirectory="log"
;status refresh interval(seconds)
statusRefresh=1
;Number of connections to petition database
numberOfPetitionDBConnections=12
;petition database connection string
;number of games to support, should be consistent with game_title table
numberGames=2
petitionDatabase = "0xF6DBBAA8A7C57B6F418E95A7CFCBB4DAF09B9A5E39B 2FCA 717A7EA9C44E98FCDA34297C97542494D9977C5E9ED58FBE58 14852F7D8DAF11478AFEB5861F5572B4A2A7FE96453BBF6A3E 4445310F58A15FB3FA2D8D26BA61F2D6E0113053A1A6D3FF2B BDE07E242E5E29593F12D148CD1284ED2D17E6FE16FE96034D 3B4C21363"