AndreiS 2 Posted June 30, 2022 Share Posted June 30, 2022 (edited) https://metin2.download/picture/pvr3qT4q7Nof9G7A1KbqxZTjdT51AxNG/.gif GIF hello everyone, i have problem with inventory, Apprentice Chest does not appear in the inventory until i refresh the inventory by switching inventory window, or refresh char by using skill.. its not just this, but also when I give item to shabby pedestrian, it does not disappear until i refresh inventory or char... someone please know what the reason behind this?? Could be due to inventory 4 windows? Sorry for the size of GIF it's 30 MB but i dont know how to make it less than that, I used Screen Recorder Pro I wish items appear/disappear instantly.. Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
AndreiS 2 Posted June 30, 2022 Author Share Posted June 30, 2022 I wish items appear/disappear instantly.. Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted June 30, 2022 Premium Share Posted June 30, 2022 Try to press ALT 1 Link to comment Share on other sites More sharing options...
AndreiS 2 Posted June 30, 2022 Author Share Posted June 30, 2022 2 minutes ago, WeedHex said: Try to press ALT ? Care to elaborate? And in what way is that solving the issue? Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted July 1, 2022 Premium Share Posted July 1, 2022 3 hours ago, AndreiS said: ? Care to elaborate? And in what way is that solving the issue? I say better: Try to press ALT when the item isn't shown and if something happens it's an hint to use ur brain. 1 Link to comment Share on other sites More sharing options...
AndreiS 2 Posted July 1, 2022 Author Share Posted July 1, 2022 6 hours ago, WeedHex said: I say better: Try to press ALT when the item isn't shown and if something happens it's an hint to use ur brain. Ok GOTCHA! Pressing ALT makes the item appear/disappear as should be. But so? what can I take away from this if u dont mind? Still not sure what's causing that. Link to comment Share on other sites More sharing options...
AndreiS 2 Posted July 1, 2022 Author Share Posted July 1, 2022 Anyone knows whats the problem please? Link to comment Share on other sites More sharing options...
LordZiege 279 Posted July 1, 2022 Share Posted July 1, 2022 Syserr is empty in client? Did you changed something related to refreshbagslot in uiinventory? Link to comment Share on other sites More sharing options...
AndreiS 2 Posted July 2, 2022 Author Share Posted July 2, 2022 9 hours ago, LordZiege said: Syserr is empty in client? Did you changed something related to refreshbagslot in uiinventory? syserr is empty.. refreshbagslot I have it like this def SetInventoryPage(self, page): self.inventoryTab[self.inventoryPageIndex].SetUp() self.inventoryPageIndex = page self.inventoryTab[self.inventoryPageIndex].Down() self.RefreshBagSlotWindow() and def RefreshBagSlotWindow(self): getItemVNum=player.GetItemIndex getItemCount=player.GetItemCount setItemVNum=self.wndItem.SetItemSlot for i in xrange(self.wndItem.GetSlotCount()): self.wndItem.DeactivateSlot(i) for i in xrange(player.INVENTORY_PAGE_SIZE): slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i) itemCount = getItemCount(slotNumber) # itemCount == 0이면 소켓을 비운다. if 0 == itemCount: self.wndItem.ClearSlot(i) continue elif 1 == itemCount: itemCount = 0 itemVnum = getItemVNum(slotNumber) setItemVNum(i, itemVnum, itemCount) ## 자동물약 (HP: #72723 ~ #72726, SP: #72727 ~ #72730) 특수처리 - 아이템인데도 슬롯에 활성화/비활성화 표시를 위한 작업임 - [hyo] if constInfo.IS_AUTO_POTION(itemVnum): # metinSocket - [0] : 활성화 여부, [1] : 사용한 양, [2] : 최대 용량 metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)] if slotNumber >= player.INVENTORY_PAGE_SIZE*self.inventoryPageIndex: slotNumber -= player.INVENTORY_PAGE_SIZE*self.inventoryPageIndex isActivated = 0 != metinSocket[0] if isActivated: self.wndItem.ActivateSlot(slotNumber) potionType = 0; if constInfo.IS_AUTO_POTION_HP(itemVnum): potionType = player.AUTO_POTION_TYPE_HP elif constInfo.IS_AUTO_POTION_SP(itemVnum): potionType = player.AUTO_POTION_TYPE_SP usedAmount = int(metinSocket[1]) totalAmount = int(metinSocket[2]) player.SetAutoPotionInfo(potionType, isActivated, (totalAmount - usedAmount), totalAmount, self.__InventoryLocalSlotPosToGlobalSlotPos(i)) else: self.wndItem.DeactivateSlot(slotNumber) if app.WJ_ENABLE_TRADABLE_ICON: self.RefreshMarkSlots(i) self.__HighlightSlot_Refresh() self.wndItem.RefreshSlot() if self.wndBelt: self.wndBelt.RefreshSlot() if app.WJ_ENABLE_TRADABLE_ICON: map(lambda wnd:wnd.RefreshLockedSlot(), self.bindWnds) def RefreshEquipSlotWindow(self): getItemVNum=player.GetItemIndex getItemCount=player.GetItemCount setItemVNum=self.wndEquip.SetItemSlot for i in xrange(player.EQUIPMENT_PAGE_COUNT): slotNumber = player.EQUIPMENT_SLOT_START + i itemCount = getItemCount(slotNumber) if itemCount <= 1: itemCount = 0 setItemVNum(slotNumber, getItemVNum(slotNumber), itemCount) if app.ENABLE_NEW_EQUIPMENT_SYSTEM: for i in xrange(player.NEW_EQUIPMENT_SLOT_COUNT): slotNumber = player.NEW_EQUIPMENT_SLOT_START + i itemCount = getItemCount(slotNumber) if itemCount <= 1: itemCount = 0 setItemVNum(slotNumber, getItemVNum(slotNumber), itemCount) print "ENABLE_NEW_EQUIPMENT_SYSTEM", slotNumber, itemCount, getItemVNum(slotNumber) self.wndEquip.RefreshSlot() if self.wndCostume: self.wndCostume.RefreshCostumeSlot() def RefreshItemSlot(self): self.RefreshBagSlotWindow() self.RefreshEquipSlotWindow() Link to comment Share on other sites More sharing options...
AndreiS 2 Posted July 3, 2022 Author Share Posted July 3, 2022 up Link to comment Share on other sites More sharing options...
AndreiS 2 Posted July 5, 2022 Author Share Posted July 5, 2022 up Link to comment Share on other sites More sharing options...
AndreiS 2 Posted July 6, 2022 Author Share Posted July 6, 2022 up 1 Link to comment Share on other sites More sharing options...
Premium Solution Hunger 471 Posted July 6, 2022 Premium Solution Share Posted July 6, 2022 There should be a refresh also in interfacemodule.py. Check that. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now