Skip to content

weapon disarm when enchant failed

Featured Replies

hello maxcheaters! I have this problem:

when i'm enchanting weapon with blessed enchant and enchant failed the weapon set to 0 and it's disarms!

how to change code and when i fail enchant weapon not must to disarm?

 

 

p.s sorry for my english

i think that is a kind of protection or something like that.

  • Author

if you mean floodcontrols this file is

 

#===========================================================================#
#              Flood Protector Settings - L2J Teon By Danielmwx             #
#===========================================================================#
# ------------------------------------------------------- #
#    Following settings can be applied to each feature:   #
# ------------------------------------------------------- #
# Interval - interval in gameserver ticks (10 = 1 second)
# LogFlooding - whether flooding should be logged
# PunishmentLimit - if number of requests within single interval exceeds (0 - disables punishment feature)
# PunishmentType - type of the punishment ('none', 'ban', 'jail'), used only, if PunishmentLimit is greater than zero
# PunishmentTime - for how many minutes should be the player/account punished, player is punished in case of 'jail', account is punishedin case of 'ban' (0 = forever)

FloodProtectorUseItemInterval = 4
FloodProtectorUseItemLogFlooding = False
FloodProtectorUseItemPunishmentLimit = 0
FloodProtectorUseItemPunishmentType = none
FloodProtectorUseItemPunishmentTime = 0

FloodProtectorRollDiceInterval = 42
FloodProtectorRollDiceLogFlooding = False
FloodProtectorRollDicePunishmentLimit = 0
FloodProtectorRollDicePunishmentType = none
FloodProtectorRollDicePunishmentTime = 0

FloodProtectorFireworkInterval = 42
FloodProtectorFireworkLogFlooding = False
FloodProtectorFireworkPunishmentLimit = 0
FloodProtectorFireworkPunishmentType = none
FloodProtectorFireworkPunishmentTime = 0

FloodProtectorItemPetSummonInterval = 16
FloodProtectorItemPetSummonLogFlooding = False
FloodProtectorItemPetSummonPunishmentLimit = 0
FloodProtectorItemPetSummonPunishmentType = none
FloodProtectorItemPetSummonPunishmentTime = 0

FloodProtectorHeroVoiceInterval = 100
FloodProtectorHeroVoiceLogFlooding = False
FloodProtectorHeroVoicePunishmentLimit = 0
FloodProtectorHeroVoicePunishmentType = none
FloodProtectorHeroVoicePunishmentTime = 0

FloodProtectorSubclassInterval = 200
FloodProtectorSubclassLogFlooding = False
FloodProtectorSubclassPunishmentLimit = 0
FloodProtectorSubclassPunishmentType = none
FloodProtectorSubclassPunishmentTime = 0

FloodProtectorDropItemInterval = 10
FloodProtectorDropItemLogFlooding = False
FloodProtectorDropItemPunishmentLimit = 0
FloodProtectorDropItemPunishmentType = none
FloodProtectorDropItemPunishmentTime = 0

FloodProtectorServerBypassInterval = 5
FloodProtectorServerBypassLogFlooding = False
FloodProtectorServerBypassPunishmentLimit = 0
FloodProtectorServerBypassPunishmentType = none
FloodProtectorServerBypassPunishmentTime = 0

# Flood Protector for Unknow Packets
FloodProtectorUnkPacketsInterval = 5
FloodProtectorUnkPacketsLogFlooding = False
FloodProtectorUnkPacketsPunishmentLimit = 0
FloodProtectorUnkPacketsPunishmentType = none
FloodProtectorUnkPacketsPunishmentTime = 0

# Flood Protector for Buffs
FloodProtectorBufferInterval = 5
FloodProtectorBufferLogFlooding = False
FloodProtectorBufferPunishmentLimit = 0
FloodProtectorBufferPunishmentType = none
FloodProtectorBufferPunishmentTime = 0

# Flood Protector for Craft
FloodProtectorCraftInterval = 5
FloodProtectorCraftLogFlooding = False
FloodProtectorCraftPunishmentLimit = 0
FloodProtectorCraftPunishmentType = none
FloodProtectorCraftPunishmentTime = 0

# Flood Protector for Multisell
FloodProtectorMultisellInterval = 30
FloodProtectorMultisellLogFlooding = False
FloodProtectorMultisellPunishmentLimit = 0
FloodProtectorMultisellPunishmentType = none
FloodProtectorMultisellPunishmentTime = 0

# Flood Protector for .deposit
FloodProtectorBankingSystemInterval = 30
FloodProtectorBankingSystemLogFlooding = False
FloodProtectorBankingSystemPunishmentLimit = 0
FloodProtectorBankingSystemPunishmentType = none
FloodProtectorBankingSystemPunishmentTime = 0

# Flood Protector for Werehouse
FloodProtectorWerehouseInterval = 10
FloodProtectorWerehouseLogFlooding = False
FloodProtectorWerehousePunishmentLimit = 0
FloodProtectorWerehousePunishmentType = none
FloodProtectorWerehousePunishmentTime = 0

# Flood Protector for Misc
FloodProtectorMiscInterval = 10
FloodProtectorMiscLogFlooding = False
FloodProtectorMiscPunishmentLimit = 0
FloodProtectorMiscPunishmentType = none
FloodProtectorMiscPunishmentTime = 0

# Flood Protector for Chat
FloodProtectorChatInterval = 10
FloodProtectorChatLogFlooding = False
FloodProtectorChatPunishmentLimit = 0
FloodProtectorChatPunishmentType = none
FloodProtectorChatPunishmentTime = 0

# Flood Protector for Chat Global
FloodProtectorGlobalInterval = 10
FloodProtectorGlobalLogFlooding = False
FloodProtectorGlobalPunishmentLimit = 0
FloodProtectorGlobalPunishmentType = none
FloodProtectorGlobalPunishmentTime = 0

# Flood Protector for Chat Trade
FloodProtectorTradeInterval = 10
FloodProtectorTradeLogFlooding = False
FloodProtectorTradePunishmentLimit = 0
FloodProtectorTradePunishmentType = none
FloodProtectorTradePunishmentTime = 0

# Flood Protector for Potion's
FloodProtectorPotionInterval = 10
FloodProtectorPotionLogFlooding = False
FloodProtectorPotionPunishmentLimit = 0
FloodProtectorPotionPunishmentType = none
FloodProtectorPotionPunishmentTime = 0

See column 'destroyable' in You DB at weapon table. Also, I dont know if its matter, but try to do this at normal char account (without 127 access_lvl).

 

Bye

destroyable aris rom weapon gadagdo inventorsi rom aris destruction...

 

  • Author

xo mara yvela iaragze eg xo ar unda gavaketo?

 

i must set destroyable at all weapons?!

search a bit in RequestEnchantItem.java

if you set destryable to all weapons that means your weapon can destry at inventry Recycled "destruction"

 

destryable araper suasi araris enchanti rom aketeb da weapon deissarms aketeps

i know that but how???

open it with eclipse and start searching

Well, in RequestEnchantItem.java find where it says about blessed scrolls. Somewhere probably will have

activeChar.DisarmWeapons(true);

 

set it to false.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.