Jump to content
  • 0

enchant bug Rev L2 Brick High Five


Question

Posted

One could solve a doubt is:

I use the Rev L2 Brick High Five So that a problem in contact with Enchant

set up as follows:

# This is the maximum safe enchant.

# Notes:

# If EnchantSafeMax is set to 8 for the item will be safely enchanted to 8 max enchant regardless of the value above in September. # EnchantSafeMaxFull is for full body armor (upper and lower). These values ​​# Should always be Greater Than 0.

#Default : 3, 4

 

Five EnchantSafeMax <<<<<<<<<<<<<<<<<< MAX 15

Safe EnchantSafeMaxFull <<<<<<<<<<<<<<< MAX = 25

So that he does not get as much Fik tipow open the player can place the item up to +65535 which is the maximum the server does not know how else to fix this anyone have any tips?

5 answers to this question

Recommended Posts

  • 0
Posted

Five EnchantSafeMax <<<<<<<<<<<<<<<<<< MAX 15

Safe EnchantSafeMaxFull <<<<<<<<<<<<<<< MAX = 25

 

Have you read?

 

First line is for safe for all items except full parts (like DC Robe, Draconic body...)

Second line is for safe for body parts (DC ROBE, Draconic Body ...)

 

I guess, you have search a little bit and you know that there is a enchant EnchantData.xml.

  • 0
Posted

<?xml version="1.0" encoding="UTF-8"?>

<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="enchantData.xsd">

<!-- Scrolls: Enchant Weapon -->

<enchant id="729" targetGrade="a" />

<enchant id="947" targetGrade="b" />

<enchant id="951" targetGrade="c" />

<enchant id="955" targetGrade="d" />

<enchant id="959" targetGrade="s" />

<!-- Scrolls: Enchant Armor -->

<enchant id="730" isWeapon="false" targetGrade="a" />

<enchant id="948" isWeapon="false" targetGrade="b" />

<enchant id="952" isWeapon="false" targetGrade="c" />

<enchant id="956" isWeapon="false" targetGrade="d" />

<enchant id="960" isWeapon="false" targetGrade="s" />

 

<!-- Blessed Scrolls: Enchant Weapon -->

<enchant id="6569" isBlessed="true" targetGrade="a" />

<enchant id="6571" isBlessed="true" targetGrade="b" />

<enchant id="6573" isBlessed="true" targetGrade="c" />

<enchant id="6575" isBlessed="true" targetGrade="d" />

<enchant id="6577" isBlessed="true" targetGrade="s" />

<!-- Blessed Scrolls: Enchant Armor -->

<enchant id="6570" isWeapon="false" isBlessed="true" targetGrade="a" />

<enchant id="6572" isWeapon="false" isBlessed="true" targetGrade="b" />

<enchant id="6574" isWeapon="false" isBlessed="true" targetGrade="c" />

<enchant id="6576" isWeapon="false" isBlessed="true" targetGrade="d" />

<enchant id="6578" isWeapon="false" isBlessed="true" targetGrade="s" />

 

<!-- Crystal Scrolls: Enchant Weapon -->

<enchant id="731" isCrystal="true" targetGrade="a" />

<enchant id="949" isCrystal="true" targetGrade="b" />

<enchant id="953" isCrystal="true" targetGrade="c" />

<enchant id="957" isCrystal="true" targetGrade="d" />

<enchant id="961" isCrystal="true" targetGrade="s" />

<!-- Crystal Scrolls: Enchant Armor -->

<enchant id="732" isWeapon="false" isCrystal="true" targetGrade="a" />

<enchant id="950" isWeapon="false" isCrystal="true" targetGrade="b" />

<enchant id="954" isWeapon="false" isCrystal="true" targetGrade="c" />

<enchant id="958" isWeapon="false" isCrystal="true" targetGrade="d" />

<enchant id="962" isWeapon="false" isCrystal="true" targetGrade="s" />

 

<!-- Weapon Enchant Scrolls -->

<enchant id="20517" targetGrade="a" successRate="73.326" />

<enchant id="22006" targetGrade="b" successRate="73.326" />

<enchant id="22007" targetGrade="c" successRate="73.326" />

<enchant id="22008" targetGrade="d" successRate="73.326" />

<enchant id="22009" targetGrade="s" successRate="73.326" />

<!-- Armor Enchant Scrolls -->

<enchant id="20518" isWeapon="false" targetGrade="a" successRate="73.326" />

<enchant id="22010" isWeapon="false" targetGrade="b" successRate="73.326" />

<enchant id="22011" isWeapon="false" targetGrade="c" successRate="73.326" />

<enchant id="22012" isWeapon="false" targetGrade="d" successRate="73.326" />

<enchant id="22013" isWeapon="false" targetGrade="s" successRate="73.326" />

 

<!-- Ancient Weapon Enchant Crystal -->

<enchant id="20519" isSafe="true" targetGrade="s" maxEnchant="16" successRate="73.326" />

<enchant id="22014" isSafe="true" targetGrade="b" maxEnchant="16" successRate="73.326" />

<enchant id="22015" isSafe="true" targetGrade="a" maxEnchant="16" successRate="73.326" />

<!-- Ancient Armor Enchant Crystal -->

<enchant id="20520" isWeapon="false" isSafe="true" targetGrade="s" maxEnchant="16" successRate="73.326" />

<enchant id="22016" isWeapon="false" isSafe="true" targetGrade="b" maxEnchant="16" successRate="73.326" />

<enchant id="22017" isWeapon="false" isSafe="true" targetGrade="a" maxEnchant="16" successRate="73.326" />

 

<!-- Divine Weapon Enchant Crystal -->

<enchant id="20521" isCrystal="true" targetGrade="s" />

<enchant id="22018" isCrystal="true" targetGrade="b" />

<enchant id="22019" isCrystal="true" targetGrade="a" />

<!-- Divine Armor Enchant Crystal -->

<enchant id="20522" isWeapon="false" isCrystal="true" targetGrade="s" />

<enchant id="22020" isWeapon="false" isCrystal="true" targetGrade="b" />

<enchant id="22021" isWeapon="false" isCrystal="true" targetGrade="a" />

 

<!-- Scroll: Enchant Weapon of Destruction -->

<enchant id="22221" isSafe="true" targetGrade="s" maxEnchant="16" />

<enchant id="22223" isSafe="true" targetGrade="a" maxEnchant="16" />

<enchant id="22225" isSafe="true" targetGrade="b" maxEnchant="16" />

<enchant id="22227" isSafe="true" targetGrade="c" maxEnchant="16" />

<enchant id="22229" isSafe="true" targetGrade="d" maxEnchant="16" />

<!-- Scroll: Enchant Armor of Destruction -->

<enchant id="22222" isWeapon="false" isSafe="true" targetGrade="s" maxEnchant="16" />

<enchant id="22224" isWeapon="false" isSafe="true" targetGrade="a" maxEnchant="16" />

<enchant id="22226" isWeapon="false" isSafe="true" targetGrade="b" maxEnchant="16" />

<enchant id="22228" isWeapon="false" isSafe="true" targetGrade="c" maxEnchant="16" />

<enchant id="22230" isWeapon="false" isSafe="true" targetGrade="d" maxEnchant="16" />

 

<!-- Master Yogi's Scroll: Enchant Weapon -->

<enchant id="13540">

<item id="13539" /> <!-- Staff of Master Yogi -->

</enchant>

 

<!-- Weapon enhancing scroll exclusive for PC cafe -->

<enchant id="15346" targetGrade="s">

<item id="15313" /> <!-- PC cafe' exclusive - Forgotten Blade -->

<item id="15314" /> <!-- For PC cafe use - Basalt Battle hammer -->

<item id="15315" /> <!-- For PC cafe use - Imperial Staff -->

<item id="15316" /> <!-- For PC cafe use - Angel Slayer -->

<item id="15317" /> <!-- For PC cafe use - Dragon Hunter Axe -->

<item id="15318" /> <!-- For PC cafe use - Saint Spear -->

<item id="15319" /> <!-- For PC cafe use - Demon Splinter -->

<item id="15320" /> <!-- For PC cafe use - Heaven's Divider -->

<item id="15321" /> <!-- For PC cafe use - Arcana Mace -->

<item id="15322" /> <!-- For PC cafe use - Draconic Bow -->

<item id="15323" /> <!-- For PC cafe use - Laevateinn -->

<item id="15324" /> <!-- For PC cafe use - Gram -->

<item id="15325" /> <!-- For PC cafe use - Sarnga -->

<item id="15326" /> <!-- For PC cafe use - Tallum Blade *Dark Legion -->

</enchant>

<enchant id="15347" targetGrade="a">

<item id="13210" /> <!-- PC cafe' exclusive - Sirra's Blade -->

<item id="13211" /> <!-- For PC Cafe Use - Sword of Ipos -->

<item id="13212" /> <!-- For PC Cafe Use - Barakiel's Axe -->

<item id="13213" /> <!-- For PC Cafe Use - Behemoth Tuning Fork -->

<item id="13214" /> <!-- For PC Cafe Use - Naga Storm -->

<item id="13215" /> <!-- For PC cafe use - Tiphon's Spear -->

<item id="13216" /> <!-- For PC cafe use - Shyeed's Bow -->

<item id="13217" /> <!-- For PC Cafe Use - Sobekk's Hurricane -->

<item id="13218" /> <!-- For PC Cafe Use - Themis' Tongue -->

<item id="13219" /> <!-- For PC Cafe Use - Cabrio's Hand -->

<item id="13220" /> <!-- For PC Cafe Use - Daimon Crystal -->

<item id="13221" /> <!-- For PC cafe use - Tallum Blade*Damascus -->

<item id="13222" /> <!-- For PC Cafe Use - Eclair Bijou -->

<item id="13223" /> <!-- For PC cafe use - Durendal -->

<item id="13224" /> <!-- For PC Cafe Use - Screaming Vengeance -->

</enchant>

<enchant id="15348" targetGrade="b">

<item id="13194" /> <!-- For PC Cafe Use - Damascus Sword -->

<item id="13195" /> <!-- For PC cafe use - Lance -->

<item id="13196" /> <!-- For PC Cafe Use - Deadman's Glory -->

<item id="13197" /> <!-- For PC Cafe Use - Art of Battle Axe -->

<item id="13198" /> <!-- For PC Cafe Use - Staff of Evil Spirits -->

<item id="13199" /> <!-- For PC Cafe USE - Devil's Dagger -->

<item id="13200" /> <!-- For PC Cafe Use - Bellion Cestus -->

<item id="13201" /> <!-- For PC cafe use - Hazard Bow -->

<item id="13202" /> <!-- For PC Cafe Use - Samurai*Samurai -->

<item id="13203" /> <!-- For PC Cafe Use - Guardian's Sword -->

<item id="13204" /> <!-- For PC Cafe Use - Wizard's Tear -->

<item id="13205" /> <!-- For PC Cafe Use - Kaim Vanul's Bones -->

<item id="13206" /> <!-- For PC Cafe Use - Star Buster -->

<item id="13207" /> <!-- For PC cafe use - Colichemarde -->

<item id="13208" /> <!-- For PC cafe use - Dismantler -->

<item id="13209" /> <!-- For PC Cafe Use - Hell Hound -->

</enchant>

<enchant id="15349" targetGrade="c">

<item id="13178" /> <!-- For PC Cafe Use - Samurai Long Sword -->

<item id="13179" /> <!-- For PC Cafe Use - Ghost's Wand -->

<item id="13180" /> <!-- For PC Cafe Use - Ghoul's Wand -->

<item id="13181" /> <!-- For PC Cafe Use - Devil's Wand -->

<item id="13182" /> <!-- For PC Cafe USE - Crystal Dagger -->

<item id="13183" /> <!-- For PC cafe use - Great Pata -->

<item id="13184" /> <!-- For PC cafe use - Eminence Bow -->

<item id="13185" /> <!-- For PC Cafe Use - Orcish Poleaxe -->

<item id="13186" /> <!-- For PC cafe use - Yaksa Mace -->

<item id="13187" /> <!-- For PC Cafe Use - Shamshir*Shamshir -->

<item id="13188" /> <!-- PC Cafe Use - Admiral's Estoc -->

<item id="13189" /> <!-- For PC cafe use - Saber Tooth -->

<item id="13190" /> <!-- For PC Cafe Use - Sharpshooter -->

<item id="13191" /> <!-- For PC Cafe Use - Ecliptic Sword -->

<item id="13192" /> <!-- For PC Cafe Use - Ecliptic Axe -->

<item id="13193" /> <!-- For PC Cafe Use - Dwarven Hammer -->

</enchant>

<enchant id="15350" targetGrade="d">

<item id="13163" /> <!-- For PC Cafe Use - -leeching-*Crimson Sword -->

<item id="13164" /> <!-- For PC cafe use - Claymore -->

<item id="13165" /> <!-- For PC cafe use - Bonebreaker -->

<item id="13166" /> <!-- For PC Cafe Use - Atuba Hammer -->

<item id="13167" /> <!-- For PC Cafe Use - Ghost's Wand -->

<item id="13168" /> <!-- For PC Cafe Use - Hall of Life -->

<item id="13169" /> <!-- For PC cafe use - Atuba Mace -->

<item id="13170" /> <!-- For PC Cafe USE - Mithril Dagger -->

<item id="13171" /> <!-- For PC Cafe Use - Scallop Jamadhr -->

<item id="13172" /> <!-- For PC cafe use - Crossbow -->

<item id="13173" /> <!-- For PC cafe use - Glaive -->

<item id="13174" /> <!-- For PC Cafe Use - Elven Long Sword -->

<item id="13175" /> <!-- For PC Cafe Use - Grand Epee -->

<item id="13176" /> <!-- For PC Cafe Use - General Katzbalger -->

<item id="13177" /> <!-- For PC Cafe Use - Cranequin -->

</enchant>

 

<!-- Weapon-Type Enhance Backup Stone -->

<support id="12362" targetGrade="d" maxEnchant="9" successBonus="1.20" />

<support id="12363" targetGrade="c" maxEnchant="9" successBonus="1.18" />

<support id="12364" targetGrade="b" maxEnchant="9" successBonus="1.15" />

<support id="12365" targetGrade="a" maxEnchant="9" successBonus="1.12" />

<support id="12366" targetGrade="s" maxEnchant="9" successBonus="1.10" />

<!-- Armor-Type Enhance Backup Stone -->

<support id="12367" isWeapon="false" targetGrade="d" maxEnchant="9" successBonus="1.35" />

<support id="12368" isWeapon="false" targetGrade="c" maxEnchant="9" successBonus="1.27" />

<support id="12369" isWeapon="false" targetGrade="b" maxEnchant="9" successBonus="1.23" />

<support id="12370" isWeapon="false" targetGrade="a" maxEnchant="9" successBonus="1.18" />

<support id="12371" isWeapon="false" targetGrade="s" maxEnchant="9" successBonus="1.15" />

 

<!-- Agathion Auxiliary Stone: Enchant Weapon -->

<support id="14702" targetGrade="d" maxEnchant="9" successBonus="1.20" />

<support id="14703" targetGrade="c" maxEnchant="9" successBonus="1.18" />

<support id="14704" targetGrade="b" maxEnchant="9" successBonus="1.15" />

<support id="14705" targetGrade="a" maxEnchant="9" successBonus="1.12" />

<support id="14706" targetGrade="s" maxEnchant="9" successBonus="1.10" />

<!-- Agathion Auxiliary Stone: Enchant Armor -->

<support id="14707" isWeapon="false" targetGrade="d" maxEnchant="9" successBonus="1.35" />

<support id="14708" isWeapon="false" targetGrade="c" maxEnchant="9" successBonus="1.27" />

<support id="14709" isWeapon="false" targetGrade="b" maxEnchant="9" successBonus="1.23" />

<support id="14710" isWeapon="false" targetGrade="a" maxEnchant="9" successBonus="1.18" />

<support id="14711" isWeapon="false" targetGrade="s" maxEnchant="9" successBonus="1.15" />

</list>

 

 

is something wrong?

not want the items pass +25 how do I do?

  • 0
Posted

One could solve a doubt is:

I use the Rev L2 Brick High Five So that a problem in contact with Enchant

set up as follows:

# This is the maximum safe enchant.

# Notes:

# If EnchantSafeMax is set to 8 for the item will be safely enchanted to 8 max enchant regardless of the value above in September. # EnchantSafeMaxFull is for full body armor (upper and lower). These values ​​# Should always be Greater Than 0.

#Default : 3, 4

 

Five EnchantSafeMax <<<<<<<<<<<<<<<<<< MAX 15

Safe EnchantSafeMaxFull <<<<<<<<<<<<<<< MAX = 25

So that he does not get as much Fik tipow open the player can place the item up to +65535 which is the maximum the server does not know how else to fix this anyone have any tips?

 

If you mean you want to put enchant max +25 so players cant enchant more, go to clientpackets.requestEnchantItem.java and edit the java...

add smth like this:

 

// first validation check

if (!scrollTemplate.isValid(item, supportTemplate))

{

activeChar.sendPacket(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION);

activeChar.setActiveEnchantItem(null);

activeChar.sendPacket(new EnchantResult(2, 0, 0));

return;

}

+ // MAX ENCHANT

+ if (item.getEnchantLevel() >= 25)

+ {

+ activeChar.sendMessage("Your " + item.getName() + " has reached the enchant limit.");

+ activeChar.setActiveEnchantItem(null);

+ activeChar.sendPacket(new EnchantResult(2, 0, 0));

+ return;

+ }

 

i just wrote it, but im sure it works try it

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • L2jBayev Chronicle 3: Rise of Darkness – AiEngine Edition In short: this is a C3 build with a full-fledged AI engine, live mercenaries, a built-in quiz, a “personal account” in the Community Board, and server logic neatly distributed across thread pools. The project is about a living world without lags : bots farm, communicate, gather parties, teleport along routes, and the server remains cold and stable.   What's inside (the most delicious) 1) Full-fledged AI engine for characters Behavior types: farming ( FarmAI ), combat ( CombatAI ), party logic ( PartyAI ), trading/walking ( TraderAI / WalkerAI ), support roles (healer, etc.). Class profiles: for mages/archers/daggers, etc., “smart” skill rotations, distance control, sleep/save skills, healing, loot pickup, etc. are implemented (see examples of classes like SpellSingerAI , NecromancerAI , etc.). Self-healing and teleports: when dying, the bot goes through a sequence of steps without sleep()- via AITaskSequence + AITeleportToLocTask , searches for the nearest gatekeeper and teleports via TeleportationManager with routes depending on the level. Auto-support: auto-nipples, arrows/bones, smart auto-proceduring of buffs and auto-banks CP/HP/MP with thresholds - all sewn into the auxiliary EtcPlayersAi . Chat context: ChatManagerAi processes mentions, makes responses with delays (anti-flood), supports party chat and “human” reaction. Understanding: ChatManagerAi system  processes the dialogue, bots remember your aggression and insults, they start to respond less often to modern users, stop accepting or inviting to a group (party) and when it goes beyond the peak they will simply merge you, and every time they see you on the PC, there is an opportunity to measure more often, communicate respectfully and beautifully, in general, a “human” reaction. Why a player/admin needs this: bots actually “live”, farm and interact, and don’t just stand on macros. This is a great background for online and PvE action.   2) Mercenaries (Mercenary system) Full-fledged companion character : L2MercenaryInstance with its own MercenaryAI (movement, attack, support, consumables, shots). Behavior modes: DEFENDER / SUPPORT / PASSIVE - switchable to suit your playing style. Progress and trust: the mercenary's trust/exp/level grows , skills are learned according to the MercenarySkillTree (conditions are based on the trust or level of the owner). Templates and equipment: via MercenaryTemplateTable and spawner - model/weapon/type are selected. Social: MercenarySpeechManager - a set of speeches; the mercenary "comes to life" in the chat. Premium Link: Premium account owners give the mercenary additional trust (faster progress). Why: This is not a dummy pet, but a playful companion with modes, training and “character”.   3) Quiz (event viktorina ) Rounds according to schedule: pre-launch with announcements (minutes/seconds before start), registration .reg, auto-opening of the window. Multiple choice questions: question + set of answer buttons; fair processing, timings, question change. Tops and history: results table, statistics, neat UI via HTML assembly. Flexible control: you can start immediately or set a delayed start (notification package 5/2/1 min, etc.). Why: regular activity for players, “social entertainment” module right in the build.   4) Personal account in Community Board KB managers: buff cabinet, teleports, clans/forums/mail/friends, tops (PK/PvP/wealth/players), character repair, viewing skill trees , etc. Premium logic: some services/mail are limited by premium; premium also affects the visual (nickname color) and bonuses (see effect on mercenary). Single sign-on: all in one place, no team chaos. Why: conveniently manage your character and services without going into the console or installing third-party mods.   Why is the system technically valuable? Minimum load and stability Separated thread pools: AI logic, hunting, teleports, chat - on separate onesScheduledExecutorService ( AI_THREAD_POOL , MONSTER_HUNT_POOL , TELEPORT_POOL , CHAT_POOL ). No "freezing": task sequencers (teleport/recovery) work through the scheduler, not Thread.sleep(). Bot limitation: protection against overload via thresholds/counters - “extra” bots do not start. One bot - one sequence: AITaskManager ensures that the character does not have parallel conflicting tasks. Smoothing out peaks: starting tasks with offsets so that there are no simultaneous “ticks” of hundreds of bots. Monitoring/logs: own loggers (separate files for info/errors/processes/chats), CPU load monitoring. Bottom line: the build is designed for “thick online” and mass activities without TPS failures .   Additional Features Auto-alliances for farming: party logic invites suitable players (checking level/equipment/clan flags), there are “human” responses to requests. Sub/class management: out of the box helpers for changing class/subclass, auto-learning of necessary skills and selection of equipment by level. Security/protection: secondary PIN/picture password support (used in KB/voiced commands; optional). Premium accounts: privileges in KB/mail/visual and synergy with mercenary progress. Ready-made services: tops, auctions/mail, teleports from KB, buff rooms, repairs, viewing skill trees, etc.   Who is this build for? Freeshare/project admins who want a living world “from the pack”: bots and mercenaries provide a constant background of activity. Players who value convenience: personal account, premium services, events and a mercenary companion. Developers who want a clean, predictable backend with thread pools and a neat task model without “magic”.   How it differs from standard assemblies Not macros - AI profiles with “brains”: rotations, positioning, healing, decision making. Not a decoration pet - a mercenary with his own modes, progress, skill tree and lines. Not a faceless gamemod - an event quiz with UI, schedule, tops. No chaos in flows - strict pools, planning and task managers designed for online and growth. No separate scripts - a single personal account in KB for most activities.   TL;DR (one paragraph for the project card) AiEngine C3 is a build with live AI, smart bots, mercenaries (modes/progress/skills), built-in quiz, premium logic and a convenient personal account in KB. Under the hood are distributed thread pools and task managers without sleep(), so even with a dense online the server remains stable and responsive.   Additionally add - there is still a lot of interesting things command .assassin or shift+target (order murder), shift+target for admins on AI characters for control, admin panel is completely rewritten, many additional functions, mercenaries change their appearance depending on trust, deepseek and chatGPT system is connected for communication of characters like real players, GPT - for newer java, there is still a very large list of fixes after the last versions, a lot has been fixed, including height coordinates (Z) geo-Squares, pathfinding, visibility through obstacles, fix pet summons, trade packages, shop packages, many effects, quests (including the original ones like nipples, etc.), Ai behavior of NPC and RB monsters, absolutely all epics have been transferred to AiLoader no longer in python scripts. Attention! The server is suitable for both classic mode and PvP format, as well as with various mods. Absolutely everything is configured in the configurations to suit your taste and purposes of use. It is recommended to launch the server through L2ServerControl (simplifies management and control of processes). Download Servers: Chronicle 3 Server Chronicle 4 Test Upgraded Server Full Desc & screens: Post & Screens c3 Post & Desc c4    
    • 🎃 HALLOWEEN EVENT 🎃   ‼️ Information and details: https://forum.l2harbor.com/threads/halloween-event-fall-harvest-30-10-07-11.8265/post-168620
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock