[Solved] Editing L2J GameServer Database

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
NoobException
Posts: 10
Joined: Thu Jun 28, 2012 2:07 am

[Solved] Editing L2J GameServer Database

Post 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
Last edited by NoobException on Sun Jul 01, 2012 6:37 am, edited 1 time in total.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Editing L2J GameServer Database

Post 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.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
NoobException
Posts: 10
Joined: Thu Jun 28, 2012 2:07 am

Re: Editing L2J GameServer Database

Post by NoobException »

Thanks :P

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

:)
Post Reply