PDA

View Full Version : [SHARE] 100% L2Server INI File


mcrabben7
09.01.2007, 16:14
Here is a 100% complete l2server.ini file with comments and explanations for everything I had an idea about. All the values are set to their default values hardcoded into the server exe, except I put country to 1 cause USA > Korea xD

Hope you guys have fun with all these new, exciting settings. Enjoy ;o

P.S. Post feedback on the new settings and how they work, if you can get bot block to work, etc. I'm really, really curious.

l2server.ini part 1 of 2:
; Here is a list of EVERY l2server.ini command. This should be a 100% complete ini file.
; This took me a little bit of time to carefully extract from the L2Server.exe assembly.
; I hope I explained every setting so you can understand what each setting does.
; Thanks for downloading and hope you get some use out of this.

; File created with love by mcrabben7 on January 9th, 2007.

; DISCLAIMER:
; If your server implodes and creates a blackhole, it's NOT my fault :P
; If you use this and it works, then it is my fault! (Ok, Ok, and NCsoft too...)
; Anything that isn't a good, happy effect is *not my fault* =)

[Setting]
; Pick a mail server, though i have no idea if this actually 'works'
MailServer="mail.ncsoft.co.kr"
UserPathFind=true ; Default is true
WorldCollision=true ; Default is true
UserPort=7777 ; Default is port 7777. This port is the port user clients connect to.
Country=1 ; Default is country 0. Korea=0, USA=1, Japan=2, Taiwan=3, China=4, Thailand=5
Snoop=0 ; Default is 0. Maybe turns snoop command //snoop on or off??
ExceptionMailing=true ; Default is true. Decides if L2Server will email you on an exception (does it work?)
ExceptionMinidump=false ; Default is false. If true, it will dump a .dmp file of the latest crash/exception.
IOBufferCount=40000 ; Default is 40000. Decides the maximum number of I/O sockets you will allocate memory for.

autologoutsec=600 ; Default is 600. Most likely number of seconds before the server kicks idle/disconnected players.
GotDamageLog=false ; Default is false. Not really sure what it does, but it might enable logging for *all* damage.
BOTMessage=false ; Default is false. Probably sends a message to botters if they are caught or checked with //check_bot
BOTLog=false ; Default is false. Enables bot logging (kinda obvious...)
BOTCheckTime=120000 ; Default is 120000. Probably the amount of time //check_bot waits before returning an answer.
BOTCheckWaitTimeLimit=110000 ; Default is 110000. Probably the amount of time the player is checked for botting.
AcceptEscapeCommnad=false ; Default is false. Not sure what this does.
AcceptLowerProtocol=false ; Default is false. If enabled, this will allow ANY (lower or greater) client protocols to connect.
playtimelimit=0 ; Default is 0. Probably the maximum time a player can play per day, though it might be total. See SQL play_time column.
reconnectAuth=0 ; Default is 0. If enabled, the L2Server will automatically try to reconnect to the AuthD server if disconnected.
AgeCheckType=0 ; Default is 0. A value of 0 means don't check age, and a value of 1 means do check the age, using some korean method.

taitime=false ; Default is false. No idea what this does...

EscapeMode=1 ; Default is 1. Not really sure what this does...
canrolldice=1 ; Default is 1. Enabling this allows players to purchase "dice" items at grocery shops.

gameguard=false ; Default is false. Enables or disables GameGuard. (Untested)
gameguard_checkonly=false ; Default is false. Probably enables or disables GameGuard for bot checking only.
MultiLang=false ; Default is false. Enables or disables multiple language support??
isnonpk=false ; Default is false. Maybe this disables karma upon PKing.
cannotmonrace=false ; Default is false. Probably enables or disables the usage of Monster Derby for all players, but maybe *just* for PKers with karma.
LogMsn=true ; Default is true. Enables or disables MSN chat logging.

; This belongs in the [Event] section, but because it relies on settings up here, I will leave it here.
; For some reason, this "18age" event has no settings you can set yourself (except by npcpos edit or eventdata.ini)
; If isnonpk=false it appears to disable 18age event BUT if cannotmonrce=true it will enable it again.
; If isnonpk=true, it appears to enable the 18age event BUT if cannotmonrace=false then it will disable it.
; It appears that if BOTH isnonpk=true AND cannotmonrace=true then it will automatically enable the 18age event.
; It also appears that as long as cannotmonrace=true this event will always be enabled automatically.
;18age=on ; Broken setting. Won't work. If it did work, on/off :P

; As far as I can tell, this setting does not exist inside L2Server.
; Chances are this is an old typo that the koreans never fixed.
; The correct command for this is probably the "block" under [BOT]
; which is located right below this =)
;BOTBlock=false

[BOT]
block=0 ; Default is 0. If enabled, this would in theory block bots. However, I think this requires working GameGuard.
TestCount=3 ; Default is 3. Not sure what this means, but could be related to //check_bot taking values 1-3.

[World]
WorldId=1 ; Default id is 1. The server id in your SQL has to match this to work properly.
UserLimit=3000 ; Default is 3000. This is the maximum number of players allowed on the server.
LetBuilder=1 ; Default is 1. If enabled, and the login_flag is set in SQL to 16, GMs can login even when the limit is reached.

[CacheD]
address=localhost ; IP address or hostname the CacheD server is located on.
port=2006 ; Default is port 2006. This port is the port L2Server connects to.

[AuthD]
address=localhost ; IP address or hostname the AuthD server is located on.
port=2044 ; Default is port 2044. This port is the port L2Server connects to.
UseAuthTimeManageSystem=false
ChinaFatigueSystem=false
ChinaHalfFatigueTime=3
ChinaFullFatigueTime=5

[LogD]
address=127.0.0.1 ; IP address or hostname the LogD server is located on.
port=3999 ; Default is port 3999. This port is the port L2Server connects to.

[PetitionD]
address=127.0.0.1 ; IP address or hostname the PetitionD server is located on.
port=2107 ; Default is port 2107. This port is the port L2Server connects to.
WorldName="L2server " ; Default is "L2server" According to the original l2server.ini it must be 9 characters.
DisableStart=0 ; Default is 0. Value given to us by the original l2server.ini is 5.
DisableEnd=0 ; Default is 0. Value given to us by the original l2server.ini is 13.

[BBS]
WriteLevel=10 ; Default is 10. Not sure exactly what this does, but probably controls how much/often the SQL writes.

; It appears that these commented settings don't exist, so no need to use them. Ignore and move on.
;WorldNames="Lineage2 " ; I added this in my own personal l2server.ini to be the same name as my "world name" for my server. This is probably unneeded.
;WorldNames=";№ЩГч;Бц±ЧЗПёЈЖ®;Д«АО;ё®їА� �Є;їЎё®Д«;°ЕЅєЖѕ;µеєсѕИґА;И� �µҐ№МЖ®;ЕЧїВ;ЗБ¶хГч;·зіЄ;Д« ЅєЖјїЈ;ѕЖАМё°;ЅєЕёё®Ѕє;јјё� �ї¤;ЖдАМ»юёЈ;їЎёЈИЦіЄ;ї¤ё®Е °ѕЖ;Ѕ¬ДЛ;ЅєЕ©¶уАМµе;ЗБё®Е°� �АЅє;їАЗКё®ѕЖ;»юЕ©µР;ЕёБцЗБ ;ѕЖё®ѕЖ;їЎЅєїЈ;ї¤Д«µрѕЖ;АМѕ ЖіЄ;јј·№ЅЕ;ЕёёЈД«АМ;Д«µрѕЖ ;·ОАМїЈ"


[L2COMM]
address=127.0.0.1 ; IP address or hostname the L2COMM server is located on.
port=2010 ; Default is port 2010. This port is the port L2Server connects to.
autoconnect=1 ; Default is 1. If enabled, the L2Server will automatically try to reconnct to L2COMM if disconnected.
usesvr=1 ; Default id 1. If enabled, allows one to use the Community server. If disabled, no Community server.

[FONTCHECK]
fontcheck=0 ; Default is 0. If enabled, it probably forces the client to use a certain font.
filename=smallfont.gly ; Default is "smallfont.gly" Probably a font filename in the client.


; --------------------------------------------------------------
; This is not ANYWHERE inside L2Server.exe as far as I can tell.
; My suspicion is that this is meant for perfmon.ini.
; However, I also doubt that perfmon.ini even works, but
; maybe it does and I am wrong ;) Never know.
;
;[Report]
;Interval=600 ;minute
; --------------------------------------------------------------


[NPCPOS]
; Default for *all* of these is off. Change them to "on" to enable.
extra_mob=off ; Can be off or on. Search for "extra_mob" event in npcpos.txt
medal=off ; Can be off or on. Search for "medal" event in npcpos.txt
event_gate=off ; Can be off or on. Search for "event_gate" event in npcpos.txt
fire_event=off ; Can be off or on. Search for "fire_event" event in npcpos.txt

mcrabben7
09.01.2007, 16:16
l2server.ini part 2 of 2:
[EVENT]
; If you put an event into name, it appears L2Server will *disable* it. Limited to one name it looks like.
;name=""

; For all the rate changers below, 100 = 1x (Default), 500 = 5x, and so on.
adenaamount=100 ; Adena AND Seal Stone drop rate.
itemrate=100 ; Item drop rate.
spoilrate=100 ; Spoil rate
exprate=100 ; Experience AND SP rate (I think).
partyexprate=100 ; Party bonus experience rate. Probably just multiplies party experience bonuses.
dontdecexp=0 ; Default is 0. Won't lose Experience upon death.
dontdropitem=0 ; Default is 0. Won't drop items upon death. Not sure if this affects red players.
aiadenarate=100 ; AI.obj Adena rate. WARNING: This can break many adena-based quests. Use with caution!
aiexprate=100 ; AI.obj Experience AND SP rate. WARNING: This can break many quests. Use with caution!

Olympic=0 ; Default is 0. 1 will probably enable some special/nifty event/feature.

xmasevent=false ; Default is false. True will enable it, obviously...
xmaseventbegin="2004/12/22 10:0:0" ; Default is "2004/12/22 10:0:0" Choose a date and time for xmas event to begin.
xmaseventend="2004/12/29 10:0:0" ; Default is "2004/12/29 10:0:0" Choose a date and time for xmas event to finish.


; For all of the following events, the structure should be the exact same. Read below.
;
; The main settings "l2day", "itemdropevent", "bakevent", "year1", and "HeartEvent"
; are the settings which enable/disable each of these events. Enable with 1. Disable with 0.
;
; Settings such as "l2day_year0", "bak_hour1", "baknpcbegin_month", etc. are all just integers.
; Change those to whatever you want to use, and it should load just fine.

l2day=0
l2day_year0=0
l2day_month0=0
l2day_day0=0
l2day_hour0=0
l2day_min0=0
l2day_year1=0
l2day_month1=0
l2day_day1=0
l2day_hour1=0
l2day_min1=0

itemdropevent=0
drop_year0=0
drop_month0=0
drop_day0=0
drop_hour0=0
drop_min0=0
drop_year1=0
drop_month1=0
drop_day1=0
drop_hour1=0
drop_min1=0

bakevent=0
bak_year0=0
bak_month0=0
bak_day0=0
bak_hour0=0
bak_min0=0
bak_year1=0
bak_month1=0
bak_day1=0
bak_hour1=0
bak_min1=0
baknpcbegin_year=0
baknpcbegin_month=0
baknpcbegin_day=0
baknpcbegin_hour=0
baknpcbegin_min=0
baknpcend_year=0
baknpcend_month
baknpcend_day
baknpcend_hour
baknpcend_min

year1=0
Year1_year0=0
Year1_month0=0
Year1_day0=0
Year1_hour0=0
Year1_min0=0
Year1_year1=0
Year1_month1=0
Year1_day1=0
Year1_hour1=0
Year1_min1=0
Year1gift_year0=0
Year1gift_month0=0
Year1gift_day0=0
Year1gift_hour0=0
Year1gift_min0=0
Year1gift_year1=0
Year1gift_month1=0
Year1gift_day1=0
Year1gift_hour1=0
Year1gift_min1=0

HeartEvent=0
heart_year0=0
heart_month0=0
heart_day0=0
heart_hour0=0
heart_min0=0
heart_year1=0
heart_month1=0
heart_day1=0
heart_hour1=0
heart_min1=0

I also will attach the ini file to this post, in case you don't want to copy and paste it. Enjoy!

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
Complete_L2server_INI.rar — 3709 байт

m4rk
09.01.2007, 16:24
Nice mccraben, thanks for this useful info!

evern
09.01.2007, 16:28
thanks mcrabben

Nevyn
09.01.2007, 16:36
Kebab! Vely kebab!

HF
09.01.2007, 16:45
офигенно
* it's have not translation to english, but show all my feelings *

mcrabben7, it's one more step to be holy-man :)

HF
09.01.2007, 17:02
i can do notes for some options with non finished notes

AcceptEscapeCommnad=false ; Default is false. Not sure what this does.

it option enable/disable /unstuck player command on server

EscapeMode=1 ; Default is 1. Not really sure what this does...

it work with first option. but i dont know how work 0,1,2... :)

;18age=on ; Broken setting. Won't work. If it did work, on/off :P

it option enable event [18age] = Monster Derby Track and Lotto

ebosh
09.01.2007, 18:44
отлично, спасибо большое !!!
nice, big thanks !!!

l2serverfull
09.01.2007, 19:01
niceeeeeee thx lottttttttttttttttttttttttttttttttttttt :D:D:D

Ma4o
09.01.2007, 19:04
да, прикольно, я знал только про UserPort=7777, теперь и про остальное знать буду

Bloodust
09.01.2007, 19:59
Sweet, thx !

~Marquis~
09.01.2007, 20:12
Really usefull Thanks

brshooterz
09.01.2007, 20:25
thanks mcrabben7l i will do some tests now :)

AsterisKSM
09.01.2007, 20:46
This is Nice Mcrabben THX!.

Marios145
09.01.2007, 21:18
OMG THANK YOU mcrabben!!!

SlayerX
10.01.2007, 01:06
very nice o_o

divine
10.01.2007, 09:30
about quest rates some people told that if you change that values the requirements are also increased..

anyone can confirm that ?
you can easyly test it on clan level up system..

Forcer
10.01.2007, 10:08
Nicee :D :D :D :D

mcrabben7
10.01.2007, 12:03
about quest rates some people told that if you change that values the requirements are also increased..

anyone can confirm that ?
you can easyly test it on clan level up system..

If you change the AI rates, any quest that requires taking something from you (like clan level up) will also be increased by the same amount. Only way to fix it is by using a custom AI with those numbers reduced.

Kenjiro
10.01.2007, 12:18
Thanks a lot! Great work!

Lockbete
10.01.2007, 14:59
yeah really nice share mcrabben7, not sure if im gonna use it but I read it so u need a thanks anyway! :)

dirkr
10.01.2007, 16:07
nice share mcrabben7 ! .. always wonderd what other stuff you could influence thru the l2server.ini

amin
10.01.2007, 18:13
Many thanks.

Fileburner
10.01.2007, 18:33
very useful thanx alot ^^

amin
11.01.2007, 16:54
ChinaFatigueSystem=false
ChinaHalfFatigueTime=3
ChinaFullFatigueTime=5

I thought these settings implement Fatigue system applied in China.
According to regulations, gamer got 50% of exp/sp/drop rate/drop amount... after 3hr of continuous playing.
After 5hr of playing, gamer got nothing.

Anyway, they do not applied these rule nowadays.

RetaL
11.01.2007, 20:35
useful thing,thx a lot.

midnight
11.01.2007, 21:00
wow really good, thanks

mcrabben7
11.01.2007, 22:54
Anyone who tries to run l2Server with this ini will end up crashing before it's done loading. Still not sure exactly which setting is messing it up, etc.

petre1980
11.01.2007, 23:12
Anyone who tries to run l2Server with this ini will end up crashing before it's done loading. Still not sure exactly which setting is messing it up, etc.

Thanks for share. Set WorldCollision=false, reconnectAuth=1 and it will work.

m4rk
11.01.2007, 23:12
Useless post, sorry :p
And thanks Petre1980 for the fast answer :)

mytynyk
11.01.2007, 23:28
can use that param to set SP too?

sprate=value

(i get this from PP too)

ty

Lucas
12.01.2007, 16:17
Really, really nice work mcrabben7, congratulations for such a good job and thanks for sharing it with us.

mcrabben7
12.01.2007, 16:25
can use that param to set SP too?

sprate=value

(i get this from PP too)

ty

as far as I know exprate is for BOTH exp AND sp.

dirkr
12.01.2007, 20:16
anybody tried hte dontdropitem=1 ? i tested it out and seems to affect reds too..

so anybody know a way to either lower the droprate when you are white or to just turn it off but still leave reds dropping stuff

mcrabben7
13.01.2007, 09:49
Ok, WorldCollision=true will CRASH l2server when it's loading door data, but if it's false then this will all load. Just a heads up.

Lucas
16.01.2007, 21:23
The exp rate stuff doesn't work. I tried adding it to my l2server.ini and it doesn't change the experience, sp or anything in the server, or am I doing something wrong?

FidoW
16.01.2007, 21:28
The exp rate stuff doesn't work. I tried adding it to my l2server.ini and it doesn't change the experience, sp or anything in the server, or am I doing something wrong?

You are doing something wrong, i am using that params to modify rates in my server since the 1st day of C4 (more than 4 months).

I never modify the rates in npcdata... is the original file with my fixes...

Lucas
16.01.2007, 22:35
You are doing something wrong, i am using that params to modify rates in my server since the 1st day of C4 (more than 4 months).

I never modify the rates in npcdata... is the original file with my fixes...

I tried adding this at the end of the file

adenaamount=500000 ; Adena AND Seal Stone drop rate.
itemrate=500000 ; Item drop rate.
spoilrate=500000 ; Spoil rate
exprate=500000 ; Experience AND SP rate (I think).
partyexprate=100 ; Party bonus experience rate. Probably just multiplies party experience bonuses.
dontdecexp=1 ; Default is 0. Won't lose Experience upon death.
dontdropitem=1 ; Default is 0. Won't drop items upon death. Not sure if this affects red players.
aiadenarate=100 ; AI.obj Adena rate. WARNING: This can break many adena-based quests. Use with caution!
aiexprate=100 ; AI.obj Experience AND SP rate. WARNING: This can break many quests. Use with caution!

And restarted the server and nothing. Any suggestions?

petre1980
16.01.2007, 23:37
I tried adding this at the end of the file



And restarted the server and nothing. Any suggestions?

Try to remove comments form every line in l2server.ini or put the comment in a new line not after the options.

mcrabben7
16.01.2007, 23:54
I noticed later (after thinking a little) that comments on the same line will break this INI file. For just understanding them, though, comments are good.

As long as you remove all comments (or move them to a new line) and change WorldCollision to false this INI will load and run just fine.

kin
17.01.2007, 07:40
I tried adding this at the end of the file



And restarted the server and nothing. Any suggestions?

All rates should go after [EVENT].
So

[EVENT]
adenaamount=100
itemrate=100
exprate=100

Lucas
17.01.2007, 19:11
Yes, I noticed that, added it and it worked. Thanks for your help.

I couldn't get mcrabben7 ini to work though. If I use his ini, all configured for my server it won't connect with the Auth so when you login the server appears as down, but if I use my ini it works just fine. I compared configs and everything looks fine. I guess there is some config that ruins some other config on mcrabben7 ini file. I'm not sure. Maybe someone would like to check that out.

Thank you again

mcrabben7
18.01.2007, 04:54
Yes, I noticed that, added it and it worked. Thanks for your help.

I couldn't get mcrabben7 ini to work though. If I use his ini, all configured for my server it won't connect with the Auth so when you login the server appears as down, but if I use my ini it works just fine. I compared configs and everything looks fine. I guess there is some config that ruins some other config on mcrabben7 ini file. I'm not sure. Maybe someone would like to check that out.

Thank you again

Make sure you remove *all* comments from the same line as the options by either deleting them entirely, or just making them go onto a new line.

I am pretty sure even some extra whitespace can ruin an option. WindowsAPI INI functions are useful, but a little picky :P They were made for DOS 16-bit INI files, so back then the idea of comment lines wasn't really a concern.

Lucas
18.01.2007, 16:33
Make sure you remove *all* comments from the same line as the options by either deleting them entirely, or just making them go onto a new line.

I am pretty sure even some extra whitespace can ruin an option. WindowsAPI INI functions are useful, but a little picky :P They were made for DOS 16-bit INI files, so back then the idea of comment lines wasn't really a concern.
Thank you very much, interesting stuff, I'll do that. :)

Regards

Metal
20.01.2007, 22:50
Tnx for share and keep up the good work.

rodier
25.01.2007, 06:56
lol
isnonpk=true = no PK allowed.. anywhere. Simply is not possible to attack player.. incorrect target.

mcrabben7
25.01.2007, 19:03
lol
isnonpk=true = no PK allowed.. anywhere. Simply is not possible to attack player.. incorrect target.

Now go open "Farmer L2! Official C4 with NO PKs, NO PVP, just PVE!" xD

Marios145
26.01.2007, 15:38
Now go open "Farmer L2! Official C4 with NO PKs, NO PVP, just PVE!" xD
go play retail, its almost the same :D

Genes2
28.03.2007, 00:39
i have just that on my file L2server.ini it's good ?


[CacheD]
address="127.0.0.1"
port=2006

[AuthD]
address="127.0.0.1"
port=2104

[LogD]
address="127.0.0.1"
port=3999

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

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

[Report]
Interval=600 ;minute

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

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

[BBS]
WriteLevel=10
WorldNames=";№ЩГч;Бц±ЧЗПёЈЖ®;Д«АО;ё®їА� �Є;їЎё®Д«;°ЕЅєЖѕ;µеєсѕИґА;И� �µҐ№МЖ®;ЕЧїВ;ЗБ¶хГч;·зіЄ;Д« ЅєЖјїЈ;ѕЖАМё°;ЅєЕёё®Ѕє;јјё� �ї¤;ЖдАМ»юёЈ;їЎёЈИЦіЄ;ї¤ё®Е °ѕЖ;Ѕ¬ДЛ;ЅєЕ©¶уАМµе;ЗБё®Е°� �АЅє;їАЗКё®ѕЖ;»юЕ©µР;ЕёБцЗБ ;ѕЖё®ѕЖ;їЎЅєїЈ;ї¤Д«µрѕЖ;АМѕ ЖіЄ;јј·№ЅЕ;ЕёёЈД«АМ;Д«µрѕЖ ;·ОАМїЈ"

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

[BOT]
block=1

[NPCPOS]
extra_mob=on
medal=off
event_gate=off
heart_event=off
letter_collector=off
bak_event=off
fire_event=off
18age=off
christmas=off
start_weapon=off


[EVENT]
adenaamount=100
itemrate=100
exprate=100
sprate=100
spoilrate=100
partyexprate=100
aiexprate=100
aiadenarate=100