Jump to content
  • 0

PvP Skill Reward System


Question

Posted

Καλησπέρα παιδιά έχει δει κανένας PvP Skill Reward System εδώ μέσα ?

Αν ναι ας μου το στείλει Interlude Client !!!

Thanks !

5 answers to this question

Recommended Posts

  • 0
Posted

http://maxcheaters.com/forum/index.php?topic=253165.0 Ένα σύστημα λίγο παραπάνω από pvpSkillReward system αλλά δες αν θα σε βόλευε.

και

http://maxcheaters.com/forum/index.php?topic=221916.0

  • 0
Posted
  On 8/1/2013 at 7:41 AM, FighterBoss said:

http://maxcheaters.com/forum/index.php?topic=253165.0 Ένα σύστημα λίγο παραπάνω από pvpSkillReward system αλλά δες αν θα σε βόλευε.

και

http://maxcheaters.com/forum/index.php?topic=221916.0

 

Κάτι αντίστοιχο έχω ...

 

head-src

### Eclipse Workspace Patch 1.0
Index: head-src/com/l2jfrozen/Config.java
===================================================================
--- head-src/com/l2jfrozen/Config.java	(revision 1004)
+++ head-src/com/l2jfrozen/Config.java	(working copy)
@@ -2561,6 +2561,17 @@
	public static int TITLE_COLOR_FOR_PK_AMOUNT3;
	public static int TITLE_COLOR_FOR_PK_AMOUNT4;
	public static int TITLE_COLOR_FOR_PK_AMOUNT5;
+	
+	public static boolean PVP_SKILLREWARD_ENABLED;
+	public static int PVP_SKILLREWARD1;
+	public static int PVP_SKILLREWARD2;
+	public static int PVP_FORSKILL1;
+	public static int PVP_FORSKILL2;
+	public static int PVP_SKILLLVL1;
+	public static int PVP_SKILLLVL2;
+	
	public static boolean PVP_REWARD_ENABLED;
	public static int PVP_REWARD_ID;
	public static int PVP_REWARD_AMOUNT;
@@ -2689,6 +2700,16 @@
			TITLE_COLOR_FOR_PK_AMOUNT3 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount3", "00FF00"));
			TITLE_COLOR_FOR_PK_AMOUNT4 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount4", "00FF00"));
			TITLE_COLOR_FOR_PK_AMOUNT5 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount5", "00FF00"));
+			
+			PVP_SKILLREWARD_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePvPSkillReward", "false"));
+			PVP_SKILLREWARD1 = Integer.parseInt(pvpSettings.getProperty("SkillID1", "1"));
+			PVP_SKILLREWARD2 = Integer.parseInt(pvpSettings.getProperty("SkillID2", "2"));
+			PVP_FORSKILL1 = Integer.parseInt(pvpSettings.getProperty("PvPsForSkillID1", "100"));
+			PVP_FORSKILL2 = Integer.parseInt(pvpSettings.getProperty("PvPsForSkillID2", "200"));
+			PVP_SKILLLVL1 = Integer.parseInt(pvpSettings.getProperty("SkillLvL1", "1"));
+			PVP_SKILLLVL2 = Integer.parseInt(pvpSettings.getProperty("SkillLvL2", "1"));

			FLAGED_PLAYER_USE_BUFFER = Boolean.valueOf(pvpSettings.getProperty("AltKarmaFlagPlayerCanUseBuffer", "false"));

Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java	(revision 1004)
+++ head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java	(working copy)
@@ -271,6 +271,10 @@
	// Send packets info
	sendPacket(new ClientSetTime()); // SetClientTime
	sendPacket(new UserInfo(activeChar)); //
	sendPacket(new HennaInfo(activeChar));
	sendPacket(new FriendList(activeChar));
	sendPacket(new ItemList(activeChar, false));
	sendPacket(new ShortCutInit(activeChar));
+		if(Config.PVP_SKILLREWARD_ENABLED)
+		{
+		    activeChar.PvPSkillReward();
+		}

		// Send all skills to char
		activeChar.sendSkillList(); 
Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java	(revision 1004)
+++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -3672,6 +3672,37 @@
public void setPvpKills(int pvpKills)
{
	_pvpKills = pvpKills;

	 /*// Set hero mxc if pvp kills > 100
	 if (pvpKills > 100)
	 {
	 isPermaHero = true;
	 setHeromxc(true);
	 }*/ 
}
+	public void PvPSkillReward()
+	{
+		if (getPvpKills() == Config.PVP_FORSKILL1)
+		{	
+			addSkill(SkillTable.getInstance().getInfo(Config.PVP_SKILLREWARD1, Config.PVP_SKILLLVL1));
+		}
+		if (getPvpKills() == Config.PVP_FORSKILL2)
+		{	
+			addSkill(SkillTable.getInstance().getInfo(Config.PVP_SKILLREWARD2, Config.PVP_SKILLLVL2));
+		}
+	}
+   public void SkillTime(int H)
+	{
+		try
+		{
+			Thread.sleep(H * 60000);
+		}
+		catch(Exception e){
+			e.printStackTrace();
+		}
+	}

	/**
	 * Return the ClassId object of the L2PcInstance contained in L2PcTemplate.<BR>

 

config

### Eclipse Workspace Patch 1.0
Index: config/functions/pvp.properties
===================================================================
--- config/functions/pvp.properties	(revision 1004)
+++ config/functions/pvp.properties	(working copy)
@@ -124,8 +124,28 @@

# Settings For Ammount 5.
PkAmount5 = 5000
-TitleForAmount5 = 00FF00
+TitleForAmount5 = 00FF00

+# -------------------------------------------
+#       PvP Skill System By AbSoLuTePoWeR   #
+# -------------------------------------------
+# Each A-beep-t will give you a skill for few minutes!.
+# Example: PvPsForSkillID1 = 5000, when a character's PvP counter reaches 5000
+# their will get a skill for few minutes(you can change the minutes from SkillTime = 3)
+EnablePvPSkillReward = false
+
+# PvpKills & Skill,level1.
+PvPsForSkillID1 = 100
+SkillID1 = 1
+SkillLvL1 = 1
+
+# PvpKills & Skill,level2.
+PvPsForSkillID2 = 200
+SkillID2 = 2
+SkillLvL2 = 1
+

Guest
This topic is now closed to further replies.


  • Posts

    • Good day. Our game currency store is looking for suppliers of adena and items on a project such as L2REBORN x10. We also sell Epic jewelry and various items on this project L2REBORN x10. There are items and adena on L2REBORN x1. For all questions, write to us in discord - goddardshop
    • AdvExt64 are the only one real L2OFF Developpers still alive. Athena Project is L2J. L2Reborn is Java for their Interlude Seasonal & Essence servers, the rest are fully L2OFF. If you want a pro L2OFF implementation of Protocol 110, your only option is AdvExt64 and be ready to get out your cash, you have to order them a special creation, it will not be cheap at all. If you want a more okish implementation, you can use the one shared here on MXC.
    • We've worked hard for 14 years to gather all the information for your preferred type of game server - we've put together your ideas, your suggestions, information and researches from different knowledge bases and we've made a lot of tests to make the project as good as you love it. Our goal is to create a masterpiece that everyone can enjoy. We are one of the best server and we will be forever. There are many things we did damn right in the past and we will do more in future! Because of that - you're going to see many things you have not seen before on any other servers! Our team knows what you want and what we should do! You value quality and technical excellence? You need safety and exceptional security? You seek true adventures, unique game world, exquisite and eventful game? It means you are in right place! Welcome to L2Blaze, only here you will find and enjoy real game! X150 WARFIRE INTERLUDE SPRING SEASON: 2025 APRIL 26th! Opening time: 14:00 UTC+3 Poland opening time: 13:00 UTC+2 Norway opening time: 14:00 UTC+3 UK opening time: 12:00 UTC+1 Brazil opening time: 8:00 UTC-3 OPENING BONUS Opening bonus for first 100 players who will reach 3rd class will receive VIP Coin as bonus! Automatic registration on game login window, unnecessary to register in website! Do you want stability? Lagless and bugless game? Instant support? Daily PVP? Long-Term playing? You are in the right place, time to start! How to connect STEP BY STEP: 1. Install clear Lineage2 Interlude client 2. Download our patch, delete old system folder and add our 3. Delete, turn off anti virus or add our system folder to anti virus exceptions 4. Run l2.exe from Lineage2/system 5. Enter data on login window and enjoy the game! * You have to remove, turn off or use exceptions of antivirus because of our security protection. It is not a virus. * If you have connection issues with Windows 8 or 10, press right mouse button on l2.exe icon, press Properties, choose compatibility and unmark compatibility mode. Hearts of War EVENT! Collect War Hearts from Hot Springs monsters: Yeti, Buffalo, Antelope, Bandersnatch, Atroxspawn, Flava, Nepenthes, Grendel (3%), Atrox with (6%) and Heart Breaker Boss in Hot Springs Stage 2! You can trade it, sell it or spend in shop! Raid Boss Heart Breaker spawn every 4 hours (+4 hours random) Custom Raid Boss drop list: - Raid Boss Horus, Ember and Brakki, Nakondas: 1 VIP COIN (25%) | Korim (70%). - Raid Boss Apepi, Shacram, Atraiban, Korim: 1 BEWS (10%). - Raid Boss Glaki, Olkuth: 1-2 BEAS (40%). - Raid Boss Golkonda, Galaxia: 1-3 BEAS (60%). - Raid Boss Shyeed: 1-3 BEWS (30%) | 1-7 BEAS (40%) | 1-5 TOP LS 76 (50%). - Raid Boss Shuriel: 1-7 TOP LS 76 (50%) | 1-4 BEAS (60%). - Raid Boss Ashakiel: 1-2 BEWS (30%) | 1-7 TOP LS 76 (50%) | 1-4 BEAS (75%). - Raid Boss Antharas Priest Cloe: 1-3 BEWS (30%) | 1-7 TOP LS 76 (70%). ------------------------------------------------ - Hestia: Demon Splinters / Forgotten Blande (30%). - Ember: Arcana Mace / Draconic Bow (30%). - Galaxia: Angel Slayer / Heaven's Divider (30%) Take your friends, clan, alliance, enemys, sharp your sword, clean your armors and meet your destiny at 2025 APRIL 26th! WEBSITE: http://WWW.L2BLAZE.NET
  • Topics

×
×
  • Create New...