Jump to content
  • 0

pws kanw enchant ta infinity weapon?


Question

11 answers to this question

Recommended Posts

  • 0
Posted

Pane gameserver->config->enchant.prop

Bres tin stili

# Enchant hero weapons? (default: False)

EnchantHeroWeapons = False <-- kanto True kai einai ok

Tin epomeni fora na kaneis topic gia help sto dev help

 

  • 0
Posted

piga alla dn exei enchant.prop...epsa3a kai se ola ta egrafa p exei sto gameserver->config kai dn exei pou8ena to

# Enchant hero weapons? (default: False)

EnchantHeroWeapons = False

  • 0
Posted
# Configuration file for enchant settings

 

# % Chance of succeding to enchant an item when it has a chance of breaking(destory item)/resetting(set enchant back to 0)

# Standard Enchant Scroll

EnchantChanceWeapon = 75

EnchantChanceArmor = 75

EnchantChanceJewelry = 75

EnchantBreakWeapon = True

EnchantBreakArmor = True

EnchantBreakJewelry = True

# Crystal Enchant Scroll

EnchantChanceWeaponCrystal = 0

EnchantChanceArmorCrystal = 0

EnchantChanceJewelryCrystal = 0

EnchantBreakWeaponCrystal = True

EnchantBreakArmorCrystal = True

EnchantBreakJewelryCrystal = True

# Blessed Enchant Scroll

EnchantChanceWeaponBlessed = 95

EnchantChanceArmorBlessed = 95

EnchantChanceJewelryBlessed = 95

EnchantBreakWeaponBlessed = False

EnchantBreakArmorBlessed = False

EnchantBreakJewelryBlessed = False

 

# Enchant limit (unlimited on default)

EnchantMaxWeapon = 25

EnchantMaxArmor = 25

EnchantMaxJewelry = 25

 

# Safe till

EnchantSafeMax = 7

EnchantSafeMaxFull = 7

# Enchant hero weapons? (default: Fals)

EnchantHeroWeapons = False

# Alternate Dwarf enchant system (default: False)

# Dwarf from lvl 20 can enchant up to EnchantDwarf1Enchantlevel with a chance bouns from + EnchantDwarf1Chance

# Dwarf from lvl 40 can enchant up to EnchantDwarf2Enchantlevel with a chance bouns from + EnchantDwarf2Chance

# Dwarf from lvl 76 can enchant up to EnchantDwarf3Enchantlevel with a chance bouns from + EnchantDwarf3Chance

EnchantDwarfSystem = False

EnchantDwarf1Enchantlevel = 8

EnchantDwarf2Enchantlevel = 10

EnchantDwarf3Enchantlevel = 12

EnchantDwarf1Chance = 15

EnchantDwarf2Chance = 15

EnchantDwarf3Chance = 15

etsi prepi na einai...

  • 0
Posted

ellinaras ti dn katalaves??katevase to l2dot pack kai des an exei to enchant.prop .... a safe/max/rate ta exei sto other kai ekei dn exei tpt gia hero weaps..

[iM dwsto :P]

  • 0
Posted

file i l2dot exei  to exei ayto to config na kaneis enchant infinity ama 8eleis to java na to peraseis kai na kaneis compile file mou oriste

 

Index: /trunk/L2J-Archid-Game/java/com/l2jarchid/Config.java
===================================================================
--- /trunk/L2J-Archid-Game/java/com/l2jarchid/Config.java (revision 524)
+++ /trunk/L2J-Archid-Game/java/com/l2jarchid/Config.java (revision 525)
@@ -1388,5 +1388,6 @@
     public static float ALT_DAGGER_DMG_VS_HEAVY;
     public static float ALT_DAGGER_DMG_VS_ROBE;
-
+    public static boolean ENCHANT_HERO_WEAPONS;
+    
	//************************************************************************************************************************
	public static void loadCustomsConfig()
@@ -1517,5 +1518,5 @@
	     	ALT_DAGGER_DMG_VS_ROBE = Float.parseFloat(CustomMod.getProperty("DaggerVSRobe", "2.00")); 
	     	ALT_DAGGER_DMG_VS_LIGHT = Float.parseFloat(CustomMod.getProperty("DaggerVSLight", "2.20"));
-
+	     	ENCHANT_HERO_WEAPONS	= Boolean.parseBoolean(CustomMod.getProperty("EnchantHeroWeapons","false"));
			// Create Map only if enabled
			if (ENABLE_MODIFY_SKILL_DURATION)
Index: /trunk/L2J-Archid-Game/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java
===================================================================
--- /trunk/L2J-Archid-Game/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java (revision 500)
+++ /trunk/L2J-Archid-Game/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java (revision 525)
@@ -68,13 +68,12 @@
         activeChar.setActiveEnchantItem(null);
         if (item == null || scroll == null) return;
-
-         // can't enchant rods, hero weapons and shadow items
-        if(item.getItem().getItemType() == L2WeaponType.ROD
-        		|| item.getItemId() >= 6611 && item.getItemId() <= 6621
-        		|| item.isShadowItem())
-        {
-        	activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));
-            return;
-        }
+    	
+        
+    	if ((item.getItem().getItemType() == L2WeaponType.ROD) || (!Config.ENCHANT_HERO_WEAPONS && (item.getItemId() >= 6611) && (item.getItemId() <= 6621)) || ((item.getItemId() >= 7816) && (item.getItemId() <= 7831)) || item.isShadowItem())
+    	{
+    	    activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));
+    	    return;
+    	}
+    	
         if(item.isWear())
         {
@@ -82,4 +81,5 @@
             return;
         }
+        
         int itemType2 = item.getItem().getType2();
         boolean enchantItem = false;
Index: /trunk/L2J-Archid-Game/config/mods/customs.properties
===================================================================
--- /trunk/L2J-Archid-Game/config/mods/customs.properties (revision 524)
+++ /trunk/L2J-Archid-Game/config/mods/customs.properties (revision 525)
@@ -275,4 +275,8 @@
DaggerVSRobe = 2.00
DaggerVSLight = 2.20
+
+# Enchant Hero Weapons?
+# Default : False
+EnchantHeroWeapons = False

#===============================================================


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

    • ============================================================               CLExt Classic Interlude: v7.80 ============================================================   01. Fixed ValidateLocation handling and player/client position synchronization. 02. Added protection against invalid coordinates and characters falling under the map. 03. Improved XY/Z position and heading validation. 04. Fixed MoveToLocation and MoveToPawn packet conversion and target validation. 05. Fixed TargetSelected, TargetUnselected and MyTargetSelected packet handling. 06. Improved GeoData Z-location handling and disabled unsafe PathNode modifications. 07. Added ExUserInfoInventoryWeight support. 08. Fixed inventory weight and maximum load synchronization. 09. Fixed incorrect 0% inventory weight after character login. 10. Added automatic inventory weight updates after EnterWorld and inventory changes. 11. Added inventory weight packet spam protection and safe weight caching. 12. Fixed BuyList and SellList inventory, slot and weight synchronization. 13. Improved NPC target and Buy/Sell packet validation. 14. Reworked mail attachment inventory and weight validation. 15. Added all-or-nothing mail attachment receiving and safe retry handling. 16. Fixed stackable mail attachment validation and INT_MAX overflow protection. 17. Improved COD Adena validation and post-mail inventory weight refresh. 18. Improved Warehouse Deposit and Withdraw validation. 19. Added protection against malformed warehouse item counts, DBIDs and amounts. 20. Added warehouse INT_MAX, CItem and pSID validation. 21. Improved warehouse anti-dupe protection. 22. Reworked the HTML Cache system for improved stability and memory usage. 23. Added lazy HTML loading instead of loading ~20,000 files during startup. 24. Fixed HTML Cache startup crashes with large HTML collections. 25. Added thread-safe HTML Cache access and Clear/Reload support. 26. Added bad allocation, invalid HTML and oversized HTML protection. 27. Reduced HTML Cache RAM usage, startup allocations and disk I/O. 28. Added HTML Caching ON/OFF with live HTM loading support. 29. Fixed ToggleCachingHook and added VS2005-compatible live HTML handling. 30. Fixed ShortcutInit processing and skill synchronization order. 31. Improved shortcut item validation, augmentation handling and va_list safety. 32. Added LiveMode Ability Point system. 33. Added inventory-item-based Ability Points with configurable pointItemId. 34. Preserved the original level-based Ability Point system as fallback. 35. Fixed incorrect Ability Point display and inventory synchronization. 36. Improved Ability skill learning and point validation. 37. Improved OfflineShopRestore loading and FakePC/DBID handling. 38. Added safer OfflineShopRestore socket limits and batch processing. 39. Prevented thousands of restore sockets from loading simultaneously. 40. Added delayed, non-blocking OfflineShopRestore after server startup. 41. Improved OnEnterWorld initialization order and stability. 42. Improved inventory weight, SkillList and acquired-skill initialization after login. 43. Added VIP integration to the EnterWorld process. 44. Added safe UserExtData initialization without modifying the native User structure. 45. Improved duplicate Bronch Jewel and equipped-slot protection. 46. Improved Bracelet, Belt, Bronch and general UseItem validation. 47. Improved general packet, UserSocket, User, pSD and Creature validation. 48. Added safer INT32/INT64 packet handling and malformed-packet protection. 49. Improved L2Server startup memory usage and lazy resource loading. 50. Reduced unnecessary startup allocations. 51. Improved account-only KeyEngine authentication and remote account validation. 52. Removed account expiration-time requirements. 53. Added updater/restart design without requiring CLExtUpdate.exe. 54. Improved CLIEXT HWID, shared-memory and client/server version validation. 55. Improved ReadFile/WriteFile hooks and MemoryProtector handling. 56. Added UoPilot and Extreme Injector detection handling. 57. Reworked VIP point loading, saving and database synchronization. 58. Fixed VIP Level 0 initialization and first VIP activation. 59. Fixed vip.htm activation after login and from party-shared points. 60. Fixed VIP points being incorrectly reset before successful activation. 61. Improved VIP progression from Level 1 through Level 7. 62. Added proper VIP Level 7 MAX/DONE behavior with no Level 8 requirement. 63. Disabled further VIP point collection after reaching maximum level. 64. Reworked VIP BonusInfo/ReceiveVipInfo packet synchronization. 65. Fixed VIP tier, points, duration and level requirement packet fields. 66. Added VIP duration, tier, point and User validation protections. 67. Added safer 64-bit VIP EXP and party EXP calculations. 68. Preserved subclass maximum EXP protection. 69. Improved ItemDataEx validation during character loading. 70. Fixed augmentation loss during login, relog and server restart. 71. Added safe restoration of augmentation IDs directly from the database. 72. Added CItem, pSID, pExItem and User validation during ItemDataEx loading. 73. Improved Shadow Item mana and item lifetime loading. 74. Preserved item protection timeout data during character loading. 75. Added augmentation loading diagnostics and protected valid augmentation data. 76. Preserved database value 0 for genuinely non-augmented items. 77. Added RaidBoss Status synchronization with the World Map. 78. Fixed alive/dead RaidBoss status updates after spawn and death. 79. Added RaidBossStatus as the source of truth for RaidBoss map packets. 80. Fixed RaidBoss map status synchronization after server/database loading.
    • 🚀 L2AQUILA — GRAND OPENING TOMORROW! Lineage 2 Gracia Final — Like L2 Pride, but fresh. The server you've been waiting for opens tomorrow, Saturday 19/09, 16:00 (Greek time) — No Wipe · 24/7 · Anti-DDoS. ⚔️ What's inside: • EXP 9300x · SP 3000x · Adena 5500x · High drop • Max enchant +20 · Safe +3 · 24 buffs / 3 debuffs • 20 free Custom Coins for every new player on day one! • Custom farming zones (Cave of Trials, Cemetery, Ruins of Despair + more) • PvP Events · Olympiads · Offline Trading · Weddings · Balanced classes • Starter + Dynasty shops in every town — playable from minute one 📥 Download: Client + Patch at https://l2aquila.com/index.html 💬 Discord: discord.gg/5ZyBRvG4k · Facebook: facebook.com/l2aquila Be there at opening hour — bring your squad. See you at the Grand Opening! 🔥
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..