Jump to content

stackable Stone bug


Recommended Posts

  • Premium

After i add stackable Stones in Gaya System i got this bug:  https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

Any help in here please?

Function()  remove all pack instead of only one stone. 

Spoiler

def RefreshSlot(self,refresh = False):
		getItemVNum,getItemCount,setItemVNum=player.GetItemIndex,player.GetItemCount,self.itemSlot.SetItemSlot

		if not refresh:
			for i in xrange(player.INVENTORY_PAGE_SIZE*3):
				slotNumber = i
				itemVNum = getItemVNum(slotNumber)

				if 0 == itemVNum or not item.IsMetin(itemVNum):
					continue

				itemGrade = self.CheckGradeStone(item.GetItemName())
				if itemGrade > "3":
					continue

				#if itemVNum != 50926:
				#	continue

				self.slot_inventario.append(i)
				self.slot_gui.append(self.slotPos)

				self.slotPos += 1
				if self.slotPos > 54:
					break

		itemCount = len(self.slot_inventario)
		if itemCount < 15:
			self.SetTableSize(3)

		else:
			lineCount = 3
			lineCount += (itemCount - 15) / 5
			if itemCount % 5:
				lineCount += 1
			self.SetTableSize(lineCount)

		count = 0
		for inventoryPos in self.slot_inventario:
			itemVNum = getItemVNum(inventoryPos)
			itemCount = getItemCount(inventoryPos)

			if itemCount <= 1:
				itemCount = 0

			setItemVNum(count, itemVNum, itemCount)
			count += 1
	
		self.itemSlot.RefreshSlot()
		if refresh:
			self.tooltipItem.Hide()

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
if pc.get_sex() == true and npc.get_sex() == false then
	npc.purge()
end

 

Link to comment
Share on other sites

  • Premium
1 minute ago, WLsj24 said:

If you bought it from @felipeard1, then he will help you without problems

I bought for other guy in other forum. And he dont support because he say "the system i sell to you is working" 

And he have right. Cuz system is working nice... But not with stack stones 

if pc.get_sex() == true and npc.get_sex() == false then
	npc.purge()
end

 

Link to comment
Share on other sites

  • Premium
3 hours ago, WLsj24 said:

The original system is from WorldArd, simply someone resold it to you.
I would like to help you, but I can't because it is against my policies to do so, I also believe that the rules of the forum are also prohibited.
Im sorry :(

It's hard to know if someone is reseller or not ?  Many players sell same system. Close the topic please!

if pc.get_sex() == true and npc.get_sex() == false then
	npc.purge()
end

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.