Jump to content

Setekh

Legendary Member
  • Posts

    2,510
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by Setekh

  1. Could be better.. you should note there that static methods are most unsecure, also its better if we reduce visability and also the use of instancing is strongly advise >< And at: • The return type for the method (void), you should add void,boolean,integers,object cus for some ppl can get confusing.. You get a 7/10 ^^ GJ
  2. this is a question for client mod >< and by changing that port in l2.ini, it wount help ^^
  3. loled at the solutions.. So what do u need it for? interlude or gracia + ? Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java =================================================================== --- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java (revision 3933) +++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/Config.java (working copy) @@ -86,6 +86,7 @@ public static double RESPAWN_RESTORE_MP; public static boolean ALT_GAME_TIREDNESS; public static boolean ENABLE_MODIFY_SKILL_DURATION; + public static boolean DONT_LOSE_BUFFS_ON_DEATH; public static TIntIntHashMap SKILL_DURATION_LIST; public static boolean ENABLE_MODIFY_SKILL_REUSE; public static TIntIntHashMap SKILL_REUSE_LIST; @@ -1257,8 +1258,9 @@ MP_REGEN_MULTIPLIER = Double.parseDouble(Character.getProperty("MpRegenMultiplier", "100")) /100; CP_REGEN_MULTIPLIER = Double.parseDouble(Character.getProperty("CpRegenMultiplier", "100")) /100; ALT_GAME_TIREDNESS = Boolean.parseBoolean(Character.getProperty("AltGameTiredness", "false")); + DONT_LOSE_BUFFS_ON_DEATH = Boolean.parseBoolean(Character.getProperty("DontLoseBuffs", "false")); ENABLE_MODIFY_SKILL_DURATION = Boolean.parseBoolean(Character.getProperty("EnableModifySkillDuration", "false")); - + // Create Map only if enabled if (ENABLE_MODIFY_SKILL_DURATION) { Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java =================================================================== --- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java (revision 3933) +++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/L2Playable.java (working copy) @@ -14,6 +14,7 @@ */ package com.l2jserver.gameserver.model.actor; +import com.l2jserver.Config; import com.l2jserver.gameserver.ai.CtrlEvent; import com.l2jserver.gameserver.model.L2Effect; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; @@ -242,7 +243,7 @@ } // Support for Soul of the Phoenix and Salvation skills - public final boolean isPhoenixBlessed() { return _isPhoenixBlessed; } + public final boolean isPhoenixBlessed() { return _isPhoenixBlessed || Config.DONT_LOSE_BUFFS_ON_DEATH; } public final void setIsPhoenixBlessed(boolean value) { _isPhoenixBlessed = value; } public final void startPhoenixBlessing() Index: E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (revision 3933) +++ E:/L2j Development/workspace/L2-JunkBox/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -5603,7 +5603,10 @@ AntiFeedManager.getInstance().setLastDeathTime(getObjectId()); if (isPhoenixBlessed()) - reviveRequest(this, null, false); + { + if(!Config.DONT_LOSE_BUFFS_ON_DEATH) + reviveRequest(this, null, false); + } else if (getCharmOfCourage() && this.isInSiege()) { reviveRequest(this, null, false); Index: E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties =================================================================== --- E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties (revision 3933) +++ E:/L2j Development/workspace/L2-JunkBox/java/config/Character.properties (working copy) @@ -58,6 +58,8 @@ # Default: False AltGameTiredness = False +# Don't lose buffs on death.. +DontLoseBuffs = false # --------------------------------------------------------------------------- # Skills & Effects This is 1 way.. can be done in antoher.. or even another O.o or nothing to do with phx blessing ^^ EDIT: Lupu1 i wanna talk to you smth bout l2dubai.. pm me.
  4. Msg -> L2Mods: Are you guys doing your jobs? This is not a client mod forum! Locked until move...
  5. its not smth small :P ITs smth big there are missing class files from ur jar archive..
  6. You guys failed from the first 50 commits... Good luck trying not to shame yourselves even more. ^.^
  7. you guys realise this thing is stupid right? http://trac6.assembla.com/L2J-Infinity/changeset/52 1 action 100 game ticks... how stupid can u be to make smth like this? a flood protector at movement packet ? :D OMG :D worlds first right here :P What you need a is a packet queue system... not a flood protector haha lmao
  8. newbs when ur on, change the pastebin link into a .com also give me the patch T_T
  9. no fun.. since a lot of legendary mxc users got banned.
  10. lol guys, if Ave sees it his gonna call Blizzard too not only ncsoft :P
  11. Aww thanks guys.. I apriciate it. Well its over now and i had a cool night. Can some one lock it? ^^
  12. thats sweet. Ty Thanks guys, made my day :P
  13. lolz Happy B-Day to me.. Btw care sta prin iasi ?:D
  14. i am on msn, and no i cant cz dose not work for some romanian internet providers:P
  15. Lol'd. Awsome sing, i love it:P 10/10
  16. darkslayer also baned 4 life >< and intrepid :'(
  17. ye its called Windows Media Player and also Media Center ^^. i use them with out any problems :D and useing this codec pack: http://www.cccp-project.net/ Simply Pro XD
  18. anyway in the end.. their a bunch of no-lifers ^^
×
×
  • Create New...