Jump to content
  • 0

Extended Equipment Viewer - WEAPON COSTUME INDEX ?



After this release: 

Everything works good until Weapon_Costume Slot starts to mess with me... I don't know it's Index Slot.

I have assigned the slot dimensions, everything is good to go until the index.


costumeequipmentdialog.py :

									"slot" : (
										{"index":11, "x":62, "y":45, "width":32, "height":64},
										{"index":12, "x":62, "y": 9, "width":32, "height":32},
										{"index":13, "x":13, "y": 126, "width":32, "height":32},
										{"index":14, "x":62, "y": 126, "width":32, "height":32},
										##{"index": , "x":13, "y": 13, "width":32, "height":96},
                                      ##slots used until now. Here i have to add the weapon costume slot number


costumewindow.py :

							"slot" : (
											{"index":COSTUME_START_INDEX+0, "x":62, "y":45, "width":32, "height":64},#¸ö
											{"index":COSTUME_START_INDEX+1, "x":62, "y": 9, "width":32, "height":32},#¸Ó¸®
											{"index":COSTUME_START_INDEX+2, "x":13, "y":126, "width":32, "height":32},#¸¶¿îÆ®
											{"index":COSTUME_START_INDEX+3, "x":62, "y":126, "width":32, "height":32},#¾Ç¼¼¼­¸®
											{"index":item.COSTUME_SLOT_WEAPON, "x":13, "y":13, "width":32, "height":96},#¹«±â


uiequipmentdialog.py :

	def RefreshSlot(self):
		equipmentDict = self.wndEquipment.itemDataDict
		for i in [11,12,13,14]: ##slots used until now. Here i have to add the weapon costume slot number
			if equipmentDict.has_key(i):
				self.wndCostumeEquipmentSlot.SetItemSlot(i, equipmentDict[i][0], equipmentDict[i][1])



Slot 15 is Belt. From 16 to 24 there is nothing (already tested those indexes) 


Hope you guys have this implemented to have an idea..

Thank you

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

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

There are many ways on how to find out the weapon index. Without much knowledge I'd recommend you to just print out the slot index once your mouse hovers over the weapon slot index. You can easily do that in python.

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

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

  • Activity

    1. 5
    2. 5

      Zodiac Roulette (Aeldra event concept)

    3. 0

      I am looking for a team for PVP Server!

    4. 0

      How about get quest flag from binary??

    5. 5

      Zodiac Roulette (Aeldra event concept)

    6. 5

      Zodiac Roulette (Aeldra event concept)

    7. 5

      Zodiac Roulette (Aeldra event concept)

    8. 12

      REAL_TIME_FIRST_USE items not being expired in the safe-box

  • Recently Browsing

    • No registered users viewing this page.
  • 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.