Access_level.sql isnt work ?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
rigid
Posts: 175
Joined: Thu Dec 17, 2009 7:20 am

Access_level.sql isnt work ?

Post by rigid »

im read tutorial in access_level.sql
but if im execute this sql query :

Code: Select all

 INSERT IGNORE INTO `admin_command_access_rights` VALUES ('admin_para','4'); 
isnt work in my database
i dont see access_level 4 in table
just access_level 1 all :(
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Access_level.sql isnt work ?

Post by janiii »

Because the command is already there and you ignore the insert then. Use REPLACE INTO instead.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
rigid
Posts: 175
Joined: Thu Dec 17, 2009 7:20 am

Re: Access_level.sql isnt work ?

Post by rigid »

Janii
i want add like this


admin_admin 1
admin_admin 4

this is mean access_level 4 can use //admin too

what must i do ?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Access_level.sql isnt work ?

Post by janiii »

set it to 4. and 4 has to be a childaccess of 1
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
rigid
Posts: 175
Joined: Thu Dec 17, 2009 7:20 am

Re: Access_level.sql isnt work ?

Post by rigid »

Thanks janii
its work :)
Post Reply