Page 1 of 1
[Help] Disable Alt + G
Posted: Wed May 11, 2011 5:59 am
by akavane
» Find Revision
L2J Revision
Beta H5 4576:
L2JDP Revision
Beta H5 7890:
Español
Me gustaria hacer lo siguiente que el comando Alt+G solo lo puedan usar los que tienen acceso 127 nadie mas. El otro que lo puede usar es el que tiene acceso 1 pero me gustaria retirarselo, intente desde la tabla de navicad colocando 0 en AllowAltG pero no lo desabilita.
Si alguien tiene una respuesta le estare agradecido.
English
Hello First apologies for my English is very bad.
I would like to do next Alt + G command can use only what they have access to 127 no one else. The other is that you can use to access the 1 but I would like to remove, try from the table by placing 0 in AllowAltG Navico but it disables.
If anyone has an answer I'll be grateful.

Re: [Help] Disable Alt + G
Posted: Wed May 11, 2011 1:07 pm
by hope
Yes you are right your english is very bad
if I am getting you right you want only high level admins to use alt g then change permissions for them in your table
Re: [Help] Disable Alt + G
Posted: Thu May 12, 2011 5:07 am
by akavane
Yes. only high level admins to use alt g.
I change the permissions on a table in Navicat but it disables the alt g
--------------------------------------------------------------------------------------
: Yes you are right your english is very bad xaxaxaxaxaxaxaxaxa Sorry :
--------------------------------------------------------------------------------------
Re: [Help] Disable Alt + G
Posted: Thu May 12, 2011 8:03 am
by KadeL
Esp:
Por ahora que yo sepa no esta limitado el uso de ALT+G para los administradores, GMs.
Pero lo que si puedes limitar es el uso de los comandos que traen los botones en el panel de ALT+G.
Eng:
So far, as I know not limited to use ALT+G for managers, GMs.
But what, if you can limit the use of commands that bring the buttons on the panel ALT+G.
Re: [Help] Disable Alt + G
Posted: Thu May 12, 2011 12:16 pm
by hope
you can do that all from the table done it myself once
Re: [Help] Disable Alt + G
Posted: Fri May 13, 2011 12:40 am
by akavane
From the tables it can no longer try
Re: [Help] Disable Alt + G
Posted: Fri May 13, 2011 1:28 am
by hope
works for me
Re: [Help] Disable Alt + G
Posted: Sat May 14, 2011 4:22 am
by akavane
A colleague in another place gave me an idea of how it could do. Would have to add another condition, in this case would have to access level 127
Something like this but I can not make it work. Any idea how could I do to work well?
Code: Select all
// prevent non gm or low level GMs from vieweing player stuff if (!getClient().getActiveChar().isGM() || !getClient().getActiveChar().getAccessLevel().allowAltG() ||+ !getClient().getActiveChar().getAccessLevel() < 127)+ return;
Re: [Help] Disable Alt + G
Posted: Mon May 16, 2011 2:04 pm
by UnAfraid
lol that's located in mysql table look at table admin_rights there is allowAltG collumn change it to require 127 access level
Re: [Help] Disable Alt + G
Posted: Tue May 17, 2011 5:24 am
by akavane
Eso fue lo que primero en intentar no funciona
That's what first try does not work
Re: [Help] Disable Alt + G
Posted: Tue May 17, 2011 5:29 am
by MELERIX
lol guys
alt + g is disabled by default if you are not GM.
take a look in
java\com\l2jserver\gameserver\network\clientpackets\RequestGMCommand.java file at line 57

Re: [Help] Disable Alt + G
Posted: Wed May 18, 2011 1:21 am
by akavane
Thanks for taking the time to answer but what I want is that you can use the 127 access only, no more nor accses 1,2,3,4,5,6,7.
The problem is that when you put on the table access_levels isGM alt + g 1 on a walk but it disables the AllowAltG box.
Thanks for answering
I do not know much English so I use the translator.

Sorry
Re: [Help] Disable Alt + G
Posted: Tue May 31, 2011 3:29 am
by akavane
No response anybody has an idea?
Re: [Help] Disable Alt + G
Posted: Tue May 31, 2011 6:22 am
by MELERIX
I guess you have issues with
"child groups" then.
open
access_levels.sql and read the documentation there

Re: [Help] Disable Alt + G
Posted: Wed Jun 01, 2011 10:50 am
by Flashy
check twice your access_level table.
or better: update access_level set `allowAltg` = 0
because access lvl 127 is special Admin and ignore all these access tables.
you don't need config any admin with level 127 in the access_level table or in the admin_command_access_rights.