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

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

    • Where's the proof? I can tell you're a scammer.
    • Where was I called a scammer? Is there any proof, etc.? There are a lot of reviews about our store online, etc. https://zhyk.org/forum/showthread.php?t=1108673
    • U was reported as scammer in your previos topic why u create new topic?
    • 🔍 Inventory 1.0 is a next-generation inventory system that stands out with its special minimal clothing system. Carefully designed and prepared according to the highest standards of your server, it not only enhances your gaming experience but also contributes to your server's infrastructure. ⚙️ Supported: QB-CORE Features: ✅ Instant Delivery: All products you purchase will be instantly assigned to your account as soon as your payment is completed. ✅ Clothing System: With the special animated clothing configurations in your inventory, you will be able to change outfits with ease. Experience a unique roleplaying experience with high-quality animations and customizable clothing options. ✅ Minimalist Inventory System: This inventory system, with its visuals, animations, and mechanics, offers maximum efficiency without overwhelming your screen and limiting your roleplaying experience. It’s designed to be user-friendly while enhancing your roleplaying experience. ✅ Continuous Updates: The content in the inventory is regularly updated with innovative features added. New animations, additional clothing options, and cutting-edge features ensure a fresh and dynamic experience. ✅ Easy Setup and Compatibility: Compatible with QB-CORE, this system is easy to install and optimized for quick integration into your server. It works seamlessly with a simple drag-and-drop method. ✅ Performance Optimization: The system is optimized to avoid low FPS and performance drops. All features of the inventory run smoothly without affecting your server’s performance. ✅ Multilingual Support: With support for different languages, you can cater to an international player base and build a larger community on your server. ✅ Flexible Customization Options: You can fully customize the inventory according to your needs and server rules. Choose between different outfits and animations to create a unique gaming experience. ✅ Comprehensive Help and Support: With 24/7 support, you can quickly resolve any issues you encounter. Our technical support and user guides are always here to assist you. Shop Now! Take your game to the next level with Inventory 1.0  and enjoy its unique features. Get ready to make a real difference in your roleplaying experience!   --------------------------TEBEX: https://matza.tebex.io/package/7174862 --------------------------
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock