Jump to content
  • 0

[Help]Kapoios na dei


Question

Posted

Geia sas paidia 8elw na ma8w pws kanoun

sto gm shop na agorazoun etoima xomena opla

px +10 etoimo xomeno !!kserei kaneis plz an mporei na mou pei!!!!!!!!

6 answers to this question

Recommended Posts

  • 0
Posted

1.Index: /trunk/Gameserver/java/com/l2jserver/gameserver/network/serverpackets/MultiSellList.java
2.===================================================================
3.--- /trunk/Gameserver/java/com/l2jserver/gameserver/network/serverpackets/MultiSellList.java (revision 24)
4.+++ /trunk/Gameserver/java/com/l2jserver/gameserver/network/serverpackets/MultiSellList.java (revision 71)
5.@@ -119,5 +119,5 @@
6.                else
7.                {
8.-                   writeH(0x00); // enchant level
9.+                   writeH(ing.getEnchantLevel()); // enchant level
10.                    writeD(0x00); // augment id
11.                    writeD(0x00); // mana
12.@@ -154,5 +154,5 @@
13.                else
14.                {
15.-                   writeH(0x00); // enchant level
16.+                   writeH(ing.getEnchantLevel()); // enchant level
17.                    writeD(0x00); // augment id
18.                    writeD(0x00); // mana
19.Index: /trunk/Gameserver/java/com/l2jserver/gameserver/model/multisell/PreparedEntry.java
20.===================================================================
21.--- /trunk/Gameserver/java/com/l2jserver/gameserver/model/multisell/PreparedEntry.java (revision 24)
22.+++ /trunk/Gameserver/java/com/l2jserver/gameserver/model/multisell/PreparedEntry.java (revision 71)
23.@@ -72,5 +72,5 @@
24.        adenaAmount += _taxAmount; // do not forget tax
25.        if (adenaAmount > 0)
26.-           _ingredients.add(new Ingredient(ADENA_ID, adenaAmount, false, false));
27.+           _ingredients.add(new Ingredient(ADENA_ID, adenaAmount,0, false, false));
28.        
29.        // now copy products
30.Index: /trunk/Gameserver/java/com/l2jserver/gameserver/model/multisell/Ingredient.java
31.===================================================================
32.--- /trunk/Gameserver/java/com/l2jserver/gameserver/model/multisell/Ingredient.java (revision 24)
33.+++ /trunk/Gameserver/java/com/l2jserver/gameserver/model/multisell/Ingredient.java (revision 71)
34.@@ -30,4 +30,5 @@
35.    private int _itemId;
36.    private long _itemCount;
37.+    private int _EnchantmentLevel;
38.    private boolean _isTaxIngredient, _maintainIngredient;
39.    
40.@@ -35,8 +36,9 @@
41.    private ItemInfo _itemInfo = null;
42.    
43.-   public Ingredient(int itemId, long itemCount, boolean isTaxIngredient, boolean maintainIngredient)
44.+   public Ingredient(int itemId, long itemCount,int EnchantmentLevel, boolean isTaxIngredient, boolean maintainIngredient)
45.    {
46.        _itemId = itemId;
47.        _itemCount = itemCount;
48.+       _EnchantmentLevel = EnchantmentLevel;
49.        _isTaxIngredient = isTaxIngredient;
50.        _maintainIngredient = maintainIngredient;
51.@@ -80,5 +82,5 @@
52.    public final int getEnchantLevel()
53.    {
54.-       return _itemInfo != null ? _itemInfo.getEnchantLevel() : 0;
55.+            return _itemInfo == null?_EnchantmentLevel:_itemInfo.getEnchantLevel();
56.    }
57.    
58.Index: /trunk/Gameserver/java/com/l2jserver/gameserver/datatables/MultiSell.java
59.===================================================================
60.--- /trunk/Gameserver/java/com/l2jserver/gameserver/datatables/MultiSell.java (revision 52)
61.+++ /trunk/Gameserver/java/com/l2jserver/gameserver/datatables/MultiSell.java (revision 71)
62.@@ -270,4 +270,8 @@
63.            if ("ingredient".equalsIgnoreCase(n.getNodeName()))
64.            {
65.+               int enchantmentLevel = 0;
66.+               if (n.getAttributes().getNamedItem("enchantmentLevel") != null)
67.+               enchantmentLevel = Integer.parseInt(n.getAttributes().getNamedItem("enchantmentLevel").getNodeValue());
68.+               
69.                int id = Integer.parseInt(n.getAttributes().getNamedItem("id").getNodeValue());
70.                long count = Long.parseLong(n.getAttributes().getNamedItem("count").getNodeValue());
71.@@ -286,12 +290,16 @@
72.                    mantainIngredient = false;
73.                
74.-               entry.addIngredient(new Ingredient(id, count, isTaxIngredient, mantainIngredient));
75.+               entry.addIngredient(new Ingredient(id, count, enchantmentLevel, isTaxIngredient, mantainIngredient));
76.            }
77.            else if ("production".equalsIgnoreCase(n.getNodeName()))
78.            {
79.+               int enchantmentLevel = 0;
80.+               if (n.getAttributes().getNamedItem("enchantmentLevel") != null)
81.+               enchantmentLevel = Integer.parseInt(n.getAttributes().getNamedItem("enchantmentLevel").getNodeValue());
82.+               
83.                int id = Integer.parseInt(n.getAttributes().getNamedItem("id").getNodeValue());
84.                long count = Long.parseLong(n.getAttributes().getNamedItem("count").getNodeValue());
85.                
86.-               entry.addProduct(new Ingredient(id, count, false, false));
87.+               entry.addProduct(new Ingredient(id, count, enchantmentLevel, false, false));
88.            }
89.        }
90. 

 

kai to multisell

 

1.<?xml version='1.0' encoding='utf-8'?>
2. 
3. 
4.<list maintainEnchantment="true">
5. 
6.  
7.  <item id="1">
8.  <ingredient id="57" count="10"/>
9.  <production id="7874" count="1" enchantmentLevel="16"/>
10.  </item>
11. 
12.</list>

Guest
This topic is now closed to further replies.


  • Posts

    • whats password from the archivie ?
    • All that shit are false positives of the vanganth cliext, sources are well and who sell it is a big scammer
    • Information Selling a premium Lineage 2 High Five (L2J) project with active development, available by subscription. Includes Git support and access to compiled or full source code. Ideal for serious server owners seeking stability and performance, uniqueness and well-done features.   General Project Specifications: JDK Version: 23 -> 24 Chronicle: HighFive Structure: Core & Datapack merged into a single project Database: MariaDB Database Driver: HicariCP GIT Website: gitlab.com   Features include (but are not limited to):   1. Tournament Single & Party (Check Youtube Video) 2. Faction (Check Youtube Video) 3. Event Engine (Check Youtube Video) 4. Sell Buff System (Check Youtube Video) 5. Start UP System (Check Youtube Video) 6. User Panel 7. Visual - Dress me System 8. Donate Store 9. Automatic Farm System (Check Youtube Video) 10. Captcha (Anti-BOT) (Check Youtube Video) 11. Auction (Check Youtube Video) 12. Vote (API) 13. Admin Real Time Balance (Check Youtube Video) 14. Achievements (Check Youtube Video) 15. Daily Mission (Check Youtube Video) 16. A.I. Bot (Check Youtube Video) 17. Rebirth 18. Daily Reward  19. Skill Tree - Ability System 20. Craft System 21. Twitch Automatic Reward (Check Youtube Video) 22. Quiz Game (Check Youtube Video) 23. Automatic Item Enchant (Check Youtube Video) 24. Secondary Auth Using Google Authenticator (Check Youtube Video) 25. Gm Shop - Gatekeeper - Scheme Buffer   How to get Access (Payment Subscription): To get Access you either pay monthly subscription to GIT for source or Compiled. Project is currently active and has at least 1-2 commit / day.  Clients in both Compiled & Source subscription can request features or any addon in already existing mods inside discord.   Price per Month (Source) in GIT: 250 Eur Price per Month (Compiled) in GIT: 100 Eur   Contact: To get Access or ask further information join discord  https://discord.gg/gKAsAhJNuq      
    • We're officially closing the current season today. While we focus on refining the Essence project, our resources will temporarily shift toward supporting the Classic server.
  • Topics

×
×
  • Create New...