| Pinguço |
20-11-2009 01:20 PM |
Não não... e feito pelo dudu mesmo agora q to lembrando
mais n e este ai nao
vo dar mais uma procuradinha .. vlw.
Ae Baixaki vlw .. nao e este ai nao mais era oque tava debaixo do dele postado pelo Miranda.
Citação:
SQL para tirar o peso de todos os itens
Código:
UPDATE armor SET weight=0;
UPDATE etcitem SET weight=0;
UPDATE weapon SET weight=0;
UPDATE custom_armor SET weight=0;
UPDATE custom_etcitem SET weight=0;
UPDATE custom_weapon SET weight=0;
------------------------------------------------------------
SQL para reforçar todos os Guardas do Jogo
Código:
UPDATE npc SET level='85' where type='L2Guard';
UPDATE npc SET hp='30000' where type='L2Guard';
UPDATE npc SET mp='30000' where type='L2Guard';
UPDATE npc SET patk='30000' where type='L2Guard';
UPDATE npc SET pdef='10000' where type='L2Guard';
UPDATE npc SET mdef='10000' where type='L2Guard';
UPDATE npc SET title='Super Guarda' where type='L2Guard';
UPDATE npc SET serverSideTitle='1' where type='L2Guard';
UPDATE npc SET serverSideTitle='1' where type='L2Guard';
UPDATE npc SET rhand='0' where type='L2Guard';
UPDATE npc SET lhand='0' where type='L2Guard';
UPDATE npc SET runspd='300' where type='L2Guard';
UPDATE npc SET ss='1' where type='L2Guard';
UPDATE npc SET bss='1' where type='L2Guard';
UPDATE npc SET ss_rate='100' where type='L2Guard';
UPDATE npc SET attackrange='100' where type='L2Guard';
UPDATE npc SET aggro='5000' where type='L2Guard';
UPDATE npc SET str='100' where type='L2Guard';
UPDATE npc SET con='100' where type='L2Guard';
UPDATE npc SET dex='100' where type='L2Guard';
UPDATE npc SET wit='100' where type='L2Guard';
UPDATE npc SET men='100' where type='L2Guard';
UPDATE npc SET str='100' where type='L2Guard';
------------------------------------------------------------
SQL para dar restart no servidor automaticamente (00:00hs)
Código:
INSERT INTO global_tasks(task,type,last_activation,param1,param2,param3) VALUES
('restart', 'TYPE_GLOBAL_TASK', '2147483647', '1', '00:00:00', '300'); -- será restartado ás 00:00 e os players teram 5 minutos para deslogar.
(para alterar a hora do restart: em vermelho: a hora; em azul os minutos; em rosa os segundos)
------------------------------------------------------------
SQL para banir contas por IP
Código:
UPDATE accounts SET accessLevel=-100 where lastIP='IP AQUI';
------------------------------------------------------------
SQL para Desbanir todos
Código:
UPDATE accounts SET accessLevel=0 where accesslevel=-100;
UPDATE characters SET accesslevel=0 where accesslevel=-100;
------------------------------------------------------------
SQL para Deletar item do inventory (deleta de todos os inventorios)
Código:
DELETE FROM items WHERE item_id = 'ITEM ID';
------------------------------------------------------------
SQL para remover todos os Monumentos de Heroi (ou qualquer tipo de NPC que queira; editando apenas o npc_templateid)
Código:
DELETE FROM spawnlist WHERE npc_templateid = '31690';
------------------------------------------------------------
SQL para remover consumo de SP/EXP ao enchantar os skills
Código:
UPDATE enchant_skill_trees SET sp=0;
UPDATE enchant_skill_trees SET exp=0;
------------------------------------------------------------
SQL para deletar itens de drops deixando apenas as adenas no drops
Código:
DELETE FROM droplist WHERE itemid NOT LIKE '%57%'
------------------------------------------------------------
===============================================
Fonte: L2JCTeam.
===============================================
|
E oque eu queria... montei ele por base do script de consumo de exp ao enchantar skill
Citação:
UPDATE armor SET dropable='false';
UPDATE etcitem SET dropable='false';
UPDATE weapon SET dropable='false';
UPDATE custom_armor SET dropable='false';
UPDATE custom_etcitem SET dropable='false';
UPDATE custom_weapon SET dropable='false';
|
Muito util para evitar o exploit que faz jogar adena no chao ate bugar o server.
|