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

    • Good evening everyone! I wouldn't normally ask for help with something like this, but I'm honestly stuck and can't figure it out anymore. I have a C3 pack (I'll also include the link below since it took me a while to find a good one with everything needed to run it): (https://www.mediafire.com/file/glhnscql6hkd6ra/l2jnvc3_rev178_Greenhope_l2j_%2Bjava_%2Bsql.zip/file) The problem is that I'm completely stuck on one thing. No matter what I do, I can't log in. I keep getting a "wrong protocol" error. I've tried changing the protocol from 550–700 all the way to 1–999. I've tested many different C3 versions and every main system I could find, but I still haven't managed to log in successfully. I'm not sure if I'm doing something wrong when saving the .ini file after changing it to my server's IP address. If anyone could help me, I would really appreciate it. I'll keep the server online so that if someone is willing to assist, they can try logging in and help me figure out what's wrong. Server IP: 194.219.108.63 Thank you very much in advance to anyone who decides to take the time to help me. I'd really love to get this pack running properly and preserve it for the future.
    • Anosim Update   - New updated design is live - Free Numbers added on the mainpage - Use free numbers for activation - Receive SMS for free   ⸻   New Blog added Future news, updates and platform changes will be posted there   ⸻   Partner Section added New space for partners and integrations   ⸻   New Websites for Activation added   🇩🇪 Germany wg-gesucht.de dikidi.net 🇨🇭 Switzerland Tutti.ch Ricardo.ch 🇦🇺 Australia Gumtree.com.au 🇬🇧 UK Askable.com   ⸻   New Countries added for Activation   🇦🇷 Argentina 🇧🇬 Bulgaria 🇨🇲 Cameroon 🇭🇷 Croatia 🇬🇷 Greece 🇰🇿 Kazakhstan 🇲🇦 Morocco   ⸻   New Full Rent 🇬🇪 Georgia +995 Numbers Full Rent now available Real SIM Cards No VoIP   ⸻   Available now on https://anosim.net
    • Shadowsocks Released   World’s first Dedicated Mobile Proxy with Shadowsocks support. Dedicated 4G/5G mobile proxies can now be used with Shadowsocks.   New dedicated mobile proxy locations added: 🇩🇪 Germany (Leipzig) 🇳🇬 Nigeria (Lagos) 🇺🇸 USA (South Haven)   Also available: 🌐 Residential Proxies from $1/GB   ⚡️ Datacenter Proxies from $0.50/GB   Available now on Proxied.   https://proxied.com For Free Trials, write us a DM with your registered E-mail.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..