Page 1 of 1

[Solved] Editing L2J GameServer Database

Posted: Fri Jun 29, 2012 4:11 pm
by NoobException
Hello all,

I've managed to set up a fresh copy of the l2j server from svn. Everything is running fine and I've managed to get the client to connect. Gameplay is fine and everything seems to work so far,

a few questions (assume I am a noob, lol) :D ,

I do have experience in Maple and I would like to know a little about the following,

- How to edit the database? : L2J seems to have various security measures preventing me from doing so. For example if I set my level to 42 it automatically resets it back to level 1. Editing skills apply as well.

- How to set character access level? : Again, L2J resets the accesslevel of the character table when edited by hand. What I really want to do is check out the stock admin commands :P (which ofc I need a character with access level > 0)

- How to customize npc's (grab an existing npc, put your code in, no client editing ;))? I know its a mixture of python and html, but I don't know where to start :P

Thanks everyone for your help, and have a nice day! :D

L2J Revision Number: 5459
L2JDP Revision Number: 8949

Re: Editing L2J GameServer Database

Posted: Fri Jun 29, 2012 5:59 pm
by Zoey76
Level is related to XP so you have to set the experience points for the wanted level. Better do it in-game with //set_level 80
Skills should work, except you are logged in and you add skills and then you relog, it will override the database-given skills. Better do it in-game with //add_skill id lvl or //give_all_skills_fs for all skills.
Same for access level.

About NPCs try to check how quest and teleporters are made.

Re: Editing L2J GameServer Database

Posted: Fri Jun 29, 2012 7:03 pm
by NoobException
Thanks :P

I'll check back on ya if I run into more problems.

:)