
xtremex
Members-
Posts
129 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by xtremex
-
[L2J]L2Factor-The Unique Advanced Faction System - NO Donates
xtremex replied to Fanky's topic in Private Servers
unique advanced faction system we got a base, that mean is no the same engine.. anyway that is your point ok.. i respect it -
[L2J]L2Factor-The Unique Advanced Faction System - NO Donates
xtremex replied to Fanky's topic in Private Servers
how do you know if no advanced? if the server is offline and you do not even play it -
[L2J]L2Factor-The Unique Advanced Faction System - NO Donates
xtremex replied to Fanky's topic in Private Servers
We changed of hoster and we will stay online soon! please stay pending -
[L2J]L2Factor-The Unique Advanced Faction System - NO Donates
xtremex replied to Fanky's topic in Private Servers
We got a strong Attack who shutdown our websites, we hope a fast fix for that. We have anti hack system and anti Ddos attack, but we do not know shutdown our server connection. sorry for any disadvantages. I hope all you come when we are online -
[Share] Sources FullTeam Private Guard
xtremex replied to lken's topic in Server Shares & Files [L2J]
I can't understand nothing, god is full russian, why post here? ohh use a translator and later post -
[Share][Beta] Welcome Html - All in one.
xtremex replied to Xanderॐ's topic in Server Shares & Files [L2J]
very nice share, good job leluche.. good idea -
you are right, maybe he is not a scammer, but he only said that why I only offer him 5$
-
I do not want prove nothing! OMG I'm just warning about that guy! I forgot add something in my previous post.. I asked him how much for the mod? he told me what can I offer? I asked again how much is the price and you are wasting my time I offer him 5$ only to know the attitude how he can answer! and see the bad works. About you Setekn.. what is my immaturity? with you respect YOU DO NOT KNOW ME! I do not try to fool here, I only do not want spammers and scammers here for the sake of MXC. they do not help anyone. only want money, like so much people here. l2j is GNU that word say to much ;)
-
do not trust in these guy. he is scammer. I made a simple question about the price and offer him money and see what he said. I asked him how much for the mod? he told me what can I offer? I asked again how much is the price and you are wasting my time did I offer 5$ only to know the attitude how he can answer! Here is the proof: sorry for the before text in conversation but I closed by mistake. One moderator close these topic. Be cautious and careful with this guy!
-
[Share] Modify Skill Duration for It
xtremex replied to xtremex's topic in Server Shares & Files [L2J]
sorry I mean leech that java code ;) I know is GNU lol! merry christmas :) -
[Share] L2j Infinity Christmas Gift
xtremex replied to ButterCup's topic in Server Shares & Files [L2J]
SPAM -
[L2J Contest - Share]Advanced 3ple Faction Engine
xtremex replied to Escordia's topic in Server Shares & Files [L2J]
If you enter in world, why do you need get spawn to the faction base? lol! that can lag your sever if one ppl need fight if the worlds change. must make unstuck. I told you because server crash with that -
[Share] L2j Infinity Christmas Gift
xtremex replied to ButterCup's topic in Server Shares & Files [L2J]
these forum is not for advertising.. is for SHARE -
[Share] Modify Skill Duration for It
xtremex replied to xtremex's topic in Server Shares & Files [L2J]
Thank you for the feedback, I was think that when I made that topic -
[Share] Modify Skill Duration for It
xtremex replied to xtremex's topic in Server Shares & Files [L2J]
sorry coyote, I only want help the new interlude developers with that share. maybe to other clean l2joff interlude pack need it ;) merry christmas brother! -
Source aCis - another CRAPPY interlude server
xtremex replied to Tryskell's topic in Server Shares & Files [L2J]
-
Source aCis - another CRAPPY interlude server
xtremex replied to Tryskell's topic in Server Shares & Files [L2J]
good luck tryskell, you like work ;) -
Hello to all MxC users. this forum really helped me so much about l2j and learn to code in java :) thanks everyone for share and is why I want to give a CHRISTMAS gift ;D : a small patch but is useful for many new and old l2j developers I took from l2joneo interlude version and I create a patch to L2J last Interlude Revision so? leech me: Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 4430) +++ java/config/l2jmods.properties (working copy) @@ -132,3 +132,16 @@ # ex.: 1;2;3;4;5;6 # no ";" at the start or end TvTEventDoorsCloseOpenOnStartEnd = + +#--------------------------------------------------------------- +# Skill Customizations - +#--------------------------------------------------------------- +# Enable to modify skill duration data +EnableModifySkillDuration = false +# Skill duration list +# Format : skillid,newtime;skillid,newtime.... +# Example : this enable 1h(3600) duration for songs +# SkillDurationList = 264,3600;265,3600;266,3600;267,3600;268,3600;\ +# 269,3600;270,3600;304,3600;305,1200;306,3600;308,3600;349,3600;\ +# 363,3600;364,3600 +SkillDurationList = \ No newline at end of file Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 4430) +++ java/net/sf/l2j/Config.java (working copy) @@ -25,10 +25,12 @@ import java.io.OutputStream; import java.math.BigInteger; import java.util.List; +import java.util.Map; import java.util.Properties; import java.util.logging.Logger; import javolution.util.FastList; +import javolution.util.FastMap; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; /** @@ -882,7 +884,12 @@ public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; - // Packet information + /** Enable skill duration mod */ + public static boolean ENABLE_MODIFY_SKILL_DURATION; + public static Map<Integer, Integer> SKILL_DURATION_LIST; + public static int MODIFIED_SKILL_COUNT; + + // Packet information /** Count the amount of packets per minute ? */ public static boolean COUNT_PACKETS = false; /** Dump packet count ? */ @@ -1858,7 +1865,37 @@ L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False")); L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); - + ENABLE_MODIFY_SKILL_DURATION = Boolean.valueOf(L2JModSettings.getProperty("EnableModifySkillDuration", "false")); + + if (ENABLE_MODIFY_SKILL_DURATION) + { + SKILL_DURATION_LIST = new FastMap<Integer, Integer>(); + String[] propertySplit; + propertySplit = L2JModSettings.getProperty("SkillDurationList", "").split(";"); + for (String skill : propertySplit) + { + String[] skillSplit = skill.split(","); + if (skillSplit.length != 2) + { + System.out.println("[skillDurationList]: invalid config property -> SkillDurationList \"" + skill + "\""); + } + else + { + try + { + SKILL_DURATION_LIST.put(Integer.valueOf(skillSplit[0]), Integer.valueOf(skillSplit[1])); + } + catch (NumberFormatException nfe) + { + if (!skill.equals("")) + { + System.out.println("[skillDurationList]: invalid config property -> SkillList \"" + skillSplit[0] + "\"" + skillSplit[1]); + } + } + } + } + } + if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { TVT_EVENT_ENABLED = false; Index: java/net/sf/l2j/gameserver/skills/DocumentBase.java =================================================================== --- java/net/sf/l2j/gameserver/skills/DocumentBase.java (revision 4430) +++ java/net/sf/l2j/gameserver/skills/DocumentBase.java (working copy) @@ -30,6 +30,7 @@ import javolution.text.TextBuilder; import javolution.util.FastList; import javolution.util.FastMap; +import net.sf.l2j.Config; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.model.L2Character; import net.sf.l2j.gameserver.model.L2Skill; @@ -206,6 +207,29 @@ if (attrs.getNamedItem("time") != null) { time = Integer.decode(getValue(attrs.getNamedItem("time").getNodeValue(),template)); + if (Config.ENABLE_MODIFY_SKILL_DURATION) + { + if (Config.SKILL_DURATION_LIST.containsKey(((L2Skill) template).getId())) + { + if (((L2Skill) template).getLevel() < 100) + { + time = Config.SKILL_DURATION_LIST.get(((L2Skill) template).getId()); + } + else if ((((L2Skill) template).getLevel() >= 100) && (((L2Skill) template).getLevel() < 140)) + { + time += Config.SKILL_DURATION_LIST.get(((L2Skill) template).getId()); + } + else if (((L2Skill) template).getLevel() > 140) + { + time = Config.SKILL_DURATION_LIST.get(((L2Skill) template).getId()); + } + if (Config.DEBUG) + { + _log.info("*** Skill " + ((L2Skill) template).getName() + " (" + ((L2Skill) template).getLevel() + ") changed duration to " + time + " seconds."); + } + Config.MODIFIED_SKILL_COUNT += 1; + } + } } else time = ((L2Skill) template).getBuffDuration() / 1000 / count; boolean self = false; Credits: L2JOneo and Me (DarknightMarE) for stolen or borrow and test the code 8) Is working 100% I tested myself. MERRY CHRISTMAS and HAPPY NEW YEAR
-
[Request] l2J pack interlude
xtremex replied to zazazaza's question in Request Server Development Help [L2J]
that pack is not good, have full java mistake -
[L2J Contest - Share] Illegal Skills Check
xtremex replied to Cod3x's topic in Server Shares & Files [L2J]
very nice share, thank you