Você não é registrado, por favor registre-se para ter acesso ao conteúdo completo.
Caso seja registrado, efetue login.
Esqueceu sua senha? Clique aqui
Recomendamos o uso do Mozilla Firefox para uma melhor visualização.    


Início Postados Hoje Marcar Fóruns Como Lidos Álbums Banidos SE Team Medalhas
Voltar   Secret Experience > Área L2J > [L2J] Dúvidas > [L2J] Dúvidas Solucionadas
Registrar Loteria VIPStaff SERegras do fórum Comunidade Arcade Postados Hoje Pesquisar Experience
   

Secret Experience.NET   Secret Experience Corporation - Welcome To The Real World
     Anúncios SE

Resposta
 
Ferramentas do Tópico Modos de Exibição
Antigo 14-12-2009, 05:28 PM   #1
Brunolan
Membro - General
 
Avatar de Brunolan
 
Registrado em: Sep 2009
Localização: Porto Alegre RS
Posts: 217
Agradeceu: 285
Agradecido 86 Vezes em 51 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Sistema
Meu Estado:
Nome Real: Bruno Luis Russo Veronezi

Inventório de Brunolan

Padrão Sql

Bom pessoal eu to editando uma sql afim de regular o hp mp p.atk etc... dos boss , eu nao entendo muito andei olhando aki uns tutoriais e fui testando pra ver, eu ja consegui chegar a deichar os boss de level 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, com o hp p.atk m.atk etc.. como eu queria... mas detalhe como nao especifica qual type de npc é ele acaba adicionando status de boss ate aos moobs e npcs eu queria q desse pra descrever na sql qual level do npc e type no caso l2raidboss e level 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70,
mas eu nao sei o q tem q fazer nem se isso é possivel ja testei de diversas formas

olha a sql q eu monteu, e me digam como eu faço pra atribuir as caracteristicas dos npcs q eu quero mudar no caso l2raidboss e os level deles


Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
UPDATE npc SET hp='100000' where level='80';
UPDATE npc SET mp='5000' where level='80';
UPDATE npc SET patk='2500' where level='80';
UPDATE npc SET pdef='600' where level='80';
UPDATE npc SET mdef='400' where level='80';
UPDATE npc SET aggro='1' where level='80';
UPDATE npc SET runspd='200' where level='80';
UPDATE npc SET patk='1000' where level='80';
 
UPDATE npc SET hp='100000' where level='79';
UPDATE npc SET mp='5000' where level='79';
UPDATE npc SET patk='2500' where level='79';
UPDATE npc SET pdef='600' where level='79';
UPDATE npc SET mdef='400' where level='79';
UPDATE npc SET aggro='1' where level='79';
UPDATE npc SET runspd='200' where level='79';
UPDATE npc SET patk='1000' where level='79'; 

UPDATE npc SET hp='100000' where level='78';
UPDATE npc SET mp='5000' where level='78';
UPDATE npc SET patk='2500' where level='78';
UPDATE npc SET pdef='600' where level='78';
UPDATE npc SET mdef='400' where level='78';
UPDATE npc SET aggro='1' where level='78';
UPDATE npc SET runspd='200' where level='78';
UPDATE npc SET patk='1000' where level='78'; 

UPDATE npc SET hp='100000' where level='77';
UPDATE npc SET mp='5000' where level='77';
UPDATE npc SET patk='2500' where level='77';
UPDATE npc SET pdef='600' where level='77';
UPDATE npc SET mdef='400' where level='77';
UPDATE npc SET aggro='1' where level='77';
UPDATE npc SET runspd='200' where level='77';
UPDATE npc SET patk='1000' where level='77'; 

UPDATE npc SET hp='100000' where level='76';
UPDATE npc SET mp='5000' where level='76';
UPDATE npc SET patk='2500' where level='76';
UPDATE npc SET pdef='600' where level='76';
UPDATE npc SET mdef='400' where level='76';
UPDATE npc SET aggro='1' where level='76';
UPDATE npc SET runspd='200' where level='76';
UPDATE npc SET patk='1000' where level='76'; 

UPDATE npc SET hp='100000' where level='75';
UPDATE npc SET mp='5000' where level='75';
UPDATE npc SET patk='2500' where level='75';
UPDATE npc SET pdef='600' where level='75';
UPDATE npc SET mdef='400' where level='75';
UPDATE npc SET aggro='1' where level='75';
UPDATE npc SET runspd='200' where level='75';
UPDATE npc SET patk='1000' where level='75'; 

UPDATE npc SET hp='100000' where level='74';
UPDATE npc SET mp='5000' where level='74';
UPDATE npc SET patk='2500' where level='74';
UPDATE npc SET pdef='600' where level='74';
UPDATE npc SET mdef='400' where level='74';
UPDATE npc SET aggro='1' where level='74';
UPDATE npc SET runspd='200' where level='74';
UPDATE npc SET patk='1000' where level='74'; 

UPDATE npc SET hp='100000' where level='73';
UPDATE npc SET mp='5000' where level='73';
UPDATE npc SET patk='2500' where level='73';
UPDATE npc SET pdef='600' where level='73';
UPDATE npc SET mdef='400' where level='73';
UPDATE npc SET aggro='1' where level='73';
UPDATE npc SET runspd='200' where level='73';
UPDATE npc SET patk='1000' where level='73'; 

UPDATE npc SET hp='100000' where level='72';
UPDATE npc SET mp='5000' where level='72';
UPDATE npc SET patk='2500' where level='72';
UPDATE npc SET pdef='600' where level='72';
UPDATE npc SET mdef='400' where level='72';
UPDATE npc SET aggro='1' where level='72';
UPDATE npc SET runspd='200' where level='72';
UPDATE npc SET patk='1000' where level='72';
 
UPDATE npc SET hp='100000' where level='71';
UPDATE npc SET mp='5000' where level='71';
UPDATE npc SET patk='2500' where level='71';
UPDATE npc SET pdef='600' where level='71';
UPDATE npc SET mdef='400' where level='71';
UPDATE npc SET aggro='1' where level='71';
UPDATE npc SET runspd='200' where level='71';
UPDATE npc SET patk='1000' where level='71'; 

UPDATE npc SET hp='100000' where level='70';
UPDATE npc SET mp='5000' where level='70';
UPDATE npc SET patk='2500' where level='70';
UPDATE npc SET pdef='600' where level='70';
UPDATE npc SET mdef='400' where level='70';
UPDATE npc SET aggro='1' where level='70';
UPDATE npc SET runspd='200' where level='70';
UPDATE npc SET patk='1000' where level='70'; 
POR FAVOR ME AJUDEM QUEM MANJE DISSO MAIS DO Q EU xD...

Feliz natal a todos

Brunolan está offline   Responder com Citação
Links Patrocinados
Antigo 14-12-2009, 06:10 PM   #2
Setokaiba
Jesus Te Ama, Mas EU Não!
 
Avatar de Setokaiba
 
Registrado em: Oct 2008
Localização: 45º 33º 34º N | 122º 41º 41º W DESTINATION: ANYWHERE Adidas
Posts: 4,133
Agradeceu: 837
Agradecido 6,058 Vezes em 2,106 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Pontos: 20,442, Nível: 90
Pontos: 20,442, Nível: 90 Pontos: 20,442, Nível: 90 Pontos: 20,442, Nível: 90
Atividade: 99%
Atividade: 99% Atividade: 99% Atividade: 99%

Nome Real: Anderson Andrade

Inventório de Setokaiba Usuário possui 1x Lock Fan Usuário possui 1x Oakley Usuário possui 1x Apple Inc. Fan/User Usuário possui 1x Honda Usuário possui 1x Windows Seven User

Padrão

A condição é esta:
Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
where class='l2raidboss';

Setokaiba está online agora   Responder com Citação
O seguinte membro ao lado disse Obrigado(a) a : Setokaiba por gostar deste Post :
Brunolan (14-12-2009)
Antigo 14-12-2009, 06:29 PM   #3
Brunolan
Membro - General
 
Avatar de Brunolan
 
Registrado em: Sep 2009
Localização: Porto Alegre RS
Posts: 217
Agradeceu: 285
Agradecido 86 Vezes em 51 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Sistema
Meu Estado:
Nome Real: Bruno Luis Russo Veronezi

Inventório de Brunolan

Padrão

@cabelation
mano eu tinha uma sql q mudava o hp p.atk m.atk etc... dos boss so q todos os boss ate mesmo os bosses level baixo ficavam com o hp q eu tinha mandado entaum eu resolvi mudar a sql para mudar so os boss de level 80 ... mas dai nao especificava qual npc seria mudado, mudaria todos de level 80 ate moob q fosse level 80 etc.. eu queria uma sql q especificasse para mudar npc do tipo l2raidbosses e especificasse o level 80 ou 60 etc.. uma sql q mudasse os bosses do level q eu mudasse no sql entende???mas eu nao sei qual linguagem usar para fazer isso... eu vo tentar fazer o q o setokaiba citou ali...

espero q tenha entendido o.O'
mas mesmo assim agradeço...

----------

@Setokaiba
Seto o sql q eu usei pra fazer isso foi essa
Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
UPDATE npc SET level='80' where type='L2RaidBoss';
UPDATE npc SET hp='1000000' where type='L2RaidBoss';
UPDATE npc SET mp='50000' where type='L2RaidBoss';
UPDATE npc SET patk='25000' where type='L2RaidBoss';
UPDATE npc SET pdef='6000' where type='L2RaidBoss';
UPDATE npc SET mdef='4000' where type='L2RaidBoss';
UPDATE npc SET aggro='1' where type='L2RaidBoss';
UPDATE npc SET runspd='200' where type='L2RaidBoss';
UPDATE npc SET level='80' where type='L2Minion';
UPDATE npc SET patk='10000' where type='L2Minion';
ali diz type='l2raidboss' eu queria alem do type tbm especificar o level pra q ele nao alterasse os boss de level baixo entende??? se tiver como , me diz ai como proceder para especificar o type=l2raidboss e level=80
por favor xD...

Brunolan está offline   Responder com Citação
Antigo 14-12-2009, 06:39 PM   #4
Setokaiba
Jesus Te Ama, Mas EU Não!
 
Avatar de Setokaiba
 
Registrado em: Oct 2008
Localização: 45º 33º 34º N | 122º 41º 41º W DESTINATION: ANYWHERE Adidas
Posts: 4,133
Agradeceu: 837
Agradecido 6,058 Vezes em 2,106 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Pontos: 20,442, Nível: 90
Pontos: 20,442, Nível: 90 Pontos: 20,442, Nível: 90 Pontos: 20,442, Nível: 90
Atividade: 99%
Atividade: 99% Atividade: 99% Atividade: 99%

Nome Real: Anderson Andrade

Inventório de Setokaiba Usuário possui 1x Lock Fan Usuário possui 1x Oakley Usuário possui 1x Apple Inc. Fan/User Usuário possui 1x Honda Usuário possui 1x Windows Seven User

Padrão

Tá bom.

Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
UPDATE npc
SET hp='1000000', mp='50000', patk='25000', pdef='6000', mdef='4000', aggro='1', runspd='200', patk='10000'
WHERE type='L2RaidBoss' AND level='80';

Setokaiba está online agora   Responder com Citação
O seguinte membro ao lado disse Obrigado(a) a : Setokaiba por gostar deste Post :
Brunolan (14-12-2009)
Antigo 14-12-2009, 06:44 PM   #5
Brunolan
Membro - General
 
Avatar de Brunolan
 
Registrado em: Sep 2009
Localização: Porto Alegre RS
Posts: 217
Agradeceu: 285
Agradecido 86 Vezes em 51 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Sistema
Meu Estado:
Nome Real: Bruno Luis Russo Veronezi

Inventório de Brunolan

Padrão

vlw gente *--* vlw seto
claro como eu nao pensei nisso ne and igual a e vlw pela ajuda pessoal xD...

-------------------

deu certo vlw mesmo xD

Brunolan está offline   Responder com Citação
O seguinte membro ao lado disse Obrigado(a) a : Brunolan por gostar deste Post :
BrunoCrusher (06-06-2010)
Resposta


Regras para Posts
Você não pode postar novos tópicos
Você não pode postar respostas
Você não pode postar anexos
Você não pode editar seus posts

Código [IMG] Sim
Código HTML Não

Ir para...


Horários baseados na GMT -3. Agora são 12:11 AM.