Jump to content

Trance

Global Moderator
  • Posts

    3,918
  • Joined

  • Last visited

  • Days Won

    67
  • Feedback

    0%

Everything posted by Trance

  1. http://www.maxcheaters.com/forum/index.php?topic=184649.0 http://www.maxcheaters.com/forum/index.php?topic=186934.0 http://www.maxcheaters.com/forum/index.php?topic=186933.0 http://www.maxcheaters.com/forum/index.php?topic=186969.0 http://www.maxcheaters.com/forum/index.php?topic=186582.0
  2. I never had this problem on this OS. Maybe u did something Wrong, try ReInstall Jdk/Jre. PS: Use 64 bits java if your os it's same.
  3. What OS are u using ?
  4. Try install java JRE.
  5. amre, amre ;d
  6. If minideed already said same thing, why do u like say again ?. Stop Spamming.
  7. REM ------------------------------------- REM Default parameters for a basic server. java -Dfile.encoding=UTF-8 -Xmx512m lt.equal.gameserver.GameServer REM REM If you have a big server and lots of memory, you could experiment for example with REM java -server -Xmx1024m -Xms512m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts REM ------------------------------------- If still doesn't work... try remove "-Xmn512m" PS: Changes depends by your ram and other. PS2: or add more ram available.
  8. You're using shit project i saw on your taskbar DejaVu "dev"... it's Bufu Dev i think. He can't help u huh ? Edit your GameServer and try put "-Xmx748m -Xms748m" if doesn't work show me.. inside file and i will fix it.
  9. si vecina a inceput,
  10. a inceput sa-i cante =)) (ei lui)
  11. cu fernando, apoi
  12. http://www.maxcheaters.com/forum/index.php?topic=186953.0
  13. si sa gandit
  14. o tarfa care
  15. l2mxc va fii L2J ? : ))
  16. <skill id="3213" levels="10" name="Item Skill: Ritual"> <table name="#chance">1 1 2 2 3 3 4 4 5 5</table> <table name="#triggeredLevel">1 2 3 4 5 6 7 8 9 10</table> <set name="triggeredId" val="5152"/> <set name="triggeredLevel" val="#triggeredLevel"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_CHANCE"/> <set name="chanceType" val="ON_ATTACKED"/> <set name="activationChance" val="#chance"/> <set name="castRange" val="-1"/> <set name="effectRange" val="-1"/> </skill>
  17. Ioane, editeaza avatarul punei cv intre picioare.
  18. Np. warning... message, if server can't load this file, u can see it in gameserver.
  19. Index: Trance-Core/java/net/sf/l2j/Config.java =================================================================== --- Trance-Core/java/net/sf/l2j/Config.java (revision 11) +++ Trance-Core/java/net/sf/l2j/Config.java (working copy) @@ -44,6 +44,7 @@ public static final String PHYSICS_CONFIG_FILE = "./config/General/Balance.ini"; public static final String DEVELOPER_CONFIG_FILE = "./config/Protection/Developer.ini"; public static final String TRANCE_CONFIG_FILE = "./config/Custom/TRANCECustom.ini"; + public static final String BY_SKY_CONFIG_FILE = "./config/Custom/BySky.ini"; public static final String TRANCEMODS_CONFIG_FILE = "./config/Custom/TRANCEMods.ini"; public static final String BUFF_FILE = "./config/Custom/Buffs.ini"; public static final String INTERNAL_FILE = "./config/Network/Networks.ini"; @@ -1026,6 +1027,11 @@ public static boolean ALT_DEV_NO_QUESTS; public static boolean ALT_DEV_NO_SPAWNS; public static boolean ALT_DEV7; + + public static float ALT_DAGGER_DMG_VS_HEAVY; + public static float ALT_DAGGER_DMG_VS_ROBE; + public static float ALT_DAGGER_DMG_VS_LIGHT; @@ -1750,6 +1756,23 @@ e.printStackTrace(); throw new Error("Failed to Load "+TRANCE_CONFIG_FILE+" File."); } + _log.info("Loading " +BY_SKY_CONFIG_FILE); + try + { + Properties BySkySettings = new Properties(); + InputStream is = new FileInputStream(new File(BY_SKY_CONFIG_FILE)); + BySkySettings.load(is); + is.close(); + ALT_DAGGER_DMG_VS_HEAVY = Float.parseFloat(BySkySettings.getProperty("DaggerVSHeavy", "2.50")); + ALT_DAGGER_DMG_VS_ROBE = Float.parseFloat(BySkySettings.getProperty("DaggerVSRobe", "1.80")); + ALT_DAGGER_DMG_VS_LIGHT = Float.parseFloat(BySkySettings.getProperty("DaggerVSLight", "2.00")); + } + catch (Exception e) + { + e.printStackTrace(); + throw new Error("Failed to Load "+BY_SKY_CONFIG_FILE+" File."); + } _log.info("Loading " +TRANCEMODS_CONFIG_FILE); try { Index: Trance-Core/java/config/Custom/BySky.ini =================================================================== --- Trance-Core/java/config/Custom/BySky.ini (revision 0) +++ Trance-Core/java/config/Custom/BySky.ini (revision 0) @@ -0,0 +1,18 @@ +#---------------------------------------------------------------------# +# BySky # +#---------------------------------------------------------------------# + +# Alternative damage for dagger skills. +DaggerVSHeavy = 2.50 +DaggerVSRobe = 1.80 +DaggerVSLight = 2.00 + +#---------------------------- End Of List ----------------------------# Index: java/net/sf/l2j/gameserver/skills/Formulas.java =================================================================== @@ -1231,4 +1231,20 @@ } + + if (target instanceof L2PcInstance && weapon != null && weapon.getItemType() == L2WeaponType.DAGGER && skill != null) + { + L2Armor armor = ((L2PcInstance) target).getActiveChestArmorItem(); + if (armor != null) + { + if (((L2PcInstance) target).isWearingHeavyArmor()) + damage /= Config.ALT_DAGGER_DMG_VS_HEAVY; + if (((L2PcInstance) target).isWearingLightArmor()) + damage /= Config.ALT_DAGGER_DMG_VS_LIGHT; + if (((L2PcInstance) target).isWearingMagicArmor()) + damage /= Config.ALT_DAGGER_DMG_VS_ROBE; + } + } + + if (attacker instanceof L2NpcInstance) {
×
×
  • 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