Jump to content

Refine Item Description


Recommended Posts

  • Forum Moderator

M2 Download Center

This is the hidden content, please
( Internal )

 

Spoiler

263356e98cc8a56a717c1fcd7b6326e438977e.g

 

  • root/uiRefine.py

This is the hidden content, please

  • root/constInfo.py
Spoiler
# Showing description of item in refine window.
ENABLE_REFINE_ITEM_DESCRIPTION = 1

 

Another idea: (you don't have to use this, is just a example, can add in tooltip where you can drop items which you need, you can add a listbox+scrollbar and send drops from server and cache it in dictionary.)

 

Spoiler

263422qniZdab.png.c37eb8795af224c0094f86

 

This is the hidden content, please

Edited by VegaS™
unk3
  • Metin2 Dev 125
  • Eyes 2
  • Dislove 1
  • Angry 1
  • Not Good 1
  • Smile Tear 1
  • Good 24
  • Love 4
  • Love 79
Link to comment
Share on other sites

  • Active Member

1116 02:42:28891 :: Traceback (most recent call last):

1116 02:42:28891 ::   File "ui.py", line 1558, in OnOverInItem

1116 02:42:28892 ::   File "ui.py", line 136, in __call__

1116 02:42:28892 ::   File "ui.py", line 127, in __call__

1116 02:42:28892 ::   File "uiRefine.py", line 362, in OverInItem

1116 02:42:28893 :: TypeError
1116 02:42:28893 :: : 
1116 02:42:28893 :: AddItemData() takes at most 6 arguments (7 given)
1116 02:42:28893 :: 

 

Spoiler

https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

 

 

Edited by Metin2 Dev
Core X - External 2 Internal

I'll be always helpful! 👊 

Link to comment
Share on other sites

hace 3 horas, ReFresh dijo:

1116 02:42:28891 :: Traceback (most recent call last):

1116 02:42:28891 ::   File "ui.py", line 1558, in OnOverInItem

1116 02:42:28892 ::   File "ui.py", line 136, in __call__

1116 02:42:28892 ::   File "ui.py", line 127, in __call__

1116 02:42:28892 ::   File "uiRefine.py", line 362, in OverInItem

1116 02:42:28893 :: TypeError
1116 02:42:28893 :: : 
1116 02:42:28893 :: AddItemData() takes at most 6 arguments (7 given)
1116 02:42:28893 :: 

 

  Hide contents


https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

 

 

In:

self.tooltipItem.AddItemData(TOOLTIP_DATA['materials'].__getitem__(slotIndex), 0, 0, 0, 0, player.INVENTORY)

## OR

self.tooltipItem.AddItemData(slotVnum, 0, 0, 0, 0, player.INVENTORY)

Delete player.INVENTORY and try again.

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

  • 1 year later...
  • 1 year later...
On 3/13/2020 at 3:51 PM, SafariXD said:

 fbf7a401f1a1f81c585e9b5b6c8ee28f.gif

I tried this 

Can someone give me a hand?

2e27d2989c71608b92a32f551b4bee63.png

i want like that

Same issue. I did the tutorial a few times with utmost care. Syserr is clean.

 

EDIT: FIXED, ISSUE WAS MACRO DECLARATION IN CONSTINFO.PY WAS NOT READ PROPERLY. TRY ADDING IT AMONG FIRST DECLARATIONS.

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

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 2

      wait() function bug

    2. 0

      Remove Party Role Bonuses

    3. 1

      Fix CBar3D

    4. 1

      set_quest_state not working

    5. 1

      Fix CBar3D

    6. 1

      Game Source Code - where to call void methods to spawn mobs, move mobs and others - in game source side -?

    7. 112

      Ulthar SF V2 (TMP4 Base)

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