Jump to content
  • 0

enchant bug Rev L2 Brick High Five


MAXIMO-XP

Question

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?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

<?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?

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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