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] Downloads > [Lineage] Java Mods
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 26-06-2010, 08:32 PM   #21
WebMaster_FoX
Membro - Cabo
 
Avatar de WebMaster_FoX
 
Registrado em: Jan 2009
Localização: Cuiabá
Posts: 28
Agradeceu: 127
Agradecido 8 Vezes em 8 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Enviar mensagem via Windows Live Messenger para WebMaster_FoX
Nome Real: Luiz Henrique

Inventório de WebMaster_FoX

Padrão to tentando add nesse projeto

[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]

WebMaster_FoX está offline   Responder com Citação
Links Patrocinados
Antigo 26-06-2010, 09:01 PM   #22
Guma
Membro - Veterano
 
Avatar de Guma
 
Registrado em: Sep 2009
Localização: Florianopolis (sc)
Posts: 591
Agradeceu: 72
Agradecido 724 Vezes em 241 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Enviar mensagem via Windows Live Messenger para Guma
Nome Real: i'm Guma

Inventório de Guma

Padrão

esse cod e pra gracia teria q faser uma mudancas no codigo
vo da uma olhada aki no que da pra fase...

edit:
esse cod ja e modificado no gracia
Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();
		{
			for (L2PcInstance onlinePlayer : pls)
				if (onlinePlayer.isOnline() == 1)

e esse aki e do interlude:
Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
for (L2PcInstance onlinePlayer : L2World.getInstance().getAllPlayers())
        {
            if (onlinePlayer == null)
                continue;
nao sei c dara certo ..
apenas modifiquei esses codigos ai e nao deu erro, basta voce trocar esse cod compila e testar.

Guma está offline   Responder com Citação
O seguinte membro ao lado disse Obrigado(a) a : Guma por gostar deste Post :
WebMaster_FoX (26-06-2010)
Antigo 26-06-2010, 09:28 PM   #23
WebMaster_FoX
Membro - Cabo
 
Avatar de WebMaster_FoX
 
Registrado em: Jan 2009
Localização: Cuiabá
Posts: 28
Agradeceu: 127
Agradecido 8 Vezes em 8 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Enviar mensagem via Windows Live Messenger para WebMaster_FoX
Nome Real: Luiz Henrique

Inventório de WebMaster_FoX

Padrão vlw

vo ver aqui se vai da certo :D muito obrigado

----------

SE NAO FOR PEDIR DE MAIS GUMA PODERIA POSTA SEU L2PcInstance.JAVA PRA NOS AQUI DO INTERLUD COM O MOD DOS SONS

WebMaster_FoX está offline   Responder com Citação
Antigo 26-06-2010, 10:05 PM   #24
Guma
Membro - Veterano
 
Avatar de Guma
 
Registrado em: Sep 2009
Localização: Florianopolis (sc)
Posts: 591
Agradeceu: 72
Agradecido 724 Vezes em 241 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Enviar mensagem via Windows Live Messenger para Guma
Nome Real: i'm Guma

Inventório de Guma

Padrão

lembrando que eu nao testei
mas ta ai sem nenhum erro.

Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
@@ -159,6 +159,7 @@
 import com.it.br.gameserver.serverpackets.ObservationReturn;
 import com.it.br.gameserver.serverpackets.PartySmallWindowUpdate;
 import com.it.br.gameserver.serverpackets.PetInventoryUpdate;
+import com.it.br.gameserver.serverpackets.PlaySound;
 import com.it.br.gameserver.serverpackets.PledgeShowInfoUpdate;
 import com.it.br.gameserver.serverpackets.PledgeShowMemberListDelete;
 import com.it.br.gameserver.serverpackets.PledgeShowMemberListUpdate;
@@ -4197,6 +4198,8 @@
 		if (!super.doDie(killer))
 			return false;
 
+		spreeKills = 0;
+
 		if (killer != null)
 		{
 			L2PcInstance pk = null;
@@ -4234,9 +4237,28 @@
 		                               && _clan.isAtWarWith(((L2PcInstance) killer).getClanId())
 		                               && ((L2PcInstance)killer).getClan().isAtWarWith(_clan.getClanId()))
 		                {
+	                        PlaySound _snd = new PlaySound(1, "enemydown", 0, 0, 0, 0, 0);
+                        
+	                        for (L2PcInstance onlinePlayer : L2World.getInstance().getAllPlayers())
+	                        {
+	                            if (onlinePlayer == null)
+	                                continue;
+                              if (onlinePlayer.getClan() != null)
+                              {
+                                if (onlinePlayer.getClan() == pk.getClan() && onlinePlayer != pk)
+                                 {
+                                    onlinePlayer.sendPacket(_snd);
+                                 }
+                              }
+                           }
+                        
+

		                	if (getClan().getReputationScore() > 0)
+		                	{
		                		// when your reputation score is 0 or below, the other clan cannot acquire any reputation points
		                		((L2PcInstance) killer).getClan().setReputationScore(((L2PcInstance) killer).getClan().getReputationScore()+Config.ALT_REPUTATION_SCORE_PER_KILL, true);
+		                	}
		                		if (((L2PcInstance)killer).getClan().getReputationScore() > 0) // when the opposing sides reputation score is 0 or below, your clans reputation score does not decrease
		                    	_clan.setReputationScore(_clan.getReputationScore()-Config.ALT_REPUTATION_SCORE_PER_KILL, true);
		                }
						if (Config.ALT_GAME_DELEVEL)
@@ -4498,9 +4520,54 @@
      * Increase the pvp kills count and send the info to the player
      *
      */
+	private int spreeKills = 0;
+
	public void increasePvpKills()
     {
+	       spreeKills++;
+	              
+	             switch(spreeKills){
+	              
+	              case 1:
+	                 PlaySound _snd1 = new PlaySound(1, "firstblood", 0, 0, 0, 0, 0);
+	                 sendPacket(_snd1);
+	              break;
+	              
+	              case 2:
+	                 PlaySound _snd2 = new PlaySound(1, "doublekill", 0, 0, 0, 0, 0);
+	                 sendPacket(_snd2);
+	              break;
+	              
+	              case 3:
+	                 PlaySound _snd3 = new PlaySound(1, "triplekill", 0, 0, 0, 0, 0);
+	                 sendPacket(_snd3);
+	              break;
+	              
+	              case 4:
+	                 PlaySound _snd4 = new PlaySound(1, "megakill", 0, 0, 0, 0, 0);
+	                 sendPacket(_snd4);
+	              break;
+	              
+	              case 5:
+	                 PlaySound _snd5 = new PlaySound(1, "ultrakill", 0, 0, 0, 0, 0);
+	                 sendPacket(_snd5);
+	              break;
+	              
+	              case 10:
+	                 PlaySound _snd10 = new PlaySound(1, "monsterkill", 0, 0, 0, 0, 0);
+	                 sendPacket(_snd10);
+	              break;
+	              
+	              case 15:
+	                 PlaySound _snd15 = new PlaySound(1, "killingspree", 0, 0, 0, 0, 0);
+	                 sendPacket(_snd15);
+	              break;
+	                default:
+	                 ;
+	              }
+	       
+
	// Add karma to attacker and increase its PK counter
         setPvpKills(getPvpKills() + 1);
 
         if(Config.ALLOW_PVP_REWARD)
@@ -4561,6 +4628,10 @@
         if (getKarma() > (Integer.MAX_VALUE - newKarma))
             newKarma = Integer.MAX_VALUE - getKarma();
 
+        PlaySound _snd = new PlaySound(1, "knife", 0, 0, 0, 0, 0);
+        sendPacket(_snd);
+        broadcastPacket(_snd);
+
         // Add karma to attacker and increase its PK counter
         if(Config.DEFAULT_PK_SYSTEM)
 		{

Guma está offline   Responder com Citação
O seguinte membro ao lado disse Obrigado(a) a : Guma por gostar deste Post :
WebMaster_FoX (26-06-2010)
Antigo 26-06-2010, 10:15 PM   #25
EvAn
Membro - Aspirante
 
Avatar de EvAn
 
Registrado em: Oct 2009
Posts: 52
Agradeceu: 49
Agradecido 1 Vez em 1 Post
Achei Ruim:
Acharam ruim Vezes em Posts

Inventório de EvAn

Padrão

Guma se nao for pedir muito posta ele para o L2jRox Interlude =X ?

EvAn está offline   Responder com Citação
Antigo 26-06-2010, 10:34 PM   #26
Guma
Membro - Veterano
 
Avatar de Guma
 
Registrado em: Sep 2009
Localização: Florianopolis (sc)
Posts: 591
Agradeceu: 72
Agradecido 724 Vezes em 241 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Enviar mensagem via Windows Live Messenger para Guma
Nome Real: i'm Guma

Inventório de Guma

Padrão

deixa ele testar primeiro ..
c der certo fasso pra l2jrox.

Guma está offline   Responder com Citação
O seguinte membro ao lado disse Obrigado(a) a : Guma por gostar deste Post :
WebMaster_FoX (26-06-2010)
Antigo 26-06-2010, 10:50 PM   #27
WebMaster_FoX
Membro - Cabo
 
Avatar de WebMaster_FoX
 
Registrado em: Jan 2009
Localização: Cuiabá
Posts: 28
Agradeceu: 127
Agradecido 8 Vezes em 8 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Enviar mensagem via Windows Live Messenger para WebMaster_FoX
Nome Real: Luiz Henrique

Inventório de WebMaster_FoX

Padrão

Ae Mod Pegando Perfeitamenta no l2jserver interlud :D

Muito Obrigado Por Ajudar Guma :D

WebMaster_FoX está offline   Responder com Citação
Antigo 26-06-2010, 11:30 PM   #28
EvAn
Membro - Aspirante
 
Avatar de EvAn
 
Registrado em: Oct 2009
Posts: 52
Agradeceu: 49
Agradecido 1 Vez em 1 Post
Achei Ruim:
Acharam ruim Vezes em Posts

Inventório de EvAn

Padrão

@Guma
Esperando a Post :D

EvAn está offline   Responder com Citação
Antigo 27-06-2010, 12:54 AM   #29
Guma
Membro - Veterano
 
Avatar de Guma
 
Registrado em: Sep 2009
Localização: Florianopolis (sc)
Posts: 591
Agradeceu: 72
Agradecido 724 Vezes em 241 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Enviar mensagem via Windows Live Messenger para Guma
Nome Real: i'm Guma

Inventório de Guma

Padrão

@ evan

tive vendo o l2jrox e é a mesma coisa
voce so tera q mudar o import

desse
+import com.it.br.gameserver.serverpackets.PlaySound;

pra esse
+import com.l2jrox.gameserver.network.serverpackets.PlaySo und;

Guma está offline   Responder com Citação
Antigo 27-06-2010, 03:20 AM   #30
Psytrance
Membro - Aspirante
 
Avatar de Psytrance
 
Registrado em: May 2009
Localização: Na minha Casa
Posts: 62
Agradeceu: 89
Agradecido 527 Vezes em 37 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Enviar mensagem via Windows Live Messenger para Psytrance

Inventório de Psytrance

Padrão Teon

Guma teria como voce me ajudar com esse MOD pra Teon ?

Psytrance está offline   Responder com Citação
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 11:39 PM.