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.


×
×
  • Create New...