Here is the best guide for an L2 Official Server Setup, i post the links for the files later, u can search all files in google the mostly u will find.
-----------------------------------------------------------------------------------------------
Requirement and Precautions:
-----------------------------------------------------------------------------------------------
Running a server require at lease a P4 1.8Ghz with at lease 512MB of ram. The server will load, but very slowly. Don't expect to be able to play on the same machine hosting the server! This is not L2j Server Emulator! So yes! You need a 2nd PC to play!
You'll also need BASIC Knowledge in networking such as knowning how to find your IP Address from your router (if you using one)! If you don't know how to setup a home/office network or understand what the hell is a IP. Then don't even bother trying to setup a server! :P Also some basic understanding of using MSSQL would help!
By following this guide, I cannot take responsibility for what goes wrong with your computer system ! This guide is ment for Users running Windows XP Professional w/ Service Pack 2 Installed along with Microsoft SQL Enterprise Manager v8.0 (SQLEVAL).
*To find your computer's IP, do a "ipconfig" in Command Prompt.
-----------------------------------------------------------------------------------------------
Getting Started
-----------------------------------------------------------------------------------------------
First off grab all the stuff you need off of Hick's post. You'll need these following files:
Server Files:
//Pick one !
Meifu's C1 Server [English]
Sina's C1 Server [Chinese]
TW's C1 Server [Taiwanese]
Support / Fix files:
//You need them all!
L2server.zip (1.81 MB)
L2ASP.zip (434.1 KB)
l2decrypt.zip (24.0 KB)
DBScript.zip (103.4 KB)
GM_commands.zip (1.2 KB)
npcdata.zip (152.6 KB)
Fixed15-10-2004html.zip (Find it!)
Other stuff:
l2cnpatch.zip
c2textures.zip
l2cnmeshes.zip
MSSQL:
Extract your Lineage2 Server (170MB+) files onto a directory. Extract L2server.zip (1.81 MB) into your Server's root directory that contains CacheD, L2LogD, L2NPC, NewAuth, etc. Overwrite all the files when prompt. Extract DBScript.zip (103.4 KB) into your Server's root directory that contains the folder DBScript and override all the files.
When installing MSSQL. Make sure you take note of the account/user login and password!! You'll need them for later. Here's a quick walkthru installation guide:
Make sure you choose "Local Computer"
Then "Creater a new instance of SQL Server, or install Client Tools" //or something similar. If you don't have this option prompt. Don't worry about it. You get this if you're installing again for the 2nd time.
Make sure you pick "Server and Client Tools" along the way in the installation process.
It'll automatically check "Default" for instance name or you can specific one. It doesn't really matter which one you pick as long as you remember the instance name.
Along the way in the installation process, make sure you pick an option that uses Both MySQL Login and Windows Login.
-----------------------------------------------------------------------------------------------
IP Configurations
-----------------------------------------------------------------------------------------------
Go to your Lineage 2 Server folder.
In each of these following folders: L2LogD, CacheD, NewAuth, PetitionD, L2NPC, and L2Server, they contain a configuration file that is either a *.ini or *.txt document. You don't need to change anything and make sure they're set at 127.0.0.1. The only time you would need to change them is if you are loading them from multiple computers! It doesn't matter if you even have a router! As long as you are loading all 6 Process from the same machine, you just need to keep most of the IP adress as 127.0.0.1.
Change the following lines in config.txt under "NewAuth\etc" folder:
DevServerIP="24.68.124.198" //Change this to your Internet IP address, your WAN, the IP that you get from your ISP. Visit to find it.
logdip="127.0.0.1" //Change this to what you used for your L2LogD.ini address.
Change the following lines in l2cache.ini under CacheD folder:
address="127.0.0.1" //Change this only if you plan to load this from a different computer! Adjust it to the ip of that computer! If PC2 has IP of 192.168.0.121 and it is planning to load L2CacheD.exe there. Then change it, otherwise leave it as 127.0.0.1!
Change the following lines in l2logd.ini under L2LogD folder:
address="127.0.0.1" //Same thing as L2CacheD.ini
Change the following lines in config.txt under PetitionD\etc folder:
webAuthServer="127.0.0.1" //Same thing as L2CacheD.ini
Change the following lines in L2NPC.ini under L2NPC folder:
//Change them accordingly to what you adjusted for them. If L2LogD.ini has ip of 192.168.0.121 on PC2. Then change that IP in L2NPC.ini to that. You are pointing L2NPC.exe to connect to the other Server Processes. Leave the ports alone!
[LogD]
address="127.0.0.1"
port=3999
[CacheD]
address="127.0.0.1"
port=2008
[server]
address="127.0.0.1"
port=2002
[map]
directory="map"
[World]
WorldId=1
[db]
address="127.0.0.1"
user="gamma" //This should be your MSSQL Login (I used sa since it sets up the sa account for you when you install SQL and sa has all permissions)
password="l2online" //This should be your MSSQL Password
[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
Country=1 //Change this accordingly to what "CLIENT" version you allow to connect!
ExceptionMailing=false
MailServer=ncs-mail.ncsoft.co.kr
Change the following lines in l2server.ini under L2Server folder:
//Again, the same explaination from L2NPC.ini config applies here as well!
[LogD]
address="127.0.0.1"
port=3999
[CacheD]
address="127.0.0.1"
port=2006
[AuthD]
address="127.0.0.1"
port=2104
[petitionD]
address="127.0.0.1"
port=2107
WorldId=1 //Leave this as 1 if you don't plan to run multiple servers! WorldId = ServerId in lin2db (will be explained furtherdown). If they're not the same number, your server won't be connecting to the same gameworld or won't find one to connect to!