Tipologie server:
*Resursă folosită: Render Target Volvox: sursa/render-target-edited-volvox-t95578.html
*ServerFiles utilizat: propriu
*Syserr:
Poză:
*Detalii suplimentare:
Salut!
Asa am eu acum:
Rezolvarea ar fi in uitooltip, in functia def OnUpdate(self), dar nu am cunostintele necesare in python sa rezolv, am incercat..
Un exemplu de cum as vrea sa fie de fapt este in functia de compare pe care am pus-o, unde daca sunt deja cu cursorul pe item si apas CTRL merge indiferent ca dau hover sau nu inainte :
Asta la compare am rezolvat dupa un tutorial facut de un membru de pe dev, care zice asa:
I have improved the code about show/hide the compare tooltip because you need press the button alt before move the mouse over the item, my english isnt good but here you can see the fix:
https://metin2.download/picture/Mjw4S50 ... 8U59F/.gif
Open uitooltip.py and find:
remove or comment that codeCod: Selectaţi tot
if app.__COMPARE_TOOLTIP__ and app.IsPressed(app.DIK_LALT) and not slotIndex >= player.EQUIPMENT_SLOT_START and CompareItem: self.SetCompareItem(itemVnum)
now go to def OnUpdate(self):
and over this code
add:Cod: Selectaţi tot
if app.__COMPARE_TOOLTIP__: if self.IsCompare: return
must see like this:Cod: Selectaţi tot
if app.IsPressed(app.DIK_G): if self.IsCompare: return if not self.CompareTooltip: self.SetCompareItem(self.itemVnum) else: if self.CompareTooltip: self.CompareTooltip.Hide() self.IsCompare = False self.CompareTooltip = None
https://metin2.download/picture/23J65uM ... yBN5f/.png
PD: I have changed the key to G because in key ALT i have the Rendertarget system and 2 systems made a bug in same key, but you can change the key to any you want.


