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

    • Tool that allows you to download the Lineage 2 game client directly from the official publisher CDNs. It fetches the CDN's file list and downloads every patch file, decompresses it (LZMA / Zip) and writes the finished client to disk — and can resume or repair an existing installation instead of starting over. It runs several client downloads at once through a batch queue, so you can prepare multiple regions or versions in a single session.   Supported: NCSoft CDNs (TW / KR / JP / NA) and  4game CDNs(RU / EU)   Download: https://drive.google.com/file/d/11SDcNASqO2GKOBT79LFu7mqvSRSJZvBS
    • 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/
  • 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..