Jump to content
  • 0

[help]multisell


Question

Posted

exw ena provlima!!! Lipon pou lete exw ftiaksi ena special shop gia tn server mou k se kapia item otan paw na ta agorasw m dixni mavri ikona ala mporw na ta agorasw kanonika kai oute trow critical error otan anigo to multisell!!! exw akousi oti gia na to fix afto einai enas java code p prepi na perasw!!! isxi??? kai an nai mporite na mou pite pios!!! gt epsaksa k den mporw na vrw kati, 8a ksanapsaksw ala an kserete pios code einai pesteto mou!!! thx!!!

Recommended Posts

  • 0
Posted

exw ena provlima!!! Lipon pou lete exw ftiaksi ena special shop gia tn server mou k se kapia item otan paw na ta agorasw m dixni mavri ikona ala mporw na ta agorasw kanonika kai oute trow critical error otan anigo to multisell!!! exw akousi oti gia na to fix afto einai enas java code p prepi na perasw!!! isxi??? kai an nai mporite na mou pite pios!!! gt epsaksa k den mporw na vrw kati, 8a ksanapsaksw ala an kserete pios code einai pesteto mou!!! thx!!!

 

vlakies einai ayta... pes m kati, einai custom item auto p perases? ean oxi pes mou ti einai.

  • 0
Posted

Lipon magkes einai custom item!!! kai to multisell einai:

 

<list>
<item id='1'>
<production id='99886' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='2'>
<production id='99883' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='3'>
<production id='99885' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='4'>
<production id='99888' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='5'>
<production id='99882' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='6'>
<production id='99891' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='7'>
<production id='9918' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='8'>
<production id='99890' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='9'>
<production id='31225' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='10'>
<production id='99889' count='1'/> 
<ingredient id='57' count='1'/>
</item>
<item id='11'>
<production id='99896' count='1'/> 
<ingredient id='57' count='1'/>
</item>
</list>

 

afto!!!

  • 0
Posted

τα ιτεμς σου έχουν μεγάλο νούμερα για ID,ίσως αυτό προκαλεί εν μέρη το error.

 

java/net/sf/l2j/gameserver/network/serverpackets/MultiSellList.java
@@ -91,8 +91,8 @@
                 for(MultiSellIngredient i : ent.getIngredients())
                 {
                 	int items = i.getItemId();
-                	int typeE = 65535;
-                	if (items != 65336)
+                	int typeE = 500000;
+                	if (items != 500000)
                 		typeE = ItemTable.getInstance().getTemplate(i.getItemId()).getType2();
                     writeH(items);      //ID
                     writeH(typeE);


java/net/sf/l2j/gameserver/network/clientpackets/MultiSellChoose.java
@@ -166,7 +166,7 @@
                 _ingredientsList = null;
                 return;
             }
-            if(e.getItemId() !=65336)
+            if(e.getItemId() !=500000)
             {
	            // if this is not a list that maintains enchantment, check the count of all items that have the given id.
	            // otherwise, check only the count of items with exactly the needed enchantment level
@@ -205,7 +205,7 @@

     	for(MultiSellIngredient e : entry.getIngredients())
     	{
-			if(e.getItemId()!=65336)
+			if(e.getItemId()!=500000)
			{
				L2ItemInstance itemToTake = inv.getItemByItemId(e.getItemId());		// initialize and initial guess for the item to take.
				if (itemToTake == null)

 

δες το και πες μου

  • 0
Posted

Απο την στιγμη που δεν εχεις κανενα error τοτε το προβλημα βρισκεται στο client και οχι στον σερβερ.

 

Παρε ενα αλλο system και ξαναπέρνα τα custom.

  • 0
Posted

oxi!!!

 

NPC.a_casino_FDarkElf exw... Kai exw vali ta html sto default fakelo!!!

 

kai to npc exi kai ala multisell kai html k ola doulevoun ektos apo afto!!!

m fanike kai emena poli pi8ano na einai apo ta tous polous ari8mous gt sto 9918 fenete to ikonidio ala den iksera ti na kanw!!!! perasa omos ton code omos k den egine tpt!!! iparxi periptosi na einai apo ta item??? pantos sto inventore fenonte mia xara!!!

  • 0
Posted

Ισως τα id που εχουν ειναι πολυ μεγαλα ή τα textures ειναι προβληματικά.

Guest
This topic is now closed to further replies.


  • Posts

    • Website: https://l2aurum.com/ Discord: https://discord.gg/ngaD9DJRjE   Dear Players, We are excited to announce that the x300 Summer Season Beta server will open on 19‑06‑2026 at 20:00 GMT+2. As previously mentioned, there will be no wipe and no account deletion. All accounts, characters, items, and progress from Season 1 will remain completely safe. To ensure a fair and competitive start for new players, all Season 1 accounts will be temporarily locked. The official Summer Season launch will take place on 26‑06‑2026 at 20:00 GMT+2. A few weeks after the official launch, Season 1 accounts will be unlocked so previous players can access their characters and continue their journey. This approach allows new players to enjoy a fresh start while preserving the progress and achievements of our long-term community. Thank you for your continued support, and we look forward to welcoming everyone to the new Summer Season. L2Aurum Team   Explore L2 Aurum Features Discover the Enhancements that set us apart!   Information Server Version: Interlude - PvP Server Client Interface: Unique Interface   Rates     Additional Features and changes When you create a new character, you will start in Giran Harbor at Level 1, equipped with full No-Grade items. Auto Farm is available for free for 2 hour daily without VIP. VIP players receive 4 hours of Auto Farm per day. The Auto Farm time resets with the server restart at 5:30 AM. Status Noblesse: Last hit Barakiel. Player Spawn Protection: 7 seconds. Geodata + Pathnodes: Enabled. All commands are available in the Community Board. Maximum 3 Bishops Per Party: Enabled. Boss Protect - Anti-Zerg: Enabled. Shift + click on monsters to see the droplist. Offline shop. Mana Potion Restores 1000 MP with a cooldown of 8 seconds. Inventory Slots: 250.   Weapon Information Lv1 Black Chaotic Weapons. Lv2 Aurum Weapons.   Armor Information Lv1 Blue Apella Armor. Lv2 Aurum Apella Armor. Misc additions Accessories +50 and +150 pdef|mdef. Tattoos: Resolve | Soul | Avadon. Agathions: Cosmetic only (no stats).   Buffs / Dances / Songs / Prophecies Duration: 2 hours. Total Buff Slots: 32 + 4 (Divine Inspiration). Vote Buff: You must vote on 3 of 6 vote sites to get the vote buff blessing. Castle Reward Every clan that captures a castle receives the castle owner clan blessing buff. To receive it, the clan leader must be online.   Events   Raid Bosses Epic Bosses Final Bosses     For full server information please visit website PvP: Server Features   Website: https://l2aurum.com/ Discord: https://discord.gg/ngaD9DJRjE      
  • 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..