K4N4BS
Members-
Posts
21 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by K4N4BS
-
Source [Share] Server Files Grand Crusade (Real Files) (Clean)
K4N4BS replied to SOFKA's topic in Server Shares & Files [L2J]
Thanks -
[L2OFF/Gracia Final] - Official Pack Available Here
K4N4BS replied to Max64's topic in Server Shares & Files [L2OFF]
Can someone share an guide explaining how install/configure this share? should help a lot of ppl =D -
password?
-
[List - Share] L2J Projects & Guiding.
K4N4BS replied to Coyote™'s topic in Server Development Discussion [L2J]
L2Open or "Wannabe-L2jLive"? No comments about this... http://my-trac.assembla.com/l2open-free/changeset/1150 -
[HELP] GameServer Problem
K4N4BS replied to HeOe3BuM's question in Request Server Development Help [L2J]
Set Max online to 500, Your problem will be solved =D -
need epilogue stable server
K4N4BS replied to hidde's question in Request Server Development Help [L2J]
www.google.com -
[Share]Collection Java Server CT2.4
K4N4BS replied to zoool's topic in Server Development Discussion [L2J]
L2UP? ahahahahah L2Up = My project *Stolen*... -
[List - Share] L2J Projects & Guiding.
K4N4BS replied to Coyote™'s topic in Server Development Discussion [L2J]
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... -
[Share] L2jLive Epilogue Project.
K4N4BS replied to remixed's topic in Server Development Discussion [L2J]
Password: www.l2jlive.com -
[SHARE] NPC TOP PvP, PK, Adena, Nobless, Clan In Game
K4N4BS replied to bauwbas's topic in Server Shares & Files [L2J]
Link's are Broken, Someone can upload please? Thanks. -
[Share] Real Time voiced command in different countries
K4N4BS replied to Versus's topic in Server Shares & Files [L2J]
Just a little correction, "Sao Paulo" is -3 (Official Brazilian time). P.S: Nice work. -
Is possible make a patch to L2jServer, Epilogue? Thanks...
-
Screens?
-
No problem ^^, I am starting at Java, because this i am doing some small works... P.S: Sorry for Bad English.
-
I am giving credits for him, I just make it more simple, and create configs.
-
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.
-
[Share]Big regeneration in peace zones
K4N4BS replied to WizZy™'s topic in Server Shares & Files [L2J]
Ok, thanks for help, I hope today i will make a Big Share whit this ^^. -
[Share]Big regeneration in peace zones
K4N4BS replied to WizZy™'s topic in Server Shares & Files [L2J]
Oh yea, i know it... Just asking ^^, Thanks. P.S: Nice share. P.S2: I can do the same whit others Zones, right? -
[Share]Big regeneration in peace zones
K4N4BS replied to WizZy™'s topic in Server Shares & Files [L2J]
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); } -
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.
