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

    • Mate your server used to play with full of bots, from where you find that revenue? 
    • IAM one of customers of this project. Have anti cheat, have user panel everything is working. Blocking adrenaline trashy plans without any problems.  So just GL for all lin2 project. I get support every time I need it. 
    • Convert package formats from Old to New in one click Create new packages of any format Lineage2Ver121 encryption (included in the package) Safe editing: work in a copy, full undo history (Ctrl+Z / Ctrl+Shift+Z), single "Save" button System integration Open .utx / .ugx files with a single click in Explorer (associations are registered during installation) One example: open a file and add its tab to an existing window Multilingual interface (EN, RU, UK, ES, PT, EL, KO, VI, ZH) — the language is picked up from the system Supported formats Packages: UTX, UGX Textures: RGBA8, DXT1, DXT3, DXT5, G16, P8 Resources: GFX (Scaleform) Requirements Windows. Java is not required—it's included in the build. Installation Run La2Tools-3.0.2.exe—the installer will create shortcuts and register related files. Alternatively, use the portable version. https://la2.tools/files/La2Tools_3.0.3_setup.exe   https://la2.tools/files/La2Tools_3.0.3_portable.zip  - Portable version  
    • WHEN SAYING “YES” IS A MISTAKE Not every project is worth taking on, even if the client is ready to pay. Sometimes refusing isn’t about losing money — it’s about protecting your reputation and time. Over the years, we’ve learned to quickly spot the cases that are almost guaranteed to turn into problems. Here are the most common situations where we turn down work: ▪ The client wants it “like everyone else’s,” but with lots of custom changes and on a minimal budget ▪ There are no proper source materials, yet the deadlines are already burning and everything is needed “yesterday” ▪ Constant changes to requirements after the work has already started ▪ A task with a very low chance of success, but very high expectations ▪ The client isn’t willing to discuss the process and sees us as just an executor - A good result almost always starts when both sides have an honest understanding of the risks and real possibilities of the project. If you’re currently discussing a project and unsure whether to move forward — write to us. We’ll honestly and directly tell you whether it’s worth taking on or if it’s better to look for another solution. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documents #drawing #photoshop #refuse #cases
    • The price reflects the value of the project, not just the source files. This is a complete, production-ready server that has already proven itself over the course of a full year, with a loyal player base and no major issues requiring ongoing development. To put it into perspective, the asking price is approximately what the server generated in one year. You're not buying an unfinished pack that still needs months of work, you're buying a polished, fully tested, revenue-proven project that's ready to go online. Considering that, I believe €35000 is a fair price.
  • 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..