Jump to content
  • 0

[help]multisell


Mit-sos

Question

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!!!

Link to comment
Share on other sites

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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!!!

Link to comment
Share on other sites

  • 0

τα ιτεμς σου έχουν μεγάλο νούμερα για 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)

 

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

Link to comment
Share on other sites

  • 0

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

 

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

Link to comment
Share on other sites

  • 0

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!!!

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Help plz i have this error   Has anyone had this happen to you? How do I solve it?  
    • ??? error   https://ibb.co/Srn4LsX No support  :S   No support : S ? :S @Lowness  ..... error, help   hey friend were you able to solve the problem? were you able to solve the problem?
    • I also think this feature would bring more harm than good... another example is a dwarf rushing against your mobs so he takes priority, then he plays fake death and proceeds to grief the shit out of you. A minimum damage threshold is necessary, which would basically converge to what is the default feature (i.e. biggest damage dealer)
    • I bought the premium to watch the video and it's private. 😢
    • For some Majestic reason OP can't edit their topics anymore?    Let me update the potential offers, I got up to 2 spots to fill.   CONTACT TELEGRAM ONLY: https://t.me/asupport_g1     A credible team that SGuard represents is looking for java developers.    These positions is full time only i.e. your time is mostly dedicated within the team and team tasks, side gigs are fine, as long as you are able to combine your gig and main.  All necessary tools are provided.  The team is consistent with > 10 team members and the team is looking to expand to meet various goals. A decent Lineage 2 Essense OR Main (GOD) knowledge is needed.  Experience with l2r/l2p/l2s. mobius is fine too for referrence only. The team is friendly and goal oriented, very active and resourceful.   Requirements are standard, java knowledge is optional.  Multi language is a plus but not necessary (English/Russian), any is accepted.   Terms and conditions including compensation are reasonable and considered to be up for the industry standards. Details are negotiable with suitable candidates.   You will need to have a headset and a mic just for the initial processing, there're no team meetings or conferences after that. There's a small 30min interview process to demonstrate knowledge and just to meet each other.   The team has decided it is in their best interest to not publish their information at this time. Details will be available only for suitable candidates.   CONTACT TELEGRAM ONLY: https://t.me/asupport_g1
  • Topics

×
×
  • Create New...