Jump to content
  • 0

[HELP]Augment Se [PvP] weapons


Question

Posted

Den 3erw an postarw sto swsto section apla ithela na rwtisw an kapoios apo sas 3erei pws mporw na energopoiisw ta augment se pvp weapon....exw psa3ei pantou alla den mporw na vrw kati......Eyxaristw

 

 

Den eida to sub board panw...Opote postara se lathos section... :(( as to kanei kapoios move...

3 answers to this question

Recommended Posts

  • 0
Posted

### Eclipse Workspace Patch 1.0
#P L2_GameServer
Index: java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java   (revision 3959)
+++ java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java   (working copy)
@@ -241,7 +241,7 @@
          return false;
       if (item.isAugmented())
          return false;
-      if (item.isHeroItem())
+      if (item.isHeroItem() && !Config.ENABLE_HERO_WEAPON_AGUMENT)
          return false;
       if (item.isShadowItem())
          return false;
@@ -253,7 +253,7 @@
          return false;
       if (item.isWear())
          return false;
-      if (item.isPvp())
+      if (item.isPvp() && !Config.ENABLE_PVP_WEAPON_AGUMENT)
          return false;
       if (item.getItem().getCrystalType() < L2Item.CRYSTAL_C)
          return false;
Index: java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java   (revision 3959)
+++ java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java   (working copy)
@@ -66,7 +66,7 @@
          return;
       }

-      if (item.isPvp())
+      if (item.isPvp() && !Config.ENABLE_PVP_WEAPON_AGUMENT && !Config.ENABLE_HERO_WEAPON_AGUMENT)
       {
          activeChar.sendPacket(new SystemMessage(SystemMessageId.THIS_IS_NOT_A_SUITABLE_ITEM));
          return;
Index: java/com/l2jserver/gameserver/network/clientpackets/AbstractEnchantPacket.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/AbstractEnchantPacket.java   (revision 3959)
+++ java/com/l2jserver/gameserver/network/clientpackets/AbstractEnchantPacket.java   (working copy)
@@ -295,7 +295,7 @@
     */
    protected static final boolean isEnchantable(L2ItemInstance item)
    {
-      if (item.isHeroItem())
+      if (item.isHeroItem() && !Config.ENABLE_HERO_WEAPON_ENCHANT)
          return false;
       if (item.isShadowItem())
          return false;
Index: java/com/l2jserver/Config.java
===================================================================
--- java/com/l2jserver/Config.java   (revision 3959)
+++ java/com/l2jserver/Config.java   (working copy)
@@ -658,6 +658,11 @@
    public static String ANNOUNCE_PK_MSG;
    public static String ANNOUNCE_PVP_MSG;
    public static boolean L2JMOD_CHAT_ADMIN;
+   public static boolean ENABLE_HERO_WEAPON_ENCHANT;
+   public static boolean ENABLE_PVP_WEAPON_ELEMENT;
+   public static boolean ENABLE_HERO_WEAPON_ELEMENT;
+   public static boolean ENABLE_PVP_WEAPON_AGUMENT;
+   public static boolean ENABLE_HERO_WEAPON_AGUMENT;

    //--------------------------------------------------
    // NPC Settings
@@ -1967,7 +1972,7 @@
                L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False"));
                L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True"));
                L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20"));
-
+               
                L2JMOD_ENABLE_WAREHOUSESORTING_CLAN = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingClan", "False"));
                L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingPrivate", "False"));

@@ -2173,6 +2178,12 @@
                ANNOUNCE_PVP_MSG = L2JModSettings.getProperty("AnnouncePvpMsg", "$killer has defeated $target");
                
                L2JMOD_CHAT_ADMIN = Boolean.parseBoolean(L2JModSettings.getProperty("ChatAdmin", "false"));
+               
+               ENABLE_HERO_WEAPON_ENCHANT = Boolean.parseBoolean(L2JModSettings.getProperty("EnableHeroWeaponEnchant", "False"));
+               ENABLE_PVP_WEAPON_ELEMENT = Boolean.parseBoolean(L2JModSettings.getProperty("EnablePvPWeaponElement", "False"));
+               ENABLE_HERO_WEAPON_ELEMENT = Boolean.parseBoolean(L2JModSettings.getProperty("EnableHeroWeaponElement", "False"));
+               ENABLE_PVP_WEAPON_AGUMENT = Boolean.parseBoolean(L2JModSettings.getProperty("EnablePvPWeaponAgument", "False"));
+               ENABLE_HERO_WEAPON_AGUMENT = Boolean.parseBoolean(L2JModSettings.getProperty("EnableHeroWeaponAgument", "False"));
             }
             catch (Exception e)
             {
Index: java/config/l2jmods.properties
===================================================================
--- java/config/l2jmods.properties   (revision 3959)
+++ java/config/l2jmods.properties   (working copy)
@@ -263,6 +263,35 @@


# ---------------------------------------------------------------------------
+# PvP/Hero Special Options
+# ---------------------------------------------------------------------------
+# Hero Weapons in offical servers can not be enchanted. Whit this option,
+# you can enable the enchant feature for Hero Weapons.
+# Default: False
+EnableHeroWeaponEnchant = False
+
+# PvP Weapons in offical servers can not be Elemental Attributed. Whit this option,
+# you can enable the attribute feature for PvP Weapons.
+# Default: False
+EnablePvPWeaponElement = False
+
+# Hero Weapons in offical servers can not be Elemental Attributed. Whit this option,
+# you can enable the attribute feature for Hero Weapons.
+# Default: False
+EnableHeroWeaponElement = False
+
+# PvP Weapons in offical servers can not be agumented. Whit this option,
+# you can enable the agumentation feature for PvP Weapons.
+# Default: False
+EnablePvPWeaponAgument = False
+
+# Hero Weapons in offical servers can not be agumented. Whit this option,
+# you can enable the agumentation feature for Hero Weapons.
+# Default: False
+EnableHeroWeaponAgument = False
+
+
+# ---------------------------------------------------------------------------
# Display Server Time
# ---------------------------------------------------------------------------
# This option will enable displaying of the local server time for /time command.
Index: java/com/l2jserver/gameserver/network/clientpackets/RequestExEnchantItemAttribute.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/RequestExEnchantItemAttribute.java   (revision 3959)
+++ java/com/l2jserver/gameserver/network/clientpackets/RequestExEnchantItemAttribute.java   (working copy)
@@ -94,7 +94,7 @@
       }

       //can't enchant rods, shadow items, adventurers', PvP items, hero items, cloaks, bracelets, underwear (e.g. shirt), belt, necklace, earring, ring
-      if (item.getItem().getItemType() == L2WeaponType.ROD || item.isShadowItem() || item.isPvp() || item.isHeroItem() || item.isTimeLimitedItem() ||
+      if (item.getItem().getItemType() == L2WeaponType.ROD || item.isShadowItem() || (item.isPvp() && !Config.ENABLE_PVP_WEAPON_ELEMENT) || (item.isHeroItem() && !Config.ENABLE_HERO_WEAPON_ELEMENT) || item.isTimeLimitedItem() ||
          (item.getItemId() >= 7816 && item.getItemId() <= 7831) || (item.getItem().getItemType() == L2WeaponType.NONE) ||
          item.getItem().getItemGradeSPlus() != L2Item.CRYSTAL_S || item.getItem().getBodyPart() == L2Item.SLOT_BACK ||
          item.getItem().getBodyPart() == L2Item.SLOT_R_BRACELET || item.getItem().getBodyPart() == L2Item.SLOT_UNDERWEAR ||

 

Sorry den vrika to topic kai ekana edw to arxio pou eixa apothikeusei to patch paste... Credits ston creator, oxi se 'mena :D

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

    • Hey everyone, I’m thrilled to introduce our upcoming server, Dragon‑Network, built on the powerful Interlude+ chronicle and crafted for serious PvP, balanced progression and community fun. Below you’ll find all the key details — rates, features, event structure, and why this will be your next home for Lineage 2. 📅 Grand Opening November 21, 2025 — mark the date, rally your friends, prepare your gear. The realm opens, and the wars begin. ⚙️ Rates & Server Setup XP: 10× Chronicle: Interlude+ (expanded from our previous server) PvP-focused content, daily events, and reward-rich systems These core settings ensure you’ll feel progress and power, without losing the depth of classic Interlude. 🎯 Features & Highlights Based on our features page: Alternative class change quests: skip the lengthy standard quests by collecting tradable items dropped by monsters. Dragon-Network Full Interlude+ content: Kamaloka, Labyrinth, Pailaka quests, Hellbound Island, S80 items, Attribute system, Isle of Prayer hunting zone, siegeable fortresses and more. Dragon-Network Daily Team vs Team (TvT) events: prove your worth, climb the ranks and earn valuable rewards. Dragon-Network Balanced PvP mechanics: custom sub-stack features, armor mastery rules, optimized skill effects — all to keep the fight fair and skill-based. Dragon-Network Other extras: Raid Bosses with defined respawn times, rich loot systems, improved QOL features like improved buffs, combo songs/dances, tattoo system, etc. Dragon-Network 🎮 Why This Server Matters You’re playing Interlude+, but with modern enhancements — classic content with new mechanics, not a simple resurrect of the old. PvP and events are daily and structured, so you don’t wait weeks to engage. We’ve designed progression to be meaningful: rewards, class changes, content unlocks all move you forward without feeling pay-to-win. Community-first: Whether you enter solo or with friends, you’ll find team action, clans forming, and events where everyone has a chance to shine. 🗺 What to Do Next Visit our website: dragon-network.eu (check out the “Features” tab for full details) Prepare your Master Account, get your clan or buddies ready. On launch day (Nov 21), log in early, grab your spot, participate in the first TvT, and start building your legacy. Get ready — the gates open soon. The grind begins. The battles await. Will you rise to become legend on Dragon-Network? 🐉 Feel free to ask any questions below or share this post with your friends. Let’s make this launch one to remember.
    • NFT gifts on Telegram are already here! Buy Stars at SOCNET — the black background can be yours today! Purchase existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium, and react to messages in channels! Low prices, many payment methods, and other cool and unique features! Try it today — SOCNET STARS BOT Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and beneficial purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in September! You can also use the first-purchase promo code: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — simply write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." — you need to post it in our forum thread! 3. Get $1 for your first SMM Panel trial: just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • NFT gifts on Telegram are already here! Buy Stars at SOCNET — the black background can be yours today! Purchase existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium, and react to messages in channels! Low prices, many payment methods, and other cool and unique features! Try it today — SOCNET STARS BOT Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and beneficial purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in September! You can also use the first-purchase promo code: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — simply write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." — you need to post it in our forum thread! 3. Get $1 for your first SMM Panel trial: just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • NFT gifts on Telegram are already here! Buy Stars at SOCNET — the black background can be yours today! Purchase existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium, and react to messages in channels! Low prices, many payment methods, and other cool and unique features! Try it today — SOCNET STARS BOT Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and beneficial purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in September! You can also use the first-purchase promo code: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — simply write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." — you need to post it in our forum thread! 3. Get $1 for your first SMM Panel trial: just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Wts adena 1kk = 10$  discord - GODDARDSHOP 
  • 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