L2Exploiters DevTeam
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[Guide]How to make a L2OFF server Part 2

2 posters

Go down

[Guide]How to make a L2OFF server Part 2 Empty [Guide]How to make a L2OFF server Part 2

Post  [Developer]DevZeuS* Sat Aug 01, 2009 1:52 am

This basically shows all kinds of information regarding your network you'll need to know. Keep this window open, it'll be useful for many things beyond this point.

3. Open the CacheD Serial Generator you've downloaded earlier. It should look like this:

[Guide]How to make a L2OFF server Part 2 Cached

Insert the Mac Adress and the Machine Name (Host name) you've found in ipconfig /all in that CacheD Generator and generate the serial number.
Once you've done that, open CacheD.exe. It'll open a box asking for you to insert the Serial Number in. Insert the generated serial number in there.

Close it and restart it. It should ask for three things:

Code:
Database: You'll type lin2world here. If it's already "linworld", change it to "lin2world".
Username: You'll type sa or whatever user you set to MSSQL here.
Password: You'll type the password you've chosen for your database here.

Once you've inserted that and pressed OK, it should start CacheD. Congratulations, you've successfully configured CacheD.

4. Go to the PPC release folder > AuthD. Open config.txt.

Make sure it looks like this:

Code:
serverPort = 2104
serverExPort = 2106
serverIntPort = 2108
worldport = 7777
DBConnectionNum=10
encrypt = true
numServerThread = 2
numServerExThread = 2
numServerIntThread = 2
logDirectory="c:\work\log"
;30206 : l2, 30310 : Sl
ProtocolVersion = 30810
;8:lineage2, 4 halo
GameID=8
DesApply=false
PacketSizeType = 3
useForbiddenIPList=true
ReadLocalServerList=false
OneTimeLogOut=true
CountryCode=2
DevConnectOuter=true
DevServerIP="insert_your_WAN_ip_here"
;»á·� ��°‘¡� º�º���´�´�.
;SocketTimeOut�º »ç¿ë��°‘ Action�� �ü�ô ¾ø�»¢§ ²÷´� ½�°£��´�´�.
;·�±����� ¾�¹« ¾�¼�¾ø�� °‘¸¸�÷ ��´�°� �» ¹æ�â��±Ò �§����´�´�.
SocketTimeOut = 60
;SocketLimit´�
SocketLimit=5000
AcceptCallNum=1
;UseOneIOCom=true
UseOneIOCom=false
AcceptThread=1
WaitingUserLimit=1000
dumppacket=true
UserData=false
UseLogD=false
logdip="127.0.0.1"
logdport=3999
logdconnectinterval=120

SupportReconnect=true
;(true=auth-main reconnect on/false=auth-main reconnect off)
AutokickAccount = true
NewEncrypt = false

Pay extra attention to these two lines:

DevConnectOuter=true
DevServerIP="insert_your_WAN_ip_here"

Lines with the ; signal before them can be removed if you'd like, since they're just comments.

Make sure DevConnectOuter is set as true, and at DevServerIP you have to insert the WAN IP here. (Click to learn it!)

Code:
Database: You'll type lin2db here. If it's already "lindb", change it to "lin2db".
Username: You'll type sa or whatever user you set to MSSQL here.
Password: You'll type the password you've chosen for your database here.

After you've inserted the correct information and pressed OK, AuthD should load. Congratulations, you've successfully configured AuthD.

6. Go to PPC Release folder > L2NPC. Open l2npc.ini.

Make sure the first four lines are line this:

Code:
[server]
address="127.0.0.1"
port=2002

[CacheD]
address="127.0.0.1"
port=2008

7. Go to PPC Release > L2Server folder. Open l2server.ini. It should look like this:

Code:
[CacheD]
address="127.0.0.1"
port=2006

[AuthD]
address="your_wan_ip_adress_here"
port=2104

[LogD]
address="127.0.0.1"
port=3999

[World]
WorldId=1
UserLimit=1000
LetBuilder=1

[PetitionD]
address="127.0.0.1"
port=2107
WorldName=LineageIV"
;world name have to exact 9 characters.
DisableStart=5
DisableEnd=13

[Report]
Interval=600 ;minute

[Setting]
UserPathFind=true
WorldCollision=false
ExceptionMailing = false
MailServer=10.10.10.254
ExceptionMinidump = false
IOBufferCount=30000
;check age (0:don't, 1:korean, default is 0)
AgeCheckType=0
AcceptEscapeCommand = true
country=4
; Korea=0, USA=1, Japan=2, Taiwan=3, China=4, Thailand=5
BOTLog = false
BOTBlock = false
gameguard=false
gameguard_checkonly=false
canrolldice=0
reconnectAuth=1

[FONTCHECK]
fontcheck=0
; enable=1, disable=0
filename=smallfont.gly

[BBS]
WriteLevel=10
WorldNames=";ΒΉΓ�Γ�Γ·;Γ�ΓΆΒ±Γ�Γ�Γ�ΒΈΒ£Γ�Β�;Γ�Β«Γ�Γ�;ΒΈΒ�ΒΏΓ�Β³Βͺ;¿‘¸Β�Γ�Β«;Β°Γ�Β½ΒΊΓ�ΒΎ;
Β΅Γ₯ΒΊΓ±ΒΎΓ�Β΄Γ�;Γ�ΓΉΒ΅Β₯ΒΉΓ�Γ�Β�;Γ�Γ�ΒΏΓ�;Γ�Γ�ΒΆΓ΅Γ�Γ·;·ç³Βͺ;Γ�«½ºΓ�ΒΌΒΏΒ£;ΒΎΓ�Γ�Γ�ΒΈΒ°
;Β½ΒΊΓ�ΒΈΒΈΒ�Β½ΒΊ;ΒΌΒΌΒΈΒ�ΒΏΒ€;Γ�Γ€Γ�Γ�»þ¸£;¿‘¸£Γ�Γ�Β³Βͺ;ΒΏ
€¸Β�Γ�°¾Γ�;Β½Β¬Γ�Γ�;Β½ΒΊΓ�Β©️ΒΆΓ³Γ�Γ�Β΅Γ₯;Γ�Γ�
ΒΈΒ�Γ�°¿Γ�Β½ΒΊ;ΒΏΓ�Γ�Γ�ΒΈΒ�ΒΎΓ�;»þΓ�Β©️Β΅Γ�;Γ�ΒΈΓ�ΓΆΓ�Γ�;ΒΎΓ�ΒΈΒ�ΒΎΓ�;ΒΏΒ‘
Β½ΒΊΒΏΒ£;ΒΏΒ€Γ�«¡ð¾Γ�;Γ�Γ�ΒΎΓ�Β³Βͺ;ΒΌΒΌΒ·ΒΉΒ½Γ�;Γ�ΒΈΒΈΒ£Γ�Β«Γ�Γ�;Γ�«¡ð¾Γ�;Β·Γ�Γ�Γ�ΒΏΒ£"

[L2COMM]
Address="127.0.0.1"
Port=2010
Autoconnect=0
Usesvr=0

[BOT]
block=0

[NPCPOS]
extra_mob=off

Leave it as it is, only replace the line "your_wan_ip_adress_here" with, well... Should be self-explanatory. Load L2Server.exe. It'll prompt a box window asking for a serial number. Use the serial number that you generated with Cached Serial Generator. It should start loading. If it loads fine, then you're all set!


[size=14pt]6. Correct order to load server processes:[/size]

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.


[size=14pt]7. Server security:[/size]

If you want to stay on track, you'll need to have a secure server. Otherwise people [MaxCheaters.com ;D] 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)


    [li]1433 (SQL) (only local area network access / closed)[/li]
    [li]2002 (only local area network access / closed)[/li]
    [li]2008 (only local area network access / closed)[/li]
    [li]2012 (only local area network access / closed)[/li]
    [li]2106 (auth) (open to the public / open)[/li]
    [li]7777 (l2server) (open to the public / open)[/li]



[size=14pt]8. Have fun with your own server! ;D[/size]
[/quote]
[Developer]DevZeuS*
[Developer]DevZeuS*
L2-Dota-Foc-Cs Mod/Admin
L2-Dota-Foc-Cs Mod/Admin

Posts : 93
Join date : 2009-08-01
Age : 28
Location : OLympos

https://l2exploiters.forumakers.com/

Back to top Go down

[Guide]How to make a L2OFF server Part 2 Empty Re: [Guide]How to make a L2OFF server Part 2

Post  [Developer]ZoDiaC* Mon Aug 03, 2009 2:42 am

nc guide man....i think the new dev's can help from this
[Developer]ZoDiaC*
[Developer]ZoDiaC*
Admin
Admin

Posts : 41
Join date : 2009-07-29
Age : 31
Location : Greece

https://l2exploiters.forumakers.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum