Advanced Configuration
Gameserver
You can tweak your gameserver config by editing all the "*.properties" files located in "/server/l2j/gameserver/config". I won't give details for every file because everything is explained in, you just have to open them with a text editor :)
Here is the list of what you can change :
Code:
access.f
altsettings.properties
command-privileges.properties
custom.properties
GMAccess.properties
other.properties
pvp.properties
server.properties
siege.properties
signs.properties
spoil.properties
Database
The database is like the "server memory", where all the players, items & NPC informations are stored. It's using the XML files of the server to fill the specs. value of each NPC / item. Here is a small schematic of how is it working :

You can access to it on the computer where the server is installed by opening the adress "http://localhost/a/".
However, the database access is restricted to the IP of the server so you can't access it from another computer. If you want to do that, you must create an admin account with your computer's IP :
- Connect to the database in local mode like described above
- Click on "Privileges"
- Click on "Add a new User"
You should see something like this :

Enter a username, a password, the IP of your computer in the "Host" area and click on "Check All" .
For accessing throught LAN, enter the LAN IP of your computer, for accesssing throught internet enter the internet IP of your computer.
If you have a dynamic IP, you can select "Any Host" but then everyone can connect to your database, and even if they can't access it it's not very secure :D
When you filled all the values like discribed above, press "GO" on the right.
Once it's done, open the file "config.inc.php" located in "server/diskw/home/admin/www/" and change the line
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
by
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
Save & close.
Then open the file ".htaccess" located in "server/diskw/home/admin/www" and add the line :
Allow from YOUR_IP_ADRESS
where YOUR_IP_ADRESS is the same IP that you used to create an account in phpmyadmin before.
Save & close.
You can now access to the database on your computer by opening "http://database_server_ip_adress/a/" in your web browser and writing your account informations down.
Accessing the database make you able to change players inventory, name, stats, access_lvl ; NPC, weapons, armors stats but don't forget to change also this in the XML files.
BACKUP YOUR DATABASE OFTEN SO IF SOMETHING GOES WRONG YOU WON'T LOOSE EVERYTHING !
You can backup your database by clicking on "Export" on the main page.
In-game Admin system
The in-game admin system is based on an access lvl given to every character in the game. A player with access lvl "100" can use all admins commands that requires "100" and less access lvl.
You can set the needed acces lvl for each admin command by editing the "GMAccess.properties" and "command-privileges.properties" files located in "/server/l2j/gameserver/config".
For exemple, let's say there are 3 admin commands :
admin_command_1 = 50
admin_command_2 = 100
admin_command_3 = 150
With this configuration, a player with 150 acces lvl can use admin command 1, 2, 3 whereas a player with 50 access lvl can only use admin command 1.
For changing the access lvl of a character, you must go in the database, browse the "characters" table and edit the one that you want :

The most used admin commands can be seen here
Creating - Importing new items or NPCs
It's possible to create new weapons, armors, items or spawn new mobs like you can see it in the others topics in RageZone forums but you need to be very friendly with server and client engines (and photoshop for some specific stuff) to do such a thing so if you don't feel confortable with this just wait for the others experienced users to release their work :)
Otherwise you can give me a PM if you need some advices about it, even if i'm far to be the best for doing this (as you can see my paint skills :D )
Frequently Asked Questions
Please read this section carefully before asking something ! If you don't find any answer, please discribe your problem as much as possible (including screenshots).
Additionals infos can be found in the "readme.txt" file located in "/server/"
How do i create an account on my server ?
By default the account creation is automatic when you log in with the client. You can also disable this an force your users to create an account by editing the line
to
in the "loginserver.properties" file located in "server\l2j\login\config".
The players can create their account by connecting to "http://your_server_ip/" with their web browser.
I wrote a login / password in my client but when i clic on the "login" buttom nothing happens and this message is displayed on the game server :
"Client Protocol Revision: ... is too high. Closing connection."
You forgot to edit the line "MaxProtocolRevision" in the "server.properties" file.
What is the ID of the super haste buff ?
The id is 7029.
I can't download <enter your choice here>, the link is broken !
PM me and i'll try to fix it as soon as possible ;)
I got a critical error message when i start the game
Update your graphic card drivers and install directx 9.0c if you don't have it.
I sometimes have a java.lang.nullpointerexception message from the server. What is that ?
It's a small problem from the gameserver code, report it with a screenshot here
I cant see chat and menu bar in the game !
Use the "reinitialise interface" buttom in the options.
I got a "Files are corrupted ! Please Full Check!" message when i run the game
You mistaked when decrypting or encrypting l2.ini
I got a "Server terminated abnormaly" message when i run the gameserver
You didn't run the "start.exe" file before starting the server or you didn't install the database corectly.
I got a "Client is not using latest Authentication method. (Min is 0)" message when i try to connect to the server in the game
You can't use a Chronicle 3 client to play if the game is not fully updated
I can connect to my server but the others players can't, what can i do ?
Check if you gave the right IP to them and if you did, then you must forward your ports. You can find all explanations here
I got a Gameguard error message when i run the game
Delete your "Gameguard" folder located in "/system/" in your game folder, then launch the game and let Gameguard update it's file. If it's not working, try to check if your ports are forwared.
Nothing happens when i use the //admin command
You didn't set a correct access level to your character. Look the "In-game Admin system" paragraph above.
I got a "CRC error" when i extract the archive, what can i do ?
When i try to open the "L2_C4_installer" archive i get this message : "The archive is either unknown or damaged"
Use Winrar and a good download manager.
I got a "Stream error detected during decompression" error when I try to decrypt l2.ini
You must use the l2.ini from the patched "/system/" folder (the one that you can download in the first post), not the original l2.ini
How can i backup my database ?
Config as shown here and click "GO" (don't forget to select all the database in the list) :

you'll obtain a "l2jdb.sql" file that is the backup of your database.
What means "PTS" client ?
"Public Test Server", it's the old C4 client that was used for C4 beta test. You shouldn't download it and take the retail C4 client.
How can I edit a shop list ?
Go to your database, open the "merchant_buylists" and change the IDs of the items of the shop you want to edit. You can also create new lines to add new items.

for exemple if you want to add the item that have for ID number 34 to vendor 1, add a new line and fill with values :
34, price you want, 1, order in the shop list
How can i become a hero and have the hero's glow ?
Select your character name and use the command //sethero when your are admin.
Wehn i launch "database installer.bat" i have this error : Can't connect to MySQL server on 'localhost'
You set a wrong path to your database in "database installer.bat", edit it again :)
When i log in i can see the server list but they have ping 9999, what can I do ?
Use Lineage 2 Chronicle 4 client instead of Chronicle 3 :)
Every people that connect to my server is an admin ! How can i stop that ?
change
Everybodyhasadminrights=false
by
Everybodyhasadminrights=true
in the file "server.properties"
How can I change the server name in the list ?
Read the "readme.txt" file ;)
When i launch "start.exe" i have a "diskw is busy" error, what can I do ?
Open the windows command prompt, browse to your server directory (cd server) and use this command : "start.bat <another disk letter than w>"
exemple : for starting the Database on n: drive.
I have this error when i use l2encdec : "I/O file error occured"
You mistaked with the name of the input file.
How can i change the buff time duration ?"
Check here : http://forum.ragezone.com/lineage2-e...xed-96905.html
I'm having problems with rev ***, what can i do ?
You will only receive help for the avariable rev of this topic, if you need help for another rev post in the main topic where you get it.
Look here : http://forum.ragezone.com/lineage2-e...es-114675.html