AlLupu
Members-
Posts
218 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by AlLupu
-
Dunno what is usual that's why
-
Added karma drop + many changes and fixes: http://www.l2dubai.com/forum/index.php?topic=3.0
-
[Collection][Share]AIO Npc's for High Five (H5)
AlLupu replied to `NeverMore's topic in Server Development Discussion [L2J]
when you will finish the buffer ? -
Index: java/com/l2jserver/Config.java =================================================================== --- java/com/l2jserver/Config.java (revision 4425) +++ java/com/l2jserver/Config.java (working copy) @@ -41,6 +41,8 @@ import javax.xml.parsers.DocumentBuilderFactory; +import javolution.util.FastList; + import org.w3c.dom.Document; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; @@ -715,6 +717,8 @@ public static int L2JMOD_DUALBOX_CHECK_MAX_PLAYERS_PER_IP; public static int L2JMOD_DUALBOX_CHECK_MAX_OLYMPIAD_PARTICIPANTS_PER_IP; public static TIntIntHashMap L2JMOD_DUALBOX_CHECK_WHITELIST; + public static boolean L2JMOD_STRICT_BUFF_COUNT; + public static List<Integer> L2JMOD_STRICT_BUFF_EXCEPTIONS = new FastList<Integer>();; //-------------------------------------------------- // NPC Settings @@ -2422,6 +2426,12 @@ L2WALKER_PROTECTION = Boolean.parseBoolean(L2JModSettings.getProperty("L2WalkerProtection", "False")); L2JMOD_DEBUG_VOICE_COMMAND = Boolean.parseBoolean(L2JModSettings.getProperty("DebugVoiceCommand", "False")); + L2JMOD_STRICT_BUFF_COUNT = Boolean.parseBoolean(L2JModSettings.getProperty("EnableStrictbuffCount", "False")); + for (String id : L2JModSettings.getProperty("StrictBuffExc", "0").split(",")) + { + L2JMOD_STRICT_BUFF_EXCEPTIONS.add(Integer.parseInt(id)); + } + L2JMOD_DUALBOX_CHECK_MAX_PLAYERS_PER_IP = Integer.parseInt(L2JModSettings.getProperty("DualboxCheckMaxPlayersPerIP", "0")); L2JMOD_DUALBOX_CHECK_MAX_OLYMPIAD_PARTICIPANTS_PER_IP = Integer.parseInt(L2JModSettings.getProperty("DualboxCheckMaxOlympiadParticipantsPerIP", "0")); String[] propertySplit = L2JModSettings.getProperty("DualboxCheckWhitelist", "127.0.0.1,0").split(";"); @@ -2448,7 +2458,7 @@ _log.warning(StringUtil.concat("DualboxCheck[Config.load()]: invalid number -> DualboxCheckWhitelist \"", entrySplit[1], "\"")); } } - } + } } catch (Exception e) { Index: java/com/l2jserver/gameserver/model/CharEffectList.java =================================================================== --- java/com/l2jserver/gameserver/model/CharEffectList.java (revision 4425) +++ java/com/l2jserver/gameserver/model/CharEffectList.java (working copy) @@ -831,6 +831,8 @@ else { effectsToRemove = getBuffCount() - _owner.getMaxBuffCount(); + if (!Config.L2JMOD_STRICT_BUFF_COUNT) + { if (effectsToRemove >= 0) { switch (newSkill.getSkillType()) @@ -861,6 +863,40 @@ } } } + } + else + { + if (effectsToRemove >= 0 && (!Config.L2JMOD_STRICT_BUFF_EXCEPTIONS.contains(newSkill.getId()))) + { + switch (newSkill.getSkillType()) + { + case BUFF: + case REFLECT: + case HEAL_PERCENT: + case MANAHEAL_PERCENT: + for (L2Effect e : _buffs) + { + if (e == null || e.getSkill().isDance()) + continue; + + switch (e.getSkill().getSkillType()) + { + case BUFF: + case REFLECT: + case HEAL_PERCENT: + case MANAHEAL_PERCENT: + if (!Config.L2JMOD_STRICT_BUFF_EXCEPTIONS.contains(e.getSkill().getId())) e.exit(); + effectsToRemove--; + break; // break switch() + default: + continue; // continue for() + } + if (effectsToRemove < 0) + break; // break for() + } + } + } + } } } Index: java/com/l2jserver/gameserver/model/actor/L2Character.java =================================================================== --- java/com/l2jserver/gameserver/model/actor/L2Character.java (revision 4425) +++ java/com/l2jserver/gameserver/model/actor/L2Character.java (working copy) @@ -6870,7 +6870,10 @@ */ public int getMaxBuffCount() { - return Config.BUFFS_MAX_AMOUNT + Math.max(0, getSkillLevel(L2Skill.SKILL_DIVINE_INSPIRATION)); + if (!Config.L2JMOD_STRICT_BUFF_COUNT) + return Config.BUFFS_MAX_AMOUNT + Math.max(0, getSkillLevel(L2Skill.SKILL_DIVINE_INSPIRATION)); + else + return Config.BUFFS_MAX_AMOUNT; } /** Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 4425) +++ java/config/l2jmods.properties (working copy) @@ -397,7 +397,16 @@ # Default: False DebugVoiceCommand = False +# --------------------------------------------------------------------------- +# Strict buff control by szmajso@wp.pl +# --------------------------------------------------------------------------- +# NOTE!: Divine inspiration is disabled when this mod is enabled! +# Enable system +EnableStrictbuffCount = False +#List of buff that are not count for maxbuff value (1;2;...) +StrictBuffExc = 1207,1059 + # --------------------------------------------------------------------------- # Dualbox Check # --------------------------------------------------------------------------- @@ -418,3 +427,4 @@ # will be 1+2=3. Use 0 or negative value for unlimited number of connections. # Default: 127.0.0.1,0 (no limits from localhost) DualboxCheckWhitelist = 127.0.0.1,0 +
-
+ Blessed Enchant : 100%
-
now is on, was in maintenance
-
There no exist good and bad donate, there is only ppl that complain for no reason and that complain with a reason, you no have a reason :)
-
site is working, donate checked and 3ed part its new
-
why need to complain to make more posts ?
-
Server Machine: Dual Quad Xeon 8 * 2.4Ghz 16GB DDR3 1600 2 * 143GB SAS 15k rpm HDD Raid 1 2x 1Gbps backbone connection 99.9% uptime Rates and enchants: Experience : 3000x Safe Enchanting : +6 Max Enchanting : +16 Enchant Rate : 90% Blessed Enchant : 100% Features: Global Gatekeeper, GmShop, NpcBuffer, Scheme Buffer MaxBuffAmount = 36 MaxActivationBuffAmount = 20 MaxDanceAmount = 20 Good Balancing between Classes Skills Are Auto-Learn Forgotten Scroll Skills Are Auto-Learn Wedding System No Clan Penalties All Region Sieges 3 Sub-Class Subclass lvl 85 Karma Drop Lvl 81/83 Skills! -> Auto learn! Unique Game Play Unique System for Olympiad. Fair Fights even with High Enchants! All Enchants are +16!! Full Geodata No Custom Items PK killer 4 Hours buffs Attribute System Much more & more & more.. Just visit us to find out No karma/dead drop Custom Features: Special Pvp Zone with auto flag Custom respawn zones Aio Item special command for change password in game: .changepassword PvP items can be attributed,augmented etc. Special PvP zone with pvp reward Attribute system with lvl 9 max (180 armor and 450 weapon) Party Zone with raid boss and big drop ( 5 min respawn time for raid) @ # PvP Name color System. # It works like: pvps,color;pvps,color, eg. 100,00FF00;200,FF0000;300,0000FF;. PvpsColors = 300,00FF00;1000,808080;1500,0000FF;2000,FFFFFF;3000,000000; # Pk Title color System. # It works like: pks,color;pks,color, eg. 100,00FF00;200,FF0000;300,0000FF;. PksColors = 10,FFCC99;20,FFCCFF;30,CC99FF;40,800080;50,FFCC00; www.l2dubai.com
-
here you go http://imageshack.us/f/89/75970357.jpg/
-
I payed over 100 euro on it so don't complain about price. take it or leave it.
