Jump to content

[Share]Fight Stats Title System


Recommended Posts

zeva as intrepid said you're like me or someone else a wanna be developer we dont have setekh or horus or intrepid knowledge so take care

 

o0 i wanna be dev o0? O0OO .. why ur so -beep-ing failed ...

 

do you think i care for rank here? do you think if i get dev rank here i will bee someone ... do you think who have here dev rank he is dev ? niah? ur funny all .. enjoy ur failed world!

 

@Kingstyle

 

you dont have idea my dude what i know and what no .. so how u can say that? i will give u answer .... bcause u are one of 100000000k failed ppl!

 

PS: Report To Admin For - Karma!

 

 

Link to comment
Share on other sites

o0 i wanna be dev o0? O0OO .. why ur so -beep-ing failed ...

 

do you think i care for rank here? do you think if i get dev rank here i will bee someone ... do you think who have here dev rank he is dev ? niah? ur funny all .. enjoy ur failed world!

 

@Kingstyle

 

you dont have idea my dude what i know and what no .. so how u can say that? i will give u answer .... bcause u are one of 100000000k failed ppl!

 

PS: Report To Admin For - Karma!

 

 

 

1.so we failed alright show me what you did and than we see who fail and btw stop flameing...

 

AND YES YOU ARE JUST A WANNABE DEV...i researched your posts all of your post is about "easy i can make better" maybe instead of talk you should proove yourself like everybody try here...if you dont want ok but DONT TALK BULLSHIT...

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...
  • 2 months later...

Hello folks...

 

This is one of my 1st java codes , i want to thx stefoulis15 too much for helping me at configs ...

 

Index: config/mods/customs.properties
===================================================================
--- config/mods/customs.properties (revision 43)
+++ config/mods/customs.properties (revision 44)
@@ -77,4 +77,9 @@
WarriorTitleSystemEnabled = False
MageTitleSystemEnabled = False
+
+#-------------------------------------------------------------
+# Section: Custom Fight Stats Title System
+#-------------------------------------------------------------
+AllowFightStatsSystem = False

#-------------------------------------------------------------
Index: /java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- /java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java (revision 32)
+++ /java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java (revision 44)
@@ -5453,4 +5453,7 @@
		broadcastUserInfo();

+		FightStatsSystem(getPvpKills(), getPkKills());
+		broadcastUserInfo();
+		
		// Update the character's name color if they reached any of the 5 PvP
		// levels.
@@ -5463,4 +5466,12 @@
	}

+	public void FightStatsSystem(int pvpKillAmount, int pkKillAmount)
+	{
+		if (L2Config.ALLOW_FIGHT_STATS_SYSTEM)
+		{
+			activeChar.setTitle("PvPs:"+getPvpKills()+ "| PKs:"+getPkKills()+"");
+		}
+	}
+	
	public void PvpReward() {
		if (L2Config.PVP_REWARD_ENABLED) {
Index: //java/com/l2jarchid/L2Config.java
===================================================================
--- /java/com/l2jarchid/L2Config.java (revision 41)
+++ /java/com/l2jarchid/L2Config.java (revision 44)
@@ -1346,4 +1346,5 @@
     public static int           SIDE_BLOW_SUCCESS;
     public static boolean       ENABLE_MODIFY_SKILL_DURATION;
+    public static boolean		ALLOW_FIGHT_STATS_SYSTEM;
	//=====================================================================================
	public static FastList<Integer>	ALLOWED_SKILLS_LIST		= new FastList<Integer>();
@@ -1597,5 +1598,5 @@
	        ARCHID_BACK_TIMER = Integer.parseInt(CustomMod.getProperty("BackTimer", "30"));
	        ARCHID_AWAY_PEACE_ZONE = Boolean.parseBoolean(CustomMod.getProperty("AwayOnlyInPeaceZone", "False"));
-
+	        ALLOW_FIGHT_STATS_SYSTEM = Boolean.parseBoolean(CustomMod.getProperty("AllowFightStatsSystem", "False"));
	        CHAR_TITLE = Boolean.parseBoolean(CustomMod.getProperty("CharTitle", "false"));
	    	ADD_CHAR_TITLE = CustomMod.getProperty("CharAddTitle", "Welcome");

 

 

What is this i just posted?

 

 

When you aply this code , inside the game , the players are gonna have theyr fight status on their titles .. example?!

 

PvPs : 50 | PKs : 10

 

 

Thanks ..

 

 

 

Working on L2J Archid

 

can i do a question..?

if the player have already his own title by the clan or by noblesse it will be removed and it will auto-write the PvP and Pk kill on his title..?

Link to comment
Share on other sites

  • 7 months later...

its better to use right click on char to view status html :) but this is ok too especially for some mass pvp servers with 9999999999999999x rates :D

 

or maybe if they do an voiced command to show that status on title like: .titlestatuson  .titlestatusoff, because if we put that we cant use clan/nobless title

 

 

sorry bad english.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...