I try to make Admin group in accesss_level table with accessLevel 0, and set 0 in admin_command_access_rights table... but still have regular users without GM commands

I miss something or its not possible?
you can do the same and more in the new sql system for admin commands.jmaniac wrote:If I set the group to greater than 0(12 for example) and assign commands, its mean that I must manual set to each character accesslevel 12.... and do this for each newest character too worst....
and why L2j remove command-privileges.properties like in T1.... I remember it was very useful... with this I can set accesslevel that I want for all users, and set gm commands that I want...
Code: Select all
UPDATE characters SET accesslevel = 12 WHERE char_name NOT IN ('myAdminCharName', 'hisAdminCharName');
Code: Select all
/** Reserved user access level<br> */public static final int _userAccessLevelNum = 0;
its cant help because:_userAccessLevelNum = 0
Code: Select all
public static L2AccessLevel _userAccessLevel = new L2AccessLevel(_userAccessLevelNum, "User", Integer.decode("0xFFFFFF"), Integer.decode("0xFFFFFF"), null, false, false, false, true, false, true, true, true);
Code: Select all
if (accessLevel == _userAccessLevelNum) { _log.warning("AccessLevels: Access level with name " + name + " is using reserved user access level " + _userAccessLevelNum + ". Ignoring it!"); continue; }
remove.....(set _userAccessLevelNum =1) its not help. players still dont have rights...if (accessLevel == _userAccessLevelNum)
{
_log.warning("AccessLevels: Access level with name " + name + " is using reserved user access level "
+ _userAccessLevelNum + ". Ignoring it!");
continue;
}