Jump to content

Bug with Sort Inventory Items system


Recommended Posts

Hi all, have installed the sort inventory system by blackdragonx61 and it works perfectly (obviously). The system has only one bug, when you have the mouse over the key and close the inventory with its key the tooltip remains bugged, the only way to remove it is to press again and reopen the inventory. tried to fix it in several ways:
tried to put an elif where if you press the the tooltip should close;
tried adding an and to the if so that the tooltip should only be shown if the inventory is loaded/opened/shown;
tried to add an and to the if so that if the mouse is outside the inventory area it shouldn't show it;
Nope, couldn't get it to work. The offending piece of code is this (client, root, uiinventory.py):

https://pastebin.com/NcKxTK0m

Here are two screenshots with the bugs:


https://metin2.download/picture/sj105dSBs9lU2RmcHkaJNUPr2Uawsed8/.jpg
https://metin2.download/picture/ULdgJ02w6Wc7BQvsf7Oho2GuD3x143H8/.jpg

Can some good soul more experienced than me with python help me, please? Thanks in advance to whoever answers me!

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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