Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

  • 0

Rubinum inventory item doesn't shown



Hello people. I added a new equipment item to the game but i planned to add this item to the third page of rubinum inventory.

When i try to put the item to the third page it doesn't show up but when i put the item to the first page i am be able to see it. There is an example of it. 

As you can see there is a slot but i don't see the item. But when i put the item slot to the first inventory i can see it.

It is probably about this code 

I would really appreciate if you can help me.



	def RefreshEquipSlotWindow(self):
		for i in xrange(player.EQUIPMENT_PAGE_COUNT):
			slotNumber = player.EQUIPMENT_SLOT_START + i
			itemCount = getItemCount(slotNumber)
			if itemCount <= 1:
				itemCount = 0
			setItemVNum(slotNumber, getItemVNum(slotNumber), itemCount)
			self.wndEquip.SetItemSlot(item.EQUIPMENT_BELT, getItemVNum(item.EQUIPMENT_BELT), 0)
			#self.wndEquip.SetItemSlot(item.EQUIPMENT_TALISMAN, getItemVNum(item.EQUIPMENT_TALISMAN), 0)
			self.wndEquip.SetItemSlot(item.EQUIPMENT_GLOVE, getItemVNum(item.EQUIPMENT_GLOVE), 0)
			self.wndEquip.SetItemSlot(item.EQUIPMENT_ETILSIM, getItemVNum(item.EQUIPMENT_ETILSIM), 0) ## The item i am trying to add.
		for i in xrange(item.COSTUME_SLOT_COUNT):
			slotNumber = item.COSTUME_SLOT_START + i
			self.wndCostume.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0)
				self.wndCostume.SetItemSlot(item.COSTUME_SLOT_WEAPON, getItemVNum(item.COSTUME_SLOT_WEAPON), 0)
				self.wndEquip.SetItemSlot(item.EQUIPMENT_ETILSIM, getItemVNum(item.EQUIPMENT_ETILSIM), 0)
			self.wndEquip.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0)
			for i in xrange(player.NEW_EQUIPMENT_SLOT_COUNT):
				slotNumber = player.NEW_EQUIPMENT_SLOT_START + i
				itemCount = getItemCount(slotNumber)
				if itemCount <= 1:
					itemCount = 0
				self.wndSecondary.SetItemSlot(slotNumber, getItemVNum(slotNumber), itemCount)
				print "ENABLE_NEW_EQUIPMENT_SYSTEM", slotNumber, itemCount, getItemVNum(slotNumber)



Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 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.