Jump to content
  • 0

[Help] Weapon hero


Question

13 answers to this question

Recommended Posts

  • 0
Posted

8elw ta hero weapon na mporoune na ta baloun oli h chars....

 

opos kai na ginonte +

 

afto pos mporw na to kanw???

 

 

An exeis preconfigured pack den ginete na to kaneis.

 

An exeis compiled :

 

protected static final boolean isEnchantable(L2ItemInstance item)
  {
    if (item.isHeroItem())
        return false;
     if (item.isShadowItem())
        return false;
     if (item.isCommonItem())
        return false;
     if (item.isEtcItem())
        return false;
     if (item.isTimeLimitedItem())
        return false;
     if (item.isWear())
        return false;
     // rods
     if (item.getItem().getItemType() == L2WeaponType.ROD)
        return false;
     // apprentice and travelers weapons
     if (item.getItemId() >= 7816 && item.getItemId() <= 7831)
        return false;
     // bracelets
     if (item.getItem().getBodyPart() == L2Item.SLOT_L_BRACELET)
        return false;
     if (item.getItem().getBodyPart() == L2Item.SLOT_R_BRACELET)
        return false;
     if (item.getItem().getBodyPart() == L2Item.SLOT_BACK)
        return false;
     // only items in inventory and equipped can be enchanted
     if (item.getLocation() != L2ItemInstance.ItemLocation.INVENTORY
           && item.getLocation() != L2ItemInstance.ItemLocation.PAPERDOLL)
        return false;
     
     return true;
  }

 

Kane delete to :

 

if (item.isHeroItem())
        return false;

 

*Afto eine mono gia na mporoun na ta kanoun enchant*

  • 0
Posted

basika exw l2jdot.... ginete kai sto dot?

 

dld an kanw afto 8a ginete sta weapon h hero na to kanoune +?

 

Ginete se ola ta packs.

 

Arkei na to exeis kanei compile.

  • 0
Posted

mipos mporite na m pite pos mporo na kanw sta hero weapon na ginonte +??

 

opos kai na to bazoune oli h chars ta herw weapon.....

 

topedi gia to enchant m ipe alla den to briskw exw l2jdot....

  • 0
Posted

1) Δεν ξερείς τον Χριστό σου και πας να ανοίξεις server?

2) Πρεπεί να φτιάξεις δικά σου weapons με την μορφή των heros, δεν νομίζω οτι θα το κάνεις και ετοιμό τετοιό share δεν υπάρχει

 

 

Υ.Γ: Μου αρέσει που θέλεις να λεγεσαί και developer...............

  • 0
Posted

an 3erw ton xristo m p les den 8a ixa 80 atoma  gt den 3erw kapia pragmata den simeni afto  aposena pantos 8a eimai kaliteros file m an kai 1 m server sigoura

 

kai tin epomeni fora milas kai kalitera...

 

ektos aftou weapon exw aplos na ta ftia3w gia na ta pernoune h chars oli kai enchat 8elw ....tespa

  • 0
Posted

file ama 8eleis compile gia na kaneis ench  ta hero weapons oriste

 

Index: /trunk/L2JHardCode_GameServer/java/config/L2JHardCode-Custom.properties
===================================================================
--- /trunk/L2JHardCode_GameServer/java/config/L2JHardCode-Custom.properties (revision 153)
+++ /trunk/L2JHardCode_GameServer/java/config/L2JHardCode-Custom.properties (revision 164)
@@ -39,4 +39,8 @@
CastleCircletsRestriction = True

+# This will allow enchanting hero weapons 
+# Default: False 
+EnchantHeroWeapons = False
+ 	
#--------------------------------------------------------------- 
# HardCode Other Configurations                            	   - 
Index: /trunk/L2JHardCode_GameServer/java/net/sf/l2j/Config.java
===================================================================
--- /trunk/L2JHardCode_GameServer/java/net/sf/l2j/Config.java (revision 163)
+++ /trunk/L2JHardCode_GameServer/java/net/sf/l2j/Config.java (revision 164)
@@ -894,4 +894,5 @@
  	public static boolean	CASTLE_CROWN;
  	public static boolean	CASTLE_CIRCLETS;
+    public static boolean 	ENCHANT_HERO_WEAPONS;
  	public static boolean   ALLOW_L2WALKER_PROTECTION;
  	public static boolean	BANKING_SYSTEM_ENABLED;
@@ -955,5 +956,5 @@
	public static int		ALT_SOUL_CRYSTAL_BREAK_CHANCE;
	public static int		ALT_SOUL_CRYSTAL_LEVEL_CHANCE;
-	public static boolean		ALLOW_TRADEOFF_VOICE_COMMAND;	
+	public static boolean	ALLOW_TRADEOFF_VOICE_COMMAND;	
  	/** L2JHardCode Custom - End */

@@ -2058,5 +2059,6 @@
              	CASTLE_CROWN                           = Boolean.parseBoolean(L2JHardCodeCustom.getProperty("CastleLordsCrownRestriction", "true")); 
              	CASTLE_CIRCLETS                        = Boolean.parseBoolean(L2JHardCodeCustom.getProperty("CastleCircletsRestriction", "true"));                
-                ALLOW_L2WALKER_PROTECTION              = Boolean.parseBoolean(L2JHardCodeCustom.getProperty("L2WalkerProtection", "False"));  
+                ENCHANT_HERO_WEAPONS 				   = Boolean.parseBoolean(L2JHardCodeCustom.getProperty("EnchantHeroWeapons", "False")); 
+             	ALLOW_L2WALKER_PROTECTION              = Boolean.parseBoolean(L2JHardCodeCustom.getProperty("L2WalkerProtection", "False"));  
                 BANKING_SYSTEM_ENABLED	               = Boolean.parseBoolean(L2JHardCodeCustom.getProperty("BankingEnabled", "false"));
                 BANKING_SYSTEM_GOLDBARS    	           = Integer.parseInt(L2JHardCodeCustom.getProperty("BankingGoldbarCount", "1"));
Index: /trunk/L2JHardCode_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
===================================================================
--- /trunk/L2JHardCode_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java (revision 162)
+++ /trunk/L2JHardCode_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java (revision 164)
@@ -70,5 +70,5 @@
          // can't enchant rods, hero weapons and shadow items
         if(item.getItem().getItemType() == L2WeaponType.ROD
-        		|| item.getItemId() >= 6611 && item.getItemId() <= 6621
+        		|| item.getItemId() >= 6611 && item.getItemId() <= 6621 && Config.ENCHANT_HERO_WEAPONS 
         		|| item.isShadowItem())
         {
@@ -76,4 +76,5 @@
             return;
         }
+    
         if(item.isWear())
         {

  • 0
Posted

an 3erw ton xristo m p les den 8a ixa 80 atoma  gt den 3erw kapia pragmata den simeni afto  aposena pantos 8a eimai kaliteros file m an kai 1 m server sigoura

 

kai tin epomeni fora milas kai kalitera...

 

ektos aftou weapon exw aplos na ta ftia3w gia na ta pernoune h chars oli kai enchat 8elw ....tespa

Ρε φιλαρακό εχείς server με pre-pack, ουτε που ξερείς τι ειναί το compile τι πας να μου την πεις τώρα... τεσπα σταματαώ εδώ.

  • 0
Posted

kala 8a kanis :D

 

kai thx Imortal  ta katafera!!!

Locked.Pisteuo na lu8hke to problem s allios pm me na to unlock.

Guest
This topic is now closed to further replies.


  • Posts

    • I had friends who played on Elegant and I can confirm it wasn't a bad server. I don't know about the AI bots running around, but in my opinion the price is simply too high. I don't think many people will spend that much money on Lineage 2 files when alternatives like L2Scripts already exist.   Of course it's all about personal preference, but for such an old chronicle the price seems ridiculously expensive. Modern chronicles usually offer more value.   Anyway, I wish you the best of luck with the sale. This is just my personal opinion. Whoever likes it, good for them, and whoever doesn't, that's fine too. Everyone has different preferences.
    • https://l2avokado.com/ Hello everyone,   After some time of development, we've decided to open L2Avokado to the public in its current development stage. We're looking for players who enjoy Interlude and would like to help shape the project before its official release.   This isn't a "launch" announcement. Instead, we're inviting the community to log in, explore the server, test the systems we've built, and provide honest feedback. Whether it's bug reports, balance suggestions, progression ideas, or quality-of-life improvements, we'd love to hear them.   Our goal has always been to create an Interlude server that feels familiar while offering a fresh progression experience. We've intentionally avoided custom weapons, armor, and client modifications. Instead, we've focused on redesigning progression through reworked hunting grounds, quests, crafting, and gameplay systems while remaining compatible with a clean Interlude client.   At this stage, the core progression path has been implemented, including the main hunting grounds, quests, custom systems, and events. However, as the project is still under active development, there will inevitably be bugs, balance issues, and areas that require further polishing.   This is exactly why we'd like your help.   We're looking for players who are willing to: Test gameplay and progression. Report bugs and exploits. Suggest balance improvements. Share ideas for new features or quality-of-life changes. Help us build a server that the community genuinely enjoys playing.   The Client and System downloads are already available on our website, so you can jump straight into the game. We're also working on a dedicated launcher that will simplify installation and future updates.   If you're interested in helping develop a unique Interlude project and want your feedback to genuinely influence the direction of the server, we'd love to have you with us.   We look forward to seeing you in-game and hearing your thoughts on Discord. https://l2avokado.com/
    • Mate your server used to play with full of bots, from where you find that revenue? 
  • 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..