Nickname color in 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
celarien
Posts: 10
Joined: Sun Jan 25, 2009 8:01 am

Nickname color in database

Post by celarien »

Does anyone know how (or if it's possible) to set a character's nickname color via database?

The access_levels table is used for what? Could I create a new access level for a common player? If so, how do I set that player's access level? (Because by what I have in that table the admin's access level is 1, but to create an admin you must set the character's access level to 127)

Thanks in advance :)
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Nickname color in database

Post by janiii »

in access_levels you have just more possibilities to define different levels of admins with different command permissions. but you also can just define it only for players when you set isGM to 0.
e.g. set your desired color on the access_level 6, check that it has 0 on isGM column, and then set the players accessLevel in the character table to 6.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
celarien
Posts: 10
Joined: Sun Jan 25, 2009 8:01 am

Re: Nickname color in database

Post by celarien »

janiii wrote:in access_levels you have just more possibilities to define different levels of admins with different command permissions. but you also can just define it only for players when you set isGM to 0.
e.g. set your desired color on the access_level 6, check that it has 0 on isGM column, and then set the players accessLevel in the character table to 6.
Thanks for your reply.

That was my first thought... but I just tested it.
I created an entry in access_levels with accessLevel = 10. Then I created a character, logged off, and set his accessLevel to 10. When I logged in his nickname was normal color. Then when I log off the server automatically sets his accessLevel to 0...
celarien
Posts: 10
Joined: Sun Jan 25, 2009 8:01 am

Re: Nickname color in database

Post by celarien »

I managed to do it... I needed to restart the server for it to reload the access_level data... Now it works fine!
Thx!!
Post Reply