Jump to content

l2redkiller

Members
  • Posts

    200
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by l2redkiller

  1. Heya all i am really new i wanna know what i must do for balance my l2j server ? so i checket L2Char_template.sql there is all ok i used stats from lineage2.com than i used restrickt armor and no more stack for augment skills. now some classes have much op like tyrant 11k p.atk tank atk,speed, 1499 also max with shilen templar and some other classes how balance them ? thx for replays
  2. thx thats not all skills and need the fixes becurse not all of them work haha
  3. Maybe check new the start post some changes be there :P have fun
  4. we added some new things come in game and check it out we are ready ! are you ? - Raiden
  5. no its mods are not from me i just post it here for ppl they wanna have much mods :P stabile it is ye
  6. i made for my own server with 10 for pvp 10 for pk so use it or not xD only share it maybe ppl dont wanna create or cant create it like that ^^
  7. work for gracia final and interlude ?
  8. its a stabile server packet for now atm only interlude with many futures from us here the Forum http://l2j-infinity.info/ SVN: http://svn6.assembla.com/svn/L2J-Infinity/ Timeline: http://trac6.assembla.com/L2J-Infinity/timeline
  9. here we are : ### Eclipse Workspace Patch 1.0 #P L2_GameServer Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 3945) +++ java/config/l2jmods.properties (working copy) @@ -256,4 +256,75 @@ # This option will enable core support for: # Mana Drug (item ID 726), using skill ID 9007. # Mana Potion (item ID 728), using skill ID 9008. -EnableManaPotionSupport = False \ No newline at end of file +EnableManaPotionSupport = False + + +# --------------------------------------- +# Section: PvP Title Color Change System by Level +# --------------------------------------- +# Each Amount will change the title content and color to the values defined here. +# Example: PvpAmount1 = 20, when a character's PvP counter reaches 20 +# their title color and content will change according to the ColorForAmount value. +# Note: Colors Must Be in RBG format. +EnablePvPColorSystem = false +EnablePkColorSystem = false + +# Pvp Amount, Title & color level 1. +PvpAmount1 = 50 +PkAmount1 = 50 +ColorForAmount1 = 00FF00 +TitleForAmount1 = 00FF00 + +# Pvp Amount, Title & color level 2. +PvpAmount2 = 100 +PkAmount2 = 100 +ColorForAmount2 = 00FF00 +TitleForAmount2 = 00FF00 + +# Pvp Amount, Title & color level 3. +PvpAmount3 = 150 +PkAmount3 = 150 +ColorForAmount3 = 00FF00 +TitleForAmount3 = 00FF00 + +# Pvp Amount, Title & color level 4. +PvpAmount4 = 200 +PkAmount4 = 200 +ColorForAmount4 = 00FF00 +TitleForAmount4 = 00FF00 + +# Pvp Amount, Title & color level 5. +PvpAmount5 = 250 +PkAmount5 = 250 +ColorForAmount5 = 00FF00 +TitleForAmount1 = 00FF00 + +# Pvp Amount, Title & color level 6. +PvpAmount6 = 300 +PkAmount6 = 300 +ColorForAmount6 = 00FF00 +TitleForAmount6 = 00FF00 + +# Pvp Amount, Title & color level 7. +PvpAmount7 = 350 +PkAmount7 = 350 +ColorForAmount7 = 00FF00 +TitleForAmount7 = 00FF00 + +# Pvp Amount, Title & color level 8. +PvpAmount8 = 400 +PkAmount8 = 400 +ColorForAmount8 = 00FF00 +TitleForAmount8 = 00FF00 + +# Pvp Amount, Title & color level 9. +PvpAmount9 = 450 +PkAmount9 = 450 +ColorForAmount9 = 00FF00 +TitleForAmount9 = 00FF00 + +# Pvp Amount, Title & color level 10. +PvpAmount10 = 500 +PkAmount10 = 500 +ColorForAmount10 = 00FF00 +TitleForAmount10 = 00FF00 \ No newline at end of file Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 3945) +++ java/net/sf/l2j/Config.java (working copy) @@ -616,8 +616,51 @@ public static boolean OFFLINE_SET_NAME_COLOR; public static int OFFLINE_NAME_COLOR; public static boolean L2JMOD_ENABLE_MANA_POTIONS_SUPPORT; + public static boolean PVP_TITLE_AND_COLOR_SYSTEM_ENABLED; + public static boolean PK_COLOR_SYSTEM_ENABLED; + public static int PVP_AMOUNT1; + public static int PK_AMOUNT1; + public static int TITLE_COLOR_FOR_PVP_AMOUNT1; + public static int NAME_COLOR_FOR_PK_AMOUNT1; + public static int PVP_AMOUNT2; + public static int PK_AMOUNT2; + public static int TITLE_COLOR_FOR_PVP_AMOUNT2; + public static int NAME_COLOR_FOR_PK_AMOUNT2; + public static int PVP_AMOUNT3; + public static int PK_AMOUNT3; + public static int TITLE_COLOR_FOR_PVP_AMOUNT3; + public static int NAME_COLOR_FOR_PK_AMOUNT3; + public static int PVP_AMOUNT4; + public static int PK_AMOUNT4; + public static int TITLE_COLOR_FOR_PVP_AMOUNT4; + public static int NAME_COLOR_FOR_PK_AMOUNT4; + public static int PVP_AMOUNT5; + public static int PK_AMOUNT5; + public static int TITLE_COLOR_FOR_PVP_AMOUNT5; + public static int NAME_COLOR_FOR_PK_AMOUNT5; + public static int PVP_AMOUNT6; + public static int PK_AMOUNT6; + public static int TITLE_COLOR_FOR_PVP_AMOUNT6; + public static int NAME_COLOR_FOR_PK_AMOUNT6; + public static int PVP_AMOUNT7; + public static int PK_AMOUNT7; + public static int TITLE_COLOR_FOR_PVP_AMOUNT7; + public static int NAME_COLOR_FOR_PK_AMOUNT7; + public static int PVP_AMOUNT8; + public static int PK_AMOUNT8; + public static int TITLE_COLOR_FOR_PVP_AMOUNT8; + public static int NAME_COLOR_FOR_PK_AMOUNT8; + public static int PVP_AMOUNT9; + public static int PK_AMOUNT9; + public static int TITLE_COLOR_FOR_PVP_AMOUNT9; + public static int NAME_COLOR_FOR_PK_AMOUNT9; + public static int PVP_AMOUNT10; + public static int PK_AMOUNT10; + public static int TITLE_COLOR_FOR_PVP_AMOUNT10; + public static int NAME_COLOR_FOR_PK_AMOUNT10; + public static int PVP_AMOUNT11; + public static int PK_AMOUNT11; - //-------------------------------------------------- // NPC Settings //-------------------------------------------------- @@ -2014,6 +2057,51 @@ OFFLINE_NAME_COLOR = Integer.decode("0x" + L2JModSettings.getProperty("OfflineNameColor", "808080")); L2JMOD_ENABLE_MANA_POTIONS_SUPPORT = Boolean.parseBoolean(L2JModSettings.getProperty("EnableManaPotionSupport", "false")); + + PVP_TITLE_AND_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("EnablePvPColorSystem", "false")); + PK_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("EnablePkColorSystem", "false")); + + PVP_AMOUNT1 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount1", "50")); + PK_AMOUNT1 = Integer.parseInt(L2JModSettings.getProperty("PkAmount1", "50")); + TITLE_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount1", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT1 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount1", "00FF00")); + PVP_AMOUNT2 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount2", "100")); + PK_AMOUNT2 = Integer.parseInt(L2JModSettings.getProperty("PkAmount2", "100")); + TITLE_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount2", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT2 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount2", "00FF00")); + PVP_AMOUNT3 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount3", "150")); + PK_AMOUNT3 = Integer.parseInt(L2JModSettings.getProperty("PkAmount3", "150")); + TITLE_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount3", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT3 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount3", "00FF00")); + PVP_AMOUNT4 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount4", "200")); + PK_AMOUNT4 = Integer.parseInt(L2JModSettings.getProperty("PkAmount4", "200")); + TITLE_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount4", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT4 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount4", "00FF00")); + PVP_AMOUNT5 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount5", "250")); + PK_AMOUNT5 = Integer.parseInt(L2JModSettings.getProperty("PkAmount5", "250")); + TITLE_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount5", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT5 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount5", "00FF00")); + PVP_AMOUNT6 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount6", "300")); + PK_AMOUNT6 = Integer.parseInt(L2JModSettings.getProperty("PkAmount6", "300")); + TITLE_COLOR_FOR_PVP_AMOUNT6 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount6", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT6 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount6", "00FF00")); + PVP_AMOUNT7 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount7", "350")); + PK_AMOUNT7 = Integer.parseInt(L2JModSettings.getProperty("PkAmount7", "350")); + TITLE_COLOR_FOR_PVP_AMOUNT7 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount7", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT7 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount7", "00FF00")); + PVP_AMOUNT8 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount8", "400")); + PK_AMOUNT8 = Integer.parseInt(L2JModSettings.getProperty("PkAmount8", "400")); + TITLE_COLOR_FOR_PVP_AMOUNT8 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount8", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT8 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount8", "00FF00")); + PVP_AMOUNT9 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount9", "450")); + PK_AMOUNT9 = Integer.parseInt(L2JModSettings.getProperty("PkAmount9", "450")); + TITLE_COLOR_FOR_PVP_AMOUNT9 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount9", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT9 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount9", "00FF00")); + PVP_AMOUNT10 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount10", "500")); + PK_AMOUNT10 = Integer.parseInt(L2JModSettings.getProperty("PkAmount10", "500")); + TITLE_COLOR_FOR_PVP_AMOUNT10 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount10", "00FF00")); + NAME_COLOR_FOR_PK_AMOUNT10 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount10", "00FF00")); + } catch (Exception e) { Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 3945) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -4384,6 +4384,109 @@ DuelManager.getInstance().broadcastToOppositTeam(this, update); } } + + public void updatePvPTitleColor(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_AMOUNT2))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT1); + } + if ((pvpKillAmount >= (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT3))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT2); + } + if ((pvpKillAmount >= (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT4))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT3); + } + if ((pvpKillAmount >= (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT5))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT4); + } + if ((pvpKillAmount >= (Config.PVP_AMOUNT5)) && (pvpKillAmount < (Config.PVP_AMOUNT6))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT5); + } + if ((pvpKillAmount >= (Config.PVP_AMOUNT6)) && (pvpKillAmount < (Config.PVP_AMOUNT7))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT6); + } + if ((pvpKillAmount >= (Config.PVP_AMOUNT7)) && (pvpKillAmount < (Config.PVP_AMOUNT8))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT7); + } + if ((pvpKillAmount >= (Config.PVP_AMOUNT8)) && (pvpKillAmount < (Config.PVP_AMOUNT9))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT8); + } + if ((pvpKillAmount >= (Config.PVP_AMOUNT9)) && (pvpKillAmount < (Config.PVP_AMOUNT10))) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT9); + } + else if (pvpKillAmount >= (Config.PVP_AMOUNT10)) + { + getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT10); + } + } + } + } + public void updatePkNameColor(int pkKillAmount) + { + if (Config.PK_COLOR_SYSTEM_ENABLED) + { + //Check if the character has GM access and if so, let them be. + if (isGM()) + return; + { + if ((pkKillAmount >= (Config.PK_AMOUNT1)) && (pkKillAmount < (Config.PVP_AMOUNT2))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT1); + } + if ((pkKillAmount >= (Config.PK_AMOUNT2)) && (pkKillAmount < (Config.PVP_AMOUNT3))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT2); + } + if ((pkKillAmount >= (Config.PK_AMOUNT3)) && (pkKillAmount < (Config.PVP_AMOUNT4))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT3); + } + if ((pkKillAmount >= (Config.PK_AMOUNT4)) && (pkKillAmount < (Config.PVP_AMOUNT5))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT4); + } + if ((pkKillAmount >= (Config.PK_AMOUNT5)) && (pkKillAmount < (Config.PVP_AMOUNT6))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT5); + } + if ((pkKillAmount >= (Config.PK_AMOUNT6)) && (pkKillAmount < (Config.PVP_AMOUNT7))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT6); + } + if ((pkKillAmount >= (Config.PK_AMOUNT7)) && (pkKillAmount < (Config.PVP_AMOUNT8))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT7); + } + if ((pkKillAmount >= (Config.PK_AMOUNT8)) && (pkKillAmount < (Config.PVP_AMOUNT9))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT8); + } + if ((pkKillAmount >= (Config.PK_AMOUNT9)) && (pkKillAmount < (Config.PVP_AMOUNT10))) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT9); + } + else if (pkKillAmount >= (Config.PVP_AMOUNT10)) + { + getAppearance().setNameColor(Config.NAME_COLOR_FOR_PK_AMOUNT10); + } + } + } + } /** * Send a Server->Client packet UserInfo to this L2PcInstance and CharInfo to all L2PcInstance in its _KnownPlayers.<BR><BR> @@ -5663,6 +5766,10 @@ { // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); + + //Update the character's name color if they reached any of the 5 PvP levels. + updatePvPTitleColor(getPvpKills()); + broadcastUserInfo(); // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); @@ -5717,6 +5824,10 @@ setKarma(getKarma() + newKarma); if (increasePk) setPkKills(getPkKills() + 1); + + //Update the character's title color if they reached any of the 5 PK levels. + updatePkNameColor(getPkKills()); + broadcastUserInfo(); // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); Index: java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 3945) +++ java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (working copy) @@ -312,6 +312,9 @@ quest.notifyEnterWorld(activeChar); } activeChar.sendPacket(new QuestList()); + + if (activeChar.getPvpKills()>=(Config.PVP_AMOUNT1) && (Config.PVP_TITLE_AND_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPTitleColor(activeChar.getPvpKills()); + if (activeChar.getPkKills()>=(Config.PK_AMOUNT1) && (Config.PK_COLOR_SYSTEM_ENABLED)) activeChar.updatePkNameColor(activeChar.getPkKills()); if (Config.PLAYER_SPAWN_PROTECTION > 0) activeChar.setProtection(true); its a Gracia Final code so if have epilogue try put manually :D gl with it
  10. so we cleant complete just test it :D some changes set up and have fun !!!
  11. Testserver Grand opened today at 16 .feb now online :D try it and post replays thanks
  12. So beta testserver is opened hope for some players for visit thanks l2redkiller www.l2phenom.de
  13. chucky have msn ? cant send more pn now :S add me darkfeiter@hotmail.de
  14. if you have final client dont need it is becurse windows7 cant read some of that files this is older updater just win px and older can use it!
  15. you can change make a kopie on destop and change and put it back :D really work
  16. if you use clean Final client it will work try look on host maybe hostpatcher dont find the right folders 127.0.0.1 localhost # # #------------------------------- #Verbinden zu L2Phenom Patch #------------------------------------------ 85.214.150.188 l2authd.lineage2.com 85.214.150.188 l2testauthd.lineage2.com 216.107.250.194 nprotect.lineage2.com #------------------------------------------
  17. try use min 6 sign maybe helped the create on page is sticky sorry dont forget to activies your account!!
  18. atm not much it had some problems :S but now hope get some players we are 3 Staff Members and had for 1 week over 20 player :S hope it will be more soon thx :D
  19. what did you mean with community ?
  20. Rates: •XP: 1000x •SP: 1000x •PartyXp: 1.5x •PartySp: 1.5x •DropItems: 1x •RaidDropItems: 1x •DropSpoil: 20x Enchantment: •Save: +8 •Max: +20 •Rate: 72% •RateBlessed: 78% •PvP (Enchantable,Tradeable,Augmentable and can add Attribute) •Hero weapons (Enchantable and higher stats than Vesper) General: •Delevel: Enabled •DeathPenalty: Disabled •AutoLoot: Enabled •Classchange Quest button on lvl 20,40,76 (for sub go in guilde or church). •Quests For Subclass: Disabled •Vitality: Enabled •Crafting: Disabled •Clan Penalties: Enabled •Item Discard: Disabled •Race: Enabled •Boat: Enabled •Manor: Disabled •Lottery: Disabled •Starting Adena: 500 Mil •Starting Level: 1 •BuffSlots: 36 •DanceSlots: 24 •Bufftime: 2 Hours •Weight Limit: 100x •5 Subclasses per Char •Retail Augmentation System •Retail Clan System •Retail Sieges/ClanHalls/Fortess •Retail Olympiad •Heroes every 1st and 15th of the month Custom: •Gm-Shop •Npc-Buffer •Global GK •Special Shop in Giran •Stoneboard (nobless,pvp/pk status,clan points and Bank •PvP from same ip disabled •Clan leader Name color •PvP Title color system •Farming area •Team vs Team and CTF Events •Working Commands (.jointvt, .leavetvt, .jonctf, .leavectf, .away, .back) •Working Wedding System ----------------------------------------------- for Windows 7 users must have clean Final client hostpatcher will not work put manually here host 127.0.0.1 localhost # # #------------------------------- #Verbinden zu L2Phenom Patch #------------------------------------------ 85.214.150.188 l2authd.lineage2.com 85.214.150.188 l2testauthd.lineage2.com 216.107.250.194 nprotect.lineage2.com #------------------------------------------ L2Phenom Staff Page :www.l2phenom.de Forum :http://l2phenom.de/forum/
  21. i was searching for .away for l2j Final server but only found for interlude i just want to have change title +the color of title and that he is invul and the player must sit . so hope anyone can help me :S
  22. hi all i want to know how works a automatically event? maybe with quest can anyone send in here a dm questevent? thx l2redkiller
×
×
  • 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