hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
l2fire
Hello, how to make max skill enchant for l2jfrozen?
I want to make max skill enchant to +12
I have found code for l2jserver but i dont know where can add code to l2pcinstance.java
+++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -15769,6 +15769,31 @@ for (int id : getSkills().keySet()) { int level = getSkillLevel(id); + if (Config.ENABLE_SKILL_MAX_ENCHANT_LIMIT) + { + L2Skill fixedSkill = null; + int oldLevel = level % 100; + if (Config.SKILL_MAX_ENCHANT_LIMIT_LEVEL > 0) // Nerf enchantment + { + if (oldLevel > Config.SKILL_MAX_ENCHANT_LIMIT_LEVEL) + { + level = ((level / 100) * 100) + Config.SKILL_MAX_ENCHANT_LIMIT_LEVEL; + fixedSkill = SkillTable.getInstance().getInfo(id, level); + } + } + else if (Config.SKILL_MAX_ENCHANT_LIMIT_LEVEL == 0) // Remove enchantment + { + level = SkillTable.getInstance().getMaxLevel(id); + fixedSkill = SkillTable.getInstance().getInfo(id, level); + } + // Setting the new level enchat for the skill. + if (fixedSkill != null) + { + _log.info("Decreasing skill enchantment from " + oldLevel + " to " + level + " on skill " + id + " from Player: " + getName() + "!"); + addSkill(fixedSkill, true); + } + } + if (level >= 100) { level = SkillTable.getInstance().getMaxLevel(id);
9 answers to this question
Recommended Posts