I have a system where Accounts are saved on login screen for fast login. I am playing a server where this feature is not on the logic screen. How I can try to add this feature to the system?
I don't know what files I would have to touch.
Thanks!!
Hello everyone,
Given that he has lots of different projects but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project is the best choice?
For a server that can be custom and which can be suitable for a classic x10 server and an x1000 server for example?
L2J
Or we ideally have the source, in order to be able to add the farming systems, weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
Hello everyone,
Given that he has lots of different projects
but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project/emulator
is the best choice?
For a server that can be custom and
which can be suitable for a classic x10 server
and an x1000 server for example?
L2Java ideally
Or we ideally have the source,
in order to be able to add the farming systems,
weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
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