Not answered K inventory item deletion error

Member
Aug
Threads
2
60
0
6
Hello friends, I am using the already shared k inventory WJ_SPLIT_INVENTORY_SYSTEM, I think Burhan shared it, I downloaded it because it is fully fixed, many problems have been solved, but there are minor problems, for example, I cannot sell items to NPC, I added bulk item delete and sell, when you right click on any item in the k inventory, it deletes it directly, whereas ctrl + x + right click is added. Does anyone know how I can fix these?

Meanwhile



[CODE title="uiinventory.py"]

curCursorNum = app.GetCursor()
if app.SELL == curCursorNum:

self.__SellItem(itemSlotIndex)

elif app.BUY == curCursorNum:

chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.SHOP_BUY_INFO)

elif app.IsPressed(app.DIK_LALT):

link = player.GetItemLink(itemSlotIndex)

ime.PasteString(link)

elif app.IsPressed(app.DIK_LSHIFT):


itemCount = player.GetItemCount(itemSlotIndex)


from the events here



elif app.BUY == curCursorNum:

chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.SHOP_BUY_INFO)



this



elif app.BUY == self.interface.OpenDeleteItem():

chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.SHOP_BUY_INFO)



If I change it like this, the right click remains the same, but when I click on the left click, that is, when the object is selected, the quick item sell and delete panel opens, but I cannot do this with right click or ctrl + x + right click.
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,410
2
1,313
113
Hello friends, I am using the already shared k inventory WJ_SPLIT_INVENTORY_SYSTEM, I think Burhan shared it, I downloaded it because it is fully fixed, many problems have been solved, but there are minor problems, for example, I cannot sell items to NPC, I added bulk item delete and sell, when you right click on any item in the k inventory, it deletes it directly, whereas ctrl + x + right click is added. Does anyone know how I can fix these?

Meanwhile



[CODE title="uiinventory.py"]

curCursorNum = app.GetCursor()
if app.SELL == curCursorNum:

self.__SellItem(itemSlotIndex)

elif app.BUY == curCursorNum:

chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.SHOP_BUY_INFO)

elif app.IsPressed(app.DIK_LALT):

link = player.GetItemLink(itemSlotIndex)

ime.PasteString(link)

elif app.IsPressed(app.DIK_LSHIFT):


itemCount = player.GetItemCount(itemSlotIndex)


from the events here



elif app.BUY == curCursorNum:

chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.SHOP_BUY_INFO)



this



elif app.BUY == self.interface.OpenDeleteItem():

chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.SHOP_BUY_INFO)



If I change it like this, the right click remains the same, but when I click on the left click, that is, when the object is selected, the quick item sell and delete panel opens, but I cannot do this with right click or ctrl + x + right click.

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock