Skip to content

K4N4BS

Members
  • Joined

  • Last visited

  • Trader rating

    N/A

Everything posted by K4N4BS

  1. Can someone share an guide explaining how install/configure this share? should help a lot of ppl =D
  2. L2Open or "Wannabe-L2jLive"? No comments about this... http://my-trac.assembla.com/l2open-free/changeset/1150
  3. Set Max online to 500, Your problem will be solved =D
  4. L2UP? ahahahahah L2Up = My project *Stolen*...
  5. L2jLive: Comment: All I'm gonna say is that this is the G Epilogue version of L2JTeon. I hope you get me! L2jTeon? Are you kidding whit me? My project does not use L2jTeon Sources/Devs... Please, change your comment...
  6. Link's are Broken, Someone can upload please? Thanks.
  7. Just a little correction, "Sao Paulo" is -3 (Official Brazilian time). P.S: Nice work.
  8. Is possible make a patch to L2jServer, Epilogue? Thanks...
  9. No problem ^^, I am starting at Java, because this i am doing some small works... P.S: Sorry for Bad English.
  10. I am giving credits for him, I just make it more simple, and create configs.
  11. Hello Max Cheaters, Here is my first Script, so please don't call me noob. Is a simple script, based on Big Regen in Peace Zones, By Leeroy. Index: /L2_GameServer/java/config/L2jLive.properties =================================================================== --- /L2_GameServer/java/config/L2jLive.properties (revision 17) +++ /L2_GameServer/java/config/L2jLive.properties (revision 22) @@ -15,4 +15,19 @@ +# Enable Regen System in Towns? +# Original By Leeroy and Reworked By K4N4BS for L2jLive. +# Default: False +AllowRegenSystemInTown = False + +# Regen Settings: +# NOTE: +# If you set this 0, players will not regen in Towns. +# If you set this under 1.0 players will have Less Regen. +# If you set this over 1.0 players will have More Regen. +# If you set this 1.0 nothing will Happen. +# Default: 1.0 +RegenSystemInTownCP = 1.0 +RegenSystemInTownHP = 1.0 +RegenSystemInTownMP = 1.0 Index: /L2_GameServer/java/net/sf/l2j/gameserver/skills/Formulas.java =================================================================== --- /L2_GameServer/java/net/sf/l2j/gameserver/skills/Formulas.java (revision 1) +++ /L2_GameServer/java/net/sf/l2j/gameserver/skills/Formulas.java (revision 22) @@ -1040,4 +1040,6 @@ // Mother Tree effect is calculated at last if (player.isInsideZone(L2Character.ZONE_MOTHERTREE)) hpRegenBonus += 2; + + if (Config.ALLOW_REGEN_SYSTEM && player.isInsideZone(L2Character.ZONE_PEACE)) hpRegenMultiplier *= (Config.REGEN_SYSTEM_HP); // Calculate Movement bonus @@ -1118,5 +1120,7 @@ else if (!player.isMoving()) mpRegenMultiplier *= 1.1; // Staying else if (player.isRunning()) mpRegenMultiplier *= 0.7; // Running + + if (Config.ALLOW_REGEN_SYSTEM && player.isInsideZone(L2Character.ZONE_PEACE)) mpRegenMultiplier *= (Config.REGEN_SYSTEM_MP); + // Add MEN bonus init *= cha.getLevelMod() * MENbonus[cha.getMEN()]; @@ -1143,4 +1147,6 @@ // Calculate correct baseHpReg value for certain level of PC init += (player.getLevel() > 10) ? ((player.getLevel()-1)/10.0) : 0.5; + + if (Config.ALLOW_REGEN_SYSTEM && player.isInsideZone(L2Character.ZONE_PEACE)) cpRegenMultiplier *= (Config.REGEN_SYSTEM_CP); // Calculate Movement bonus Index: /L2_GameServer/java/net/sf/l2j/Config.java =================================================================== --- /L2_GameServer/java/net/sf/l2j/Config.java (revision 18) +++ /L2_GameServer/java/net/sf/l2j/Config.java (revision 22) @@ -116,4 +116,8 @@ + public static boolean ALLOW_REGEN_SYSTEM; + public static float REGEN_SYSTEM_CP; + public static float REGEN_SYSTEM_HP; + public static float REGEN_SYSTEM_MP; /** ************************************************** **/ @@ -1116,4 +1120,8 @@ + ALLOW_REGEN_SYSTEM = Boolean.parseBoolean(L2jLiveSettings.getProperty("AllowRegenSystemInTown", "False")); + REGEN_SYSTEM_CP = Float.parseFloat(L2jLiveSettings.getProperty("RegenSystemInTownCP", "1.0")); + REGEN_SYSTEM_HP = Float.parseFloat(L2jLiveSettings.getProperty("RegenSystemInTownHP", "1.0")); + REGEN_SYSTEM_MP = Float.parseFloat(L2jLiveSettings.getProperty("RegenSystemInTownMP", "1.0")); Credits: Leeroy Re-Worked By: K4N4BS, L2jLive Team. And a Big Thanks to Leeroy.
  12. Ok, thanks for help, I hope today i will make a Big Share whit this ^^.
  13. Oh yea, i know it... Just asking ^^, Thanks. P.S: Nice share. P.S2: I can do the same whit others Zones, right?
  14. I can do something like this? if (Config.ALLOW_REGEN_SYSTEM) { player.isInsideZone(L2Character.ZONE_PEACE) mpRegenMultiplier *= (Config.REGEN_SYSTEM_MP); } if (Config.ALLOW_REGEN_SYSTEM) { player.isInsideZone(L2Character.ZONE_PEACE) hpRegenMultipliers *= (Config.REGEN_SYSTEM_HP); } if (Config.ALLOW_REGEN_SYSTEM) { player.isInsideZone(L2Character.ZONE_PEACE) cpRegenMultiplier *= (Config.REGEN_SYSTEM_CP); }
  15. Can you make it for armors? Same System, but, to Enchant Armors (All Current equiped, not just one). P.S: Nice Share, thanks a lot.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.