Jump to content

How To Create an L2Off Server + Files For Interlude


Recommended Posts

File: Server_16_10_2007.part01.rar

DownloadLink: Download part 1

----------------------------------------------------------------------------------------------

File: Server_16_10_2007.part02.rar

DownloadLink: Download part 2

----------------------------------------------------------------------------------------------

File: Server_16_10_2007.part03.rar

DownloadLink: Download part 3

----------------------------------------------------------------------------------------------

 

-----------------------------------------------------------------------------------------------

 

 

 

Lineage II Private Server Setup Guide To guide einai sta agglika,

 

 

 

-----------------------------------------------------------------------------------------------

 

Required:

 

* Athlon 64 4200+ Processor

* 4GB RAM

* 200GB HDD

* 10mbit dedicated connection

* Microsoft Windows 2003 Server x64

 

 

Recommended:

 

* Dual Intel Xeon 2.8Ghz

* 8GB or 16GB RAM

* 2x or 3x 200GB 10k+ RPM HDDs (SCSi)

* 100mbit dedicated connection

* Microsoft Windows 2003 Server x64

 

 

 

MSSQL:

 

 

 

Download 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 What Is My Ip 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!

 

 

 

------------------------------------------------------------------------------------------

 

Setting up Database Scripts

 

------------------------------------------------------------------------------------------

 

Important! - If you are running MSSQL Server on the same machine that's hosting the server. Leave everything at 127.0.0. and 127.0.0.1!! The only time you would need to change this is if you're trying to connect to a different computer running Lineage 2 Chronicle One Server! You would then need to adjust it accordingly to that computer's IP!

 

 

 

Important!! #2 - If you already have an existing mysql db installed and are changing connection to connect to a different MSSQL Server (say to your friend's computer). You will need to update your MSSQL database information again. By doing this, make sure you export all your previous data! Because if you input the new IP changes, everything from the previous data will be lost! All character and account information are stored in lin2db and lin2world!

 

 

 

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.121 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.121 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

 

Correct order to load server processes:

 

Make sure you always load the processes in this order:

 

1/2. AuthD.

2/1. CacheD.

3. L2Server.

4. L2NPC.

 

AuthD rarely ever crashes, and you can also reload it whenever you want, it should not affect the server in general, except that people won't be able to login while it's being reloaded.

 

Since CacheD acts as a bridge to the database, if you close it, L2Server will also shutdown along with L2NPC.

 

If you close L2Server, L2NPC is also going to close.

 

L2NPC rarely ever crashes aswell, but if it does, you'll be able to reload it. However, it always takes about 10-15 minutes to fully load all NPCs.

 

Server security:

 

If you want to stay on track, you'll need to have a secure server. Otherwise people [MaxCheaters.com Grin] will jump in your server, burn it and destroy all of your work with no mercy.

Apart from protection DLLs, such as Depmax and Amped which can be found in this PPC release you'll also need to configure your Firewall to block certain ports or else you'll be susceptible to SQL/CacheD injections, and that's not good.

 

Filter the following ports in your firewall: (windows firewall, for example)

 

* 1433 (SQL) (only local area network access / closed)

* 2002 (only local area network access / closed)

* 2008 (only local area network access / closed)

* 2012 (only local area network access / closed)

* 2106 (auth) (open to the public / open)

* 7777 (l2server) (open to the public / open)

 

Original Poster: mpelades4ever from pc magazine

Link to comment
Share on other sites

WebM0nster im really new this WILL be my first server but i have things that are not clear...like for what are the 3 files on the top and do i have to download the 3 files AND the MSSQL  or not and where is this DBScript.zip and pls check this topic often cuz i want to ask questions cuz its my very first server and i want it to be succesfull maybe not more than 200 players but i want to try and make it just for the start /i hope you understand/ and ty for the guide.

Link to comment
Share on other sites

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.

 

 

Where is that??? in which folder which file...

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...
  • 3 weeks later...

great guide, +1

you can't give +1 man only donators o mods can do it so why you say it read rules better before posting you get -1 from me
Link to comment
Share on other sites

hmm i downloaded this pacj and was gonna try it but none of the exes run on my 64bit system as it says it need serial for it.

This one need to be cracked before it can be used. Wouldnt it be more usefule to send the crack on same pack your sharing instead of sharing a one there we must search thge net for working extenders or cracks for it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...