Chronicle Server Setup Simplified
Lineage 2 Chronicle Server Guide:
(Honestly It was very hard for me to get this all setup, so I will post a guide on how I did it)
*By following this guide I have my server up with all textures/quests and options of the actualy Lineage 2 server and it runs fine even on my computer with 512mb or RAM!
*Also this guide is my way of following hicks guide posted above, most of the work was done by him, im just recording what I am doing step by step to follow his guide as best I can
Requirements:
Windows XP SP2 (SP1 WILL NOT WORK BECAUSE OF BOOT.INI ISSUES)
Microsoft SQL Server (I Used 2000 Developer version, DO NOT get Enterprise edition as it only works on Windows NT)
Files: (Almost all these can be downloaded with links from hicks post)
Lineage 2 Chronicle Client (Buy the game or download: ftp://l2clientdownload.lineage2.com/...2installer.zip, open the game at let it update to get chronicle 1)
L2Server.rar (173 MB)
L2server.zip (1.81 MB)
L2ASP.zip (434.1 KB)
l2j-tools.zip (21.7 KB) *THIS FILE IS FROM L2J SERVER, GOOGLE IT :)
DBScript.zip (103.4 KB)
Fixed15-10-2004html.zip (3.86 MB) *This file was posted on Ragezone forums
l2cnmeshes.zip (164 KB) *This file was posted by hicks on forum
l2cnpatch.zip (1.96 MB) *This file was posted by hicks on forum
c2Textures.zip (268 MB) *Google C2 Texture or check forum
<<Pre-Config Section>>
Extract L2Server.rar to a directory on your computer
Extract L2Server.zip to the CHN_Server_20040604 directory, when asked to overwrite click yes
Extract DBScript.zip to the DBScript directory, when asked to overwrite click yes
<<Changing INI Files>>
*If you dont have a router replace 192.168.0.100 with 127.0.0.1 in the lines below, if you do have a router replace 192.168.0.100 with your internal IP, to get your internal IP go: Start->Run->cmd.exe then type ipconfig, the IP Address listed is your internal IP.
*If you are playing on the internet replace 24.68.124.198 with your external IP address, to get this go to http://www.whatismyip.com (and forward the appropriate ports if you have a router/firewall so people can access)
*If you are playing on a LAN network just use your internal IP as your external IP so only people from your network can connect
Change the following lines in config.txt under NewAuth\etc folder:
DevServerIP="24.68.124.198"
logdip="192.168.0.100"
Change the following lines in l2cache.ini under CacheD folder:
address="192.168.0.100"
Change the following lines in l2logd.ini under L2LogD folder:
address=192.168.0.100
Change the following lines in L2NPC.ini under L2NPC folder:
address="192.168.0.100"
address="192.168.0.100"
address="192.168.0.100"
address="192.168.0.100"
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
Change the following lines in l2server.ini under L2Server folder:
address="192.168.0.100"
address="192.168.0.100"
address="192.168.0.100"
address="192.168.0.100"
WorldId=1 *This should be the digits of your internal IP after the last . (In my case WorldId=100)
Change the following lines in config.txt under PetitionD\etc folder:
webAuthServer="192.168.0.100"
<<Setting up Database Scripts>>
open lin2comm_new.sql under DBScript
find
set @conn_str = '127.0.0.' + @world_id + ''';''sa'';''l2online'
change 127.0.0. to the first 3 sets of numbers of your internal IP (If your internal IP is 192.168.0.100 then enter 192.168.0.)
change sa as your SQL database account
change l2online as your SQL database password
there are 3 lines you have to change
find
'SQLOLEDB', '127.0.0.1';'sa';'l2online'
change 127.0.0.1 to your internal IP
change sa as your SQL database account
change l2online as your SQL database password
there is only 1 line you have to change
save and close the file.
open lin2world_20040609_all.sql under DBScript
find
set @conn_str = '127.0.0.' + @world_id + ''';''sa'';''l2online'
change 127.0.0. to the first 3 sets of numbers of your internal IP (If your internal IP is 192.168.0.100 then enter 192.168.0.)
change sa as your SQL database account
change l2online as your SQL database password
there are 3 lines you have to change
find
'SQLOLEDB', '127.0.0.1';'sa';'l2online'
change 127.0.0.1 to your internal IP
change sa as your SQL database account
change l2online as your SQL database password
there are 2 lines you have to change
save and close the file.
<<Setting up Databases>>
Make sure the SQL server is running, Open Service Manager (found in start menu) and if the start/continue button isn't greyed out click it.
Open SQL Server Enterprise Manager (start menu again), double click SQL Server Group, double click (local) the click OK. Double click on databases folder, to make a database right click and select New Database. Make the following databases: lin2world, lin2comm, lin2log, lin2report, lin2db, petition
If you used sa as your account you dont have to give permissions cause they already are set, if you used another account you have to make it and give permissions to the databases (I just used the sa account)
Go to the tools menu, then click SQL Query Analyser.
Change the database drop down menu on the top bar to lin2world. Then click the Load SQL Script button (Also on the top bar). Choose lin2world_20040609_all.sql (Located in the DBScript folder). Click the Parse Query button (blue check mark icon) then once that is done click Execute Query (The green triangle icon). After this is complete go file save.
Change the database drop down menu on the top bar to lin2comm. Then click the Load SQL Script button (Also on the top bar). Choose lin2comm_new.sql (Located in the DBScript folder). Click the Parse Query button (blue check mark icon) then once that is done click Execute Query (The green triangle icon). After this is complete go file save.
Change the database drop down menu on the top bar to lin2log. Then click the Load SQL Script button (Also on the top bar). Choose lin2log_20040416.sql (Located in the DBScript folder). Click the Parse Query button (blue check mark icon) then once that is done click Execute Query (The green triangle icon). After this is complete go file save.
Change the database drop down menu on the top bar to lin2report. Then click the Load SQL Script button (Also on the top bar). Choose lin2report_20040416.sql (Located in the DBScript folder). Click the Parse Query button (blue check mark icon) then once that is done click Execute Query (The green triangle icon). After this is complete go file save.
Change the database drop down menu on the top bar to lin2db. Then click the Load SQL Script button (Also on the top bar). Choose lin2db_AuthDBSchema.sql (Located in the DBScript folder). Click the Parse Query button (blue check mark icon) then once that is done click Execute Query (The green triangle icon). After this is complete go file save.
Change the database drop down menu on the top bar to lin2db. Then click the Load SQL Script button (Also on the top bar). Choose lin2db_update.sql (Located in the DBScript folder). Click the Parse Query button (blue check mark icon) then once that is done click Execute Query (The green triangle icon). After this is complete go file save.
Change the database drop down menu on the top bar to petition. Then click the Load SQL Script button (Also on the top bar). Choose petition.sql (Located in the DBScript folder). Click the Parse Query button (blue check mark icon) then once that is done click Execute Query (The green triangle icon). After this is complete go file save.
Close SQL Query Analyzer and open SQL Server Enterprise Manager. Under databases click lin2db then double click the tables icon. Right click on the server table go open table, then select return all rows. Add the following information:
(too add information in for the example id = 1 you would put the number 1 in the id column)
id = 1
name = same as the worldname in l2server.ini
ip = your external IP
inner_ip = your internal IP
ageLimit = 0
pk_flag = 0 PK not allow; 1 allow
kind=0
port=7777
Close the SQL Server Enterprise Manager.
**Continued in Next Post**