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
 
LinkBack Ferramentas do Tópico Modos de Exibição
Antigo 03-04-2011, 11:12 PM   #1 (permalink)
Banido
 
Avatar de allanalcantara
 
Registrado em: Nov 2009
Localização: Fortaleza-ce
Posts: 325
Agradeceu: 125
Agradecido 203 Vezes em 82 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Enviar mensagem via Windows Live Messenger para allanalcantara Enviar mensagem via Skype para allanalcantara
Nome Real: Allan Alcântara de Alencar

Inventório de allanalcantara

Icon10 Quake PvP Reward System

Este é um sistema de recompensa que é pvp como em l2gve.net
para aqueles que havent jogado mal vou explicar como ele funciona.

quando você mata alguém, receber uma recompensa. quando você mata 2 ppl sem morrer você tem recompensa 2x e assim por diante
quando você faz 25 mortes sem morrer você tem uma aura de herói.
Há adicionou Counter Strike sons
M-M-M-Monster Kill! hehe, ;p'

OBS: quem quiser o som, monster kill, só aadc no msn ae, que eu passo.

Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
Index: D:/Programs/WorkSpace/L2_GameServer/java/config/l2jmods.properties
===================================================================
--- D:/Programs/WorkSpace/L2_GameServer/java/config/l2jmods.properties  (revision 4488)
+++ D:/Programs/WorkSpace/L2_GameServer/java/config/l2jmods.properties  (working copy)
@@ -426,3 +426,49 @@
 # will be 1+2=3. Use 0 or negative value for unlimited number of connections.
 # Default: 127.0.0.1,0 (no limits from localhost)
 DualboxCheckWhitelist = 127.0.0.1,0
+
+# ------------------------------------------
+# Quake PvP System By iliqbg              
+# ------------------------------------------
+
+# Default: False
+EnableQuakeSystem = False
+
+# Default Reward: 57
+QuakeReward1 = 57
+# Count: 100
+QuakeCount1  = 100
+
+# Default Reward: 57
+QuakeReward2 = 57
+# Count: 200
+QuakeCount2  = 200
+
+# Default Reward: 57
+QuakeReward3 = 57
+# Count: 500
+QuakeCount3  = 500
+
+# Default Reward: 57
+QuakeReward5 = 57
+# Count: 1000
+QuakeCount5  = 1000
+
+# Default Reward: 57
+QuakeReward10 = 57
+# Count: 15000
+QuakeCount10  = 15000
+
+# Default Reward: 57
+QuakeReward15 = 57
+# Count: 25000
+QuakeCount15  = 25000
+
+# Default Reward: 57
+QuakeReward25 = 57
+# Count: 1000000
+QuakeCount25  = 1000000
+
+# Default: true
+# when do 25 killings without dying become heroes
+EnableSetHero = true
Index: D:/Programs/WorkSpace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- D:/Programs/WorkSpace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java    (revision 4488)
+++ D:/Programs/WorkSpace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java    (working copy)
@@ -1,5 +1,5 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under
+\ * This program is free software: you can redistribute it and/or modify it under
  * the terms of the GNU General Public License as published by the Free Software
  * Foundation, either version 3 of the License, or (at your option) any later
  * version.
@@ -574,6 +574,9 @@
        private boolean _noble = false;
        private boolean _hero = false;
        
+       /**PvP Quake Reward System (By iliqbg)*/
+       private int QuakePvPSystem = 0;
+       
        /** The L2FolkInstance corresponding to the last Folk wich one the player talked. */
        private L2Npc _lastFolkNpc = null;
        
@@ -5319,7 +5322,7 @@
                // Kill the L2PcInstance
                if (!super.doDie(killer))
                        return false;
-               
+                               
                if (isMounted())
                        stopFeed();
                synchronized (this)
@@ -5409,6 +5412,22 @@
                                                        if ((_clan.isAtWarWith(pk.getClanId()) && pk.getClan().isAtWarWith(_clan.getClanId()))
                                                                        || (isInSiege() && pk.isInSiege()))
                                                        {
+                        PlaySound _snd = new PlaySound(1, "enemydown", 0, 0, 0, 0, 0);
+                        
+                        Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();
+                        for (L2PcInstance onlinePlayer : pls)
+                                       if (onlinePlayer.isOnline())
+                                       {
+                              if (onlinePlayer.getClan() != null)
+                              {
+                                       if (onlinePlayer.getClan() == pk.getClan() && onlinePlayer != pk)
+                                       {
+                                    onlinePlayer.sendPacket(_snd);
+                                       }
+                              }
+                                       }
+                        
+
                                                                if (AntiFeedManager.getInstance().check(killer, this))
                                                                {
                                                                        //      when your reputation score is 0 or below, the other clan cannot acquire any reputation points
@@ -5485,6 +5504,7 @@
                {
                        reviveRequest(this, null, false);
                }
+               QuakePvPSystem = 0;
                return true;
        }
        
@@ -5681,11 +5701,62 @@
                {
                        // Add karma to attacker and increase its PK counter
                        setPvpKills(getPvpKills() + 1);
-                       
+
+               if (Config.L2JMOD_QUAKE_PVP_ENABLE)
+               {
+               QuakePvPSystem++;
+        switch(QuakePvPSystem) {
+               case 1:
+                  addItem("Loot", Config.QUAKE_REWARD_1, Config.QUAKE_COUNT_1, this, true);
+                  PlaySound _snd1 = new PlaySound(1, "firstblood", 0, 0, 0, 0, 0);
+                  sendPacket(_snd1);
+                  sendMessage("You will be rewarded for 1,pvp kill!");
+                       break;
+               case 2:
+                  addItem("Loot", Config.QUAKE_REWARD_2, Config.QUAKE_COUNT_2, this, true);
+                  PlaySound _snd2 = new PlaySound(1, "doublekill", 0, 0, 0, 0, 0);
+                  sendPacket(_snd2);
+                  sendMessage("You will be rewarded for 2, pvp kill!");
+              break;
+               case 3:
+                  addItem("Loot", Config.QUAKE_REWARD_3, Config.QUAKE_COUNT_3, this, true);
+                  PlaySound _snd3 = new PlaySound(1, "triplekill", 0, 0, 0, 0, 0);
+                  sendPacket(_snd3);
+                  sendMessage("You will be rewarded for 3, pvp kill!");
+              break;
+               case 5:
+                  addItem("Loot", Config.QUAKE_REWARD_5, Config.QUAKE_COUNT_5, this, true);
+                  PlaySound _snd4 = new PlaySound(1, "megakill", 0, 0, 0, 0, 0);
+                  sendPacket(_snd4);
+                  sendMessage("You will be rewarded for 5,  pvp kill!");
+              break;
+               case 10:
+                  addItem("Loot", Config.QUAKE_REWARD_10, Config.QUAKE_COUNT_10, this, true);
+                  PlaySound _snd5 = new PlaySound(1, "ultrakill", 0, 0, 0, 0, 0);
+                  sendPacket(_snd5);
+                  sendMessage("You will be rewarded for 10, pvp kill!");
+              break;
+               case 15:
+                  addItem("Loot", Config.QUAKE_REWARD_15, Config.QUAKE_COUNT_15, this, true);
+                  PlaySound _snd10 = new PlaySound(1, "monsterkill", 0, 0, 0, 0, 0);
+                  sendPacket(_snd10);
+                  sendMessage("You will be rewarded for 15, pvp kill!");
+              break;
+               case 25:
+                  addItem("Loot", Config.QUAKE_REWARD_25, Config.QUAKE_COUNT_25, this, true);
+                  PlaySound _snd15 = new PlaySound(1, "killingspree", 0, 0, 0, 0, 0);
+                  sendPacket(_snd15);
+                  sendMessage("You will be rewarded for 25, pvp kill (already a hero!)");
+                  setHero(Config.L2JMOD_QUAKE_HERO_ENABLE);
+              default:
+                       ;
+        }
+        
                        // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
                        sendPacket(new UserInfo(this));
                        sendPacket(new ExBrExtraUserInfo(this));
                }
+       }
        }
        
        /**
Index: D:/Programs/WorkSpace/L2_GameServer/java/com/l2jserver/Config.java
===================================================================
--- D:/Programs/WorkSpace/L2_GameServer/java/com/l2jserver/Config.java  (revision 4488)
+++ D:/Programs/WorkSpace/L2_GameServer/java/com/l2jserver/Config.java  (working copy)
@@ -718,6 +718,23 @@
        public static int L2JMOD_DUALBOX_CHECK_MAX_OLYMPIAD_PARTICIPANTS_PER_IP;
        public static TIntIntHashMap L2JMOD_DUALBOX_CHECK_WHITELIST;
        
+       public static boolean L2JMOD_QUAKE_PVP_ENABLE;
+       public static boolean L2JMOD_QUAKE_HERO_ENABLE;
+       public static int QUAKE_REWARD_1;
+       public static int QUAKE_REWARD_2;
+       public static int QUAKE_REWARD_3;
+       public static int QUAKE_REWARD_5;
+       public static int QUAKE_REWARD_10;
+       public static int QUAKE_REWARD_15;
+       public static int QUAKE_REWARD_25;
+       public static int QUAKE_COUNT_1;
+       public static int QUAKE_COUNT_2;
+       public static int QUAKE_COUNT_3;
+       public static int QUAKE_COUNT_5;
+       public static int QUAKE_COUNT_10;
+       public static int QUAKE_COUNT_15;
+       public static int QUAKE_COUNT_25;
+       
        //--------------------------------------------------
        // NPC Settings
        //--------------------------------------------------
@@ -2196,6 +2213,24 @@
                                        L2JMOD_CHAMPION_ENABLE_VITALITY = Boolean.parseBoolean(L2JModSettings.getProperty("ChampionEnableVitality", "False"));
                                        L2JMOD_CHAMPION_ENABLE_IN_INSTANCES = Boolean.parseBoolean(L2JModSettings.getProperty("ChampionEnableInInstances", "False"));
                                        
+                                       L2JMOD_QUAKE_PVP_ENABLE = Boolean.parseBoolean(L2JModSettings.getProperty("EnableQuakeSystem", "false"));
+                                       L2JMOD_QUAKE_HERO_ENABLE = Boolean.parseBoolean(L2JModSettings.getProperty("EnableSetHero", "true"));
+                                       QUAKE_REWARD_1 = Integer.parseInt(L2JModSettings.getProperty("QuakeReward1", "57"));
+                                       QUAKE_REWARD_2 = Integer.parseInt(L2JModSettings.getProperty("QuakeReward2", "57"));
+                                       QUAKE_REWARD_3 = Integer.parseInt(L2JModSettings.getProperty("QuakeReward3", "57"));
+                                       QUAKE_REWARD_5 = Integer.parseInt(L2JModSettings.getProperty("QuakeReward5", "57"));
+                                       QUAKE_REWARD_10 = Integer.parseInt(L2JModSettings.getProperty("QuakeReward10", "57"));
+                                       QUAKE_REWARD_15 = Integer.parseInt(L2JModSettings.getProperty("QuakeReward15", "57"));
+                                       QUAKE_REWARD_25 = Integer.parseInt(L2JModSettings.getProperty("QuakeReward25", "57"));
+                                       QUAKE_COUNT_1 = Integer.parseInt(L2JModSettings.getProperty("QuakeCount1", "100"));
+                                       QUAKE_COUNT_2 = Integer.parseInt(L2JModSettings.getProperty("QuakeCount2", "200"));
+                                       QUAKE_COUNT_3 = Integer.parseInt(L2JModSettings.getProperty("QuakeCount3", "500"));
+                                       QUAKE_COUNT_5 = Integer.parseInt(L2JModSettings.getProperty("QuakeCount5", "1000"));
+                                       QUAKE_COUNT_10 = Integer.parseInt(L2JModSettings.getProperty("QuakeCount10", "15000"));
+                                       QUAKE_COUNT_15 = Integer.parseInt(L2JModSettings.getProperty("QuakeCount15", "25000"));
+                                       QUAKE_COUNT_25 = Integer.parseInt(L2JModSettings.getProperty("QuakeCount25", "1000000"));
+
+                                       
                                        TVT_EVENT_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("TvTEventEnabled", "false"));
                                        TVT_EVENT_IN_INSTANCE = Boolean.parseBoolean(L2JModSettings.getProperty("TvTEventInInstance", "false"));
                                        TVT_EVENT_INSTANCE_FILE = L2JModSettings.getProperty("TvTEventInstanceFile", "coliseum.xml");
credits iliqbg / XxLoPxX ^^
adaptation allanalcantarA

allanalcantara está offline  
Links Patrocinados
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
Trackbacks are Sim
Pingbacks are Sim
Refbacks are Sim



Horários baseados na GMT -3. Agora são 06:45 AM.
 



Search Engine Optimization by vBSEO 3.3.0