Jump to content
  • 0

Extended Equipment Viewer - WEAPON COSTUME INDEX ?


Shahin

Question

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.

ZavVFWm.png

costumeequipmentdialog.py :

Spoiler
									"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 :

Spoiler
							"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 :

Spoiler
	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

Link to post

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 post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Activity

    1. 0

      Sash bug +19% absorb

    2. 1

      TRANSMUTATION WITH BLESSING SCROLL AND MAGIC STONE 100%

    3. 1

      [HowTo] The "hello world" of metin2

    4. 1

      TRANSMUTATION WITH BLESSING SCROLL AND MAGIC STONE 100%

    5. 0

      Sash absorb bug

    6. 0

      Debug DB vanilla Core

    7. 0

      Give item after kill monster [c++]

    8. 6

      Current Peer host names...

  • Recently Browsing

    No registered users viewing this page.

Shoutbox

Shoutbox

Chatroom Rules

 

Join our Discord

A request for help = Shoutbox Ban

Be respectful & Respect the rules

 

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