Jump to content

Madboy

Members
  • Posts

    611
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Madboy

  1. about rebirth and other modes... have tvt?
  2. Again a nice shop.May exempt from hard work.
  3. this gm shop is exelente. i wil download for shure
  4. what i can say... nice work, but i have a question this files are good for a stable server???
  5. and you can't share rev 525 or someting like that i mean source code.
  6. nice share but capaji can you give us a timeline and a svn??? and can you upload on rapidshare.com or 4shared.com?
  7. 1. Index: src/net/sf/l2j/Config.java 2. =================================================================== 3. --- src/net/sf/l2j/Config.java (revision 117) 4. +++ src/net/sf/l2j/Config.java (working copy) 5. @@ -870,6 +870,29 @@ 6. public static int L2JMOD_CHAMPION_REWARD_ID; 7. public static int L2JMOD_CHAMPION_REWARD_QTY; 8. 9. + /** Custom Title for PvPs */ 10. + public static boolean PVP_TITLE_SYSTEM_ENABLED; 11. + public static int PVP_AMOUNT1; 12. + public static int PVP_AMOUNT2; 13. + public static int PVP_AMOUNT3; 14. + public static int PVP_AMOUNT4; 15. + public static int PVP_AMOUNT5; 16. + public static int PVP_AMOUNT6; 17. + public static int PVP_AMOUNT7; 18. + public static int PVP_AMOUNT8; 19. + public static int PVP_AMOUNT9; 20. + public static int PVP_AMOUNT10; 21. + public static String TITLE_FOR_PVP_AMOUNT1; 22. + public static String TITLE_FOR_PVP_AMOUNT2; 23. + public static String TITLE_FOR_PVP_AMOUNT3; 24. + public static String TITLE_FOR_PVP_AMOUNT4; 25. + public static String TITLE_FOR_PVP_AMOUNT5; 26. + public static String TITLE_FOR_PVP_AMOUNT6; 27. + public static String TITLE_FOR_PVP_AMOUNT7; 28. + public static String TITLE_FOR_PVP_AMOUNT8; 29. + public static String TITLE_FOR_PVP_AMOUNT9; 30. + public static String TITLE_FOR_PVP_AMOUNT10; 31. + 32. public static boolean USE_CR_ITEM; 33. public static int CR_ITEM_MIN_CLAN_LVL; 34. public static int CR_ITEM_REPS_TO_BE_AWARDED; 35. @@ -2069,6 +2092,29 @@ 36. L2JMOD_CHAMPION_REWARD_ID = Integer.parseInt(L2JModSettings.getProperty("ChampionRewardItemID", "6393")); 37. L2JMOD_CHAMPION_REWARD_QTY = Integer.parseInt(L2JModSettings.getProperty("ChampionRewardItemQty", "1")); 38. 39. + /** Custom Title for PvPs */ 40. + PVP_TITLE_SYSTEM_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("EnableCustomTitleSystem", "false")); 41. + PVP_AMOUNT1 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount1", "0")); 42. + PVP_AMOUNT2 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount2", "0")); 43. + PVP_AMOUNT3 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount3", "0")); 44. + PVP_AMOUNT4 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount4", "0")); 45. + PVP_AMOUNT5 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount5", "0")); 46. + PVP_AMOUNT6 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount6", "0")); 47. + PVP_AMOUNT7 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount7", "0")); 48. + PVP_AMOUNT8 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount8", "0")); 49. + PVP_AMOUNT9 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount9", "0")); 50. + PVP_AMOUNT10 = Integer.parseInt(L2JModSettings.getProperty("PvPsAmmount10", "0")); 51. + TITLE_FOR_PVP_AMOUNT1 = L2JModSettings.getProperty("TitleForAmmount1", "something"); 52. + TITLE_FOR_PVP_AMOUNT2 = L2JModSettings.getProperty("TitleForAmmount2", "something"); 53. + TITLE_FOR_PVP_AMOUNT3 = L2JModSettings.getProperty("TitleForAmmount3", "something"); 54. + TITLE_FOR_PVP_AMOUNT4 = L2JModSettings.getProperty("TitleForAmmount4", "something"); 55. + TITLE_FOR_PVP_AMOUNT5 = L2JModSettings.getProperty("TitleForAmmount5", "something"); 56. + TITLE_FOR_PVP_AMOUNT6 = L2JModSettings.getProperty("TitleForAmmount6", "something"); 57. + TITLE_FOR_PVP_AMOUNT7 = L2JModSettings.getProperty("TitleForAmmount7", "something"); 58. + TITLE_FOR_PVP_AMOUNT8 = L2JModSettings.getProperty("TitleForAmmount8", "something"); 59. + TITLE_FOR_PVP_AMOUNT9 = L2JModSettings.getProperty("TitleForAmmount9", "something"); 60. + TITLE_FOR_PVP_AMOUNT10 = L2JModSettings.getProperty("TitleForAmmount10", "something"); 61. + 62. USE_CR_ITEM = Boolean.parseBoolean(L2JModSettings.getProperty("EnableTheClanRepPointsItem", "False")); 63. CR_ITEM_MIN_CLAN_LVL = Integer.parseInt(L2JModSettings.getProperty("ClanLevelNeededForCR", "7")); 64. CR_ITEM_REPS_TO_BE_AWARDED = Integer.parseInt(L2JModSettings.getProperty("HowManyClanRepsToGive", "500")); 65. Index: src/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java 66. =================================================================== 67. --- src/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 117) 68. +++ src/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) 69. @@ -3799,6 +3799,57 @@ 70. } 71. } 72. 73. + public void updatePvpRelatedStuff(int pvpKillAmount) 74. + { 75. + if (Config.PVP_TITLE_SYSTEM_ENABLED) 76. + { 77. + if (isGM()) 78. + return; 79. + { 80. + if ((pvpKillAmount >= (Config.PVP_AMOUNT1)) && (pvpKillAmount <= (Config.PVP_AMOUNT2))) 81. + { 82. + setTitle(Config.TITLE_FOR_PVP_AMOUNT1); 83. + } 84. + else if ((pvpKillAmount >= (Config.PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3))) 85. + { 86. + setTitle(Config.TITLE_FOR_PVP_AMOUNT2); 87. + } 88. + else if ((pvpKillAmount >= (Config.PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4))) 89. + { 90. + setTitle(Config.TITLE_FOR_PVP_AMOUNT3); 91. + } 92. + else if ((pvpKillAmount >= (Config.PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5))) 93. + { 94. + setTitle(Config.TITLE_FOR_PVP_AMOUNT4); 95. + } 96. + else if ((pvpKillAmount >= (Config.PVP_AMOUNT5)) && (pvpKillAmount <= (Config.PVP_AMOUNT6))) 97. + { 98. + setTitle(Config.TITLE_FOR_PVP_AMOUNT5); 99. + } 100. + else if ((pvpKillAmount >= (Config.PVP_AMOUNT6)) && (pvpKillAmount <= (Config.PVP_AMOUNT7))) 101. + { 102. + setTitle(Config.TITLE_FOR_PVP_AMOUNT6); 103. + } 104. + else if ((pvpKillAmount >= (Config.PVP_AMOUNT7)) && (pvpKillAmount <= (Config.PVP_AMOUNT8))) 105. + { 106. + setTitle(Config.TITLE_FOR_PVP_AMOUNT7); 107. + } 108. + else if ((pvpKillAmount >= (Config.PVP_AMOUNT8)) && (pvpKillAmount <= (Config.PVP_AMOUNT9))) 109. + { 110. + setTitle(Config.TITLE_FOR_PVP_AMOUNT8); 111. + } 112. + else if ((pvpKillAmount >= (Config.PVP_AMOUNT9)) && (pvpKillAmount <= (Config.PVP_AMOUNT10))) 113. + { 114. + setTitle(Config.TITLE_FOR_PVP_AMOUNT9); 115. + } 116. + else if (pvpKillAmount >= (Config.PVP_AMOUNT10)) 117. + { 118. + setTitle(Config.TITLE_FOR_PVP_AMOUNT10); 119. + } 120. + } 121. + } 122. + } 123. + 124. public void updateRanks(int pvpKillAmount) 125. { 126. if (Config.ENABLE_RANKING_SYSTEM) 127. @@ -4992,6 +5043,12 @@ 128. // Add karma to attacker and increase its PK counter 129. setPvpKills(getPvpKills() + 1); 130. 131. + if (Config.PVP_TITLE_SYSTEM_ENABLED) 132. + { 133. + updatePvpRelatedStuff(getPvpKills()); 134. + broadcastUserInfo(); 135. + } 136. + 137. if (Config.ENABLE_DOMINATION_SYSTEM) 138. { 139. quakeSystem++; 140. Index: src/config/l2jmods.properties 141. =================================================================== 142. --- src/config/l2jmods.properties (revision 117) 143. +++ src/config/l2jmods.properties (working copy) 144. @@ -29,6 +29,46 @@ 145. ChampionRewardItemQty = 1 146. 147. #--------------------------------------------------------------- 148. +# PvPs Title (Like ranking) Change 149. +#--------------------------------------------------------------- 150. + 151. +# Enable the sys? 152. +EnableCustomTitleSystem = False 153. + 154. +# Set the proper values below. 155. +# For each pvp ammount, set the proper title. 156. + 157. +PvPsAmmount1 = 10 158. +TitleForAmmount1 = something 159. + 160. +PvPsAmmount2 = 20 161. +TitleForAmmount2 = something 162. + 163. +PvPsAmmount3 = 30 164. +TitleForAmmount3 = something 165. + 166. +PvPsAmmount4 = 40 167. +TitleForAmmount4 = something 168. + 169. +PvPsAmmount5 = 50 170. +TitleForAmmount5 = something 171. + 172. +PvPsAmmount6 = 60 173. +TitleForAmmount6 = something 174. + 175. +PvPsAmmount7 = 70 176. +TitleForAmmount7 = something 177. + 178. +PvPsAmmount8 = 80 179. +TitleForAmmount8 = something 180. + 181. +PvPsAmmount9 = 90 182. +TitleForAmmount9 = something 183. + 184. +PvPsAmmount10 = 100 185. +TitleForAmmount10 = something 186. + 187. +#--------------------------------------------------------------- 188. # Wedding System (by evill33t) 189. #--------------------------------------------------------------- 190. #True Allows Wedding, False disables Wedding. 191. Index: src/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java 192. =================================================================== 193. --- src/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 117) 194. +++ src/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (working copy) 195. @@ -322,6 +322,11 @@ 196. Quest.playerEnter(activeChar); 197. activeChar.sendPacket(new QuestList()); 198. 199. + if (activeChar.getPvpKills()>=(Config.PVP_AMOUNT1) && (Config.PVP_TITLE_SYSTEM_ENABLED)) 200. + { 201. + activeChar.updatePvpRelatedStuff(activeChar.getPvpKills()); 202. + } 203. + 204. if (Config.ENABLE_RANKING_SYSTEM) 205. { 206. if (activeChar.getPvpKills()>=(Config.PVPS_NEEDED_FOR_INTERMEDIATE) && activeChar.getPvpKills()<(Config.PVPS_NEEDED_FOR_MASTER)) Credit: thanks Coyote™ for help me and me...
  8. You can not read above? Why all people need to spam?
  9. Hi You're serious i don't think this is true but any way We are sorry, but all downloading slots for your country are busy.
  10. and what the point whit crack.... you don't have how to set encheant rate what is most important than max players online.
  11. yes because is demo version max 10 players online,you can't set encheant rate,etc
  12. Nice server pack ,, but 1 question where i can set the encheant rate?
  13. nice share but this server pack no is on ru?
  14. this server pack have 2 tipes of html en version and ru version only community base is on ru.
  15. Hi agaen.. the freya armors have some error black lines and more
  16. Hi all Nice share, SOFaki link work for me.. just reload the page.
  17. What i can say ... Nice one xAddytzu
  18. o yes? http://www.maxcheaters.com/forum/index.php?topic=22377.0 look now. On:glow is nice ...
  19. chiar cat ii pretu pt archid?
  20. Setekh miai promis ceva.... in fine daca nu se poate nui nimic dar vreau sa te intreb ceva..
  21. hmm don't know what to say a-squared 4.5.0.50 2010.03.14 - AhnLab-V3 5.0.0.2 2010.03.14 - AntiVir 8.2.1.180 2010.03.12 - Antiy-AVL 2.0.3.7 2010.03.12 - Authentium 5.2.0.5 2010.03.13 W32/Heuristic-KPP!Eldorado Avast 4.8.1351.0 2010.03.14 - Avast5 5.0.332.0 2010.03.14 - AVG 9.0.0.787 2010.03.14 - BitDefender 7.2 2010.03.14 - CAT-QuickHeal 10.00 2010.03.13 - ClamAV 0.96.0.0-git 2010.03.14 - Comodo 4261 2010.03.14 - DrWeb 5.0.1.12222 2010.03.14 - eSafe 7.0.17.0 2010.03.14 - eTrust-Vet 35.2.7359 2010.03.12 - F-Prot 4.5.1.85 2010.03.14 W32/Heuristic-KPP!Eldorado F-Secure 9.0.15370.0 2010.03.14 - Fortinet 4.0.14.0 2010.03.13 - GData 19 2010.03.14 - Ikarus T3.1.1.80.0 2010.03.14 - Jiangmin 13.0.900 2010.03.14 - K7AntiVirus 7.10.997 2010.03.13 - Kaspersky 7.0.0.125 2010.03.14 - McAfee 5920 2010.03.14 - McAfee+Artemis 5920 2010.03.14 - McAfee-GW-Edition 6.8.5 2010.03.13 Heuristic.BehavesLike.Win32.CodeInjection.I Microsoft 1.5502 2010.03.12 - NOD32 4943 2010.03.14 - Norman 6.04.08 2010.03.14 - nProtect 2009.1.8.0 2010.03.13 - Panda 10.0.2.2 2010.03.14 - PCTools 7.0.3.5 2010.03.14 - Prevx 3.0 2010.03.14 - Rising 22.38.04.03 2010.03.12 - Sophos 4.51.0 2010.03.14 - Sunbelt 5878 2010.03.14 Trojan.Win32.Generic!BT Symantec 20091.2.0.41 2010.03.14 Reser.Reputation.1 TheHacker 6.5.2.0.233 2010.03.13 - TrendMicro 9.120.0.1004 2010.03.14 - VBA32 3.12.12.2 2010.03.14 - ViRobot 2010.3.13.2226 2010.03.13 - VirusBuster 5.0.27.0 2010.03.13 - Is nice but...
  22. Use this fileedit. http://www.4shared.com/file/73927876/2fec9aa/L2_FileEdit65.html
  23. This no is ok? # Pvp Amount, Title & color level 1. PvpAmount1 = 50 TitleForAmount1 = Warrior # Pvp Amount, Title & color level 2. PvpAmount2 = 100 PkAmount2 = 100 TitleForAmount2 = Soldier # Pvp Amount, Title & color level 3. PvpAmount3 = 150 TitleForAmount3 = Elite Soldier # Pvp Amount, Title & color level 4. PvpAmount4 = 200 TitleForAmount4 = Gladiator # Pvp Amount, Title & color level 5. PvpAmount5 = 250 TitleForAmount1 = Veteran # Pvp Amount, Title & color level 6. PvpAmount6 = 300 TitleForAmount6 = Champion # Pvp Amount, Title & color level 7. PvpAmount7 = 350 TitleForAmount7 = Commander # Pvp Amount, Title & color level 8. PvpAmount8 = 400 TitleForAmount8 = Master # Pvp Amount, Title & color level 9. PvpAmount9 = 450 TitleForAmount9 = Assassin # Pvp Amount, Title & color level 10. PvpAmount10 = 500 TitleForAmount10 = Hero public static boolean PVP_TITLE_AND_COLOR_SYSTEM_ENABLED; public static boolean PK_COLOR_SYSTEM_ENABLED; public static int PVP_AMOUNT1; public static int TITLE_COLOR_FOR_PVP_AMOUNT1; public static int PVP_AMOUNT2; public static int TITLE_COLOR_FOR_PVP_AMOUNT2; public static int PVP_AMOUNT3; public static int TITLE_COLOR_FOR_PVP_AMOUNT3; public static int PVP_AMOUNT4; public static int TITLE_COLOR_FOR_PVP_AMOUNT4; public static int PVP_AMOUNT5; public static int TITLE_COLOR_FOR_PVP_AMOUNT5; public static int PVP_AMOUNT6; public static int TITLE_COLOR_FOR_PVP_AMOUNT6; public static int PVP_AMOUNT7; public static int TITLE_COLOR_FOR_PVP_AMOUNT7; public static int PVP_AMOUNT8; public static int TITLE_COLOR_FOR_PVP_AMOUNT8; public static int PVP_AMOUNT9; public static int TITLE_COLOR_FOR_PVP_AMOUNT9; public static int PVP_AMOUNT10; public static int TITLE_COLOR_FOR_PVP_AMOUNT10; PVP_TITLE_AND_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("EnablePvPColorSystem", "false")); PVP_AMOUNT1 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount1", "50")); TITLE_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount1", "Warrior")); PVP_AMOUNT2 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount2", "100")); TITLE_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount2", "Soldier")); PVP_AMOUNT3 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount3", "150")); TITLE_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount3", "Elite Soldier")); PVP_AMOUNT4 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount4", "200")); TITLE_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount4", "Gladiator")); PVP_AMOUNT5 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount5", "250")); TITLE_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount5", "Veteran")); PVP_AMOUNT6 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount6", "300")); TITLE_COLOR_FOR_PVP_AMOUNT6 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount6", "Champion")); PVP_AMOUNT7 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount7", "350")); TITLE_COLOR_FOR_PVP_AMOUNT7 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount7", "Commander")); PVP_AMOUNT8 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount8", "400")); TITLE_COLOR_FOR_PVP_AMOUNT8 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount8", "Master")); PVP_AMOUNT9 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount9", "450")); TITLE_COLOR_FOR_PVP_AMOUNT9 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount9", "Assassin")); PVP_AMOUNT10 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount10", "500")); TITLE_COLOR_FOR_PVP_AMOUNT10 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount10", "Hero")); public void updatePvPTitle(int pvpKillAmount) { if (Config.PVP_TITLE_AND_COLOR_SYSTEM_ENABLED) { //Check if the character has GM access and if so, let them be. if (isGM()) return; { if ((pvpKillAmount >= (Config.PVP_AMOUNT1)) && (pvpKillAmount < (Config.PVP_AMOUNT1))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT1); } if ((pvpKillAmount >= (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT2))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT2); } if ((pvpKillAmount >= (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT3))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT3); } if ((pvpKillAmount >= (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT4))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT4); } if ((pvpKillAmount >= (Config.PVP_AMOUNT5)) && (pvpKillAmount < (Config.PVP_AMOUNT5))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT5); } if ((pvpKillAmount >= (Config.PVP_AMOUNT6)) && (pvpKillAmount < (Config.PVP_AMOUNT6))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT6); } if ((pvpKillAmount >= (Config.PVP_AMOUNT7)) && (pvpKillAmount < (Config.PVP_AMOUNT7))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT7); } if ((pvpKillAmount >= (Config.PVP_AMOUNT8)) && (pvpKillAmount < (Config.PVP_AMOUNT8))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT8); } if ((pvpKillAmount >= (Config.PVP_AMOUNT9)) && (pvpKillAmount < (Config.PVP_AMOUNT9))) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT9); } else if (pvpKillAmount >= (Config.PVP_AMOUNT10)) { getAppearance().setTitle(Config.TITLE_COLOR_FOR_PVP_AMOUNT10); } } } }
  24. off you don't understund. i don't want title color. i want when you make 20 pvp for example... your title wil be Warrior... etc. i use that because i don't know java ... and i edit only color system.. because of that is TITLE_COLOR_FOR_PVP_AMOUNT1 etc..
×
×
  • Create New...