Saito 7 Posted August 31, 2018 Share Posted August 31, 2018 (edited) not work in taskbar or inventory dafuq is this? as u see, i already tried some other solutions but nothing works, no effekt there. Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Active+ Member enisina 173 Posted September 2, 2018 Active+ Member Share Posted September 2, 2018 not work Link to comment Share on other sites More sharing options...
Contributor MrQuin 6455 Posted September 3, 2018 Contributor Share Posted September 3, 2018 It works just fine but when you receive new item wich is pet the highlight effect on it doesn't show My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Active+ Member enisina 173 Posted September 12, 2018 Active+ Member Share Posted September 12, 2018 (edited) not work ? @xP3NG3Rx Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal 7 Link to comment Share on other sites More sharing options...
Active+ Member enisina 173 Posted September 24, 2018 Active+ Member Share Posted September 24, 2018 conflicts with highlight system Link to comment Share on other sites More sharing options...
Premium TAUMP 854 Posted September 24, 2018 Premium Share Posted September 24, 2018 50 minutes ago, enisina said: conflicts with highlight system Heh, no. Link to comment Share on other sites More sharing options...
Krzychu20 3 Posted October 1, 2018 Share Posted October 1, 2018 not working, but i did exactly what was in tutorial (I checked [tab]), someone knows where is problem? Link to comment Share on other sites More sharing options...
qdhq780 0 Posted October 6, 2018 Share Posted October 6, 2018 Dnia 1.10.2018 o 12:21, Krzychu20 napisał: not working, but i did exactly what was in tutorial (I checked [tab]), someone knows where is problem? Try this: elif 53001 <= itemVnum and 53051 >= itemVnum: 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[1] if isActivated: self.wndItem.ActivateSlot(slotNumber) else: self.wndItem.DeactivateSlot(slotNumber) Link to comment Share on other sites More sharing options...
Saito 7 Posted October 7, 2018 Share Posted October 7, 2018 vor 17 Stunden schrieb qdhq780: Try this: elif 53001 <= itemVnum and 53051 >= itemVnum: 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[1] if isActivated: self.wndItem.ActivateSlot(slotNumber) else: self.wndItem.DeactivateSlot(slotNumber) still doesnt work, i tried 4 different positions in uiinventory, nothing happend. Only taskbar works. Link to comment Share on other sites More sharing options...
qdhq780 0 Posted October 7, 2018 Share Posted October 7, 2018 In my case the function I sent you acts as it should except taskbar Link to comment Share on other sites More sharing options...
Saito 7 Posted October 9, 2018 Share Posted October 9, 2018 (edited) Am 7.10.2018 um 22:11 schrieb qdhq780: In my case the function I sent you acts as it should except taskbar As i said, it doesnt work for me. I tried everything in uiinventory but nothing works. The uitaskbar part from page 1 works for taskbar fine, but inventory doesnt. (Ps: i have sash and item highlights installed. May it has problems with sash highlight system? UPDATE! now it works. For everyone who have problems with it, i bet u guy have sash installed. Do it like this in uiinventory: Spoiler it works for me now perfectly, Sash active slots still works grate too, no conflicts with it. CAREFULL! If you copied my code, you need to edit metinSocket[2] !! I make the effect in socket2 but by default its in socket1 if you take the game src files from page1. Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Active+ Member enisina 173 Posted October 17, 2018 Active+ Member Share Posted October 17, 2018 (edited) On 10/9/2018 at 4:59 AM, Saito said: As i said, it doesnt work for me. I tried everything in uiinventory but nothing works. The uitaskbar part from page 1 works for taskbar fine, but inventory doesnt. (Ps: i have sash and item highlights installed. May it has problems with sash highlight system? UPDATE! now it works. For everyone who have problems with it, i bet u guy have sash installed. Do it like this in uiinventory: Hide contents it works for me now perfectly, Sash active slots still works grate too, no conflicts with it. Not work help Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal 4 Link to comment Share on other sites More sharing options...
Saito 7 Posted October 19, 2018 Share Posted October 19, 2018 (edited) Am 17.10.2018 um 23:21 schrieb enisina: Not work help make the "elif itemVnum ....." ABOVE the "if app.WJ_ENABLE_TRADABLE_ICON: self.Refresh....." Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
kieranFMT2 302 Posted October 22, 2018 Share Posted October 22, 2018 Still does not work for me. Quote if app.ENABLE_SASH_SYSTEM: slotNumberChecked = 0 if not constInfo.IS_AUTO_POTION(itemVnum): if app.ENABLE_HIGHLIGHT_SYSTEM: if not slotNumber in self.listHighlightedSlot: self.wndItem.DeactivateSlot(i) else: self.wndItem.DeactivateSlot(i) for j in xrange(sash.WINDOW_MAX_MATERIALS): (isHere, iCell) = sash.GetAttachedItem(j) if isHere: if iCell == slotNumber: self.wndItem.ActivateSlot(i, (36.00 / 255.0), (222.00 / 255.0), (3.00 / 255.0), 1.0) if not slotNumber in self.listAttachedSashs: self.listAttachedSashs.append(slotNumber) slotNumberChecked = 1 else: if slotNumber in self.listAttachedSashs and not slotNumberChecked: self.wndItem.DeactivateSlot(i) self.listAttachedSashs.remove(slotNumber) if itemVnum >= 53001 and itemVnum <= 5326: 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[3] if isActivated: self.wndItem.ActivateSlot(slotNumber) else: self.wndItem.DeactivateSlot(slotNumber) Link to comment Share on other sites More sharing options...
Active+ Member enisina 173 Posted October 24, 2018 Active+ Member Share Posted October 24, 2018 On 10/19/2018 at 4:08 AM, Saito said: make the "elif itemVnum ....." ABOVE the "if app.WJ_ENABLE_TRADABLE_ICON: self.Refresh....." maked. not work This is the hidden content, please Sign In or Sign Up 2 1 1 4 Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19746 Posted October 24, 2018 Author Honorable Member Share Posted October 24, 2018 On 10/22/2018 at 12:31 PM, kieranFMT2 said: if itemVnum >= 53001 and itemVnum <= 5326: What is this btw? And why did you put inside the sash if-statement the code? Link to comment Share on other sites More sharing options...
kieranFMT2 302 Posted October 25, 2018 Share Posted October 25, 2018 18 hours ago, xP3NG3Rx said: What is this btw? And why did you put inside the sash if-statement the code? I have tried your version of the code and the code that people have put none of it works for me Link to comment Share on other sites More sharing options...
Active+ Member enisina 173 Posted November 3, 2018 Active+ Member Share Posted November 3, 2018 (edited) On 10/18/2018 at 12:21 AM, enisina said: Not work help This is the hidden content, please Sign In or Sign Up Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal 11 1 1 1 7 Link to comment Share on other sites More sharing options...
Active Member Mind Rapist 190 Posted December 5, 2018 Active Member Share Posted December 5, 2018 Awesome, you the best man @Helia01 and @Saito thank you guys your comments saved me Best regards Link to comment Share on other sites More sharing options...
Active+ Member enisina 173 Posted December 10, 2018 Active+ Member Share Posted December 10, 2018 On 03.11.2018 at 15:06, enisina said: uiinventory.py Not work help 1 Link to comment Share on other sites More sharing options...
ManiacRobert 429 Posted December 10, 2018 Share Posted December 10, 2018 itemCount = getItemCount(slotNumber) if 0 == itemCount: self.wndItem.ClearSlot(i) continue elif 1 == itemCount: itemCount = 0 itemVnum = getItemVNum(slotNumber) setItemVNum(i, itemVnum, itemCount) if constInfo.IS_PET(itemVnum): metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)] isActivated = 0 != metinSocket[2] if isActivated: self.wndItem.ActivateSlot(i, (181.00 / 255.0), (113.00 / 255.0), (21.00 / 255.0), 1.0) else: self.wndItem.DeactivateSlot(i) if app.ENABLE_CHANGELOOK_SYSTEM: itemTransmutedVnum = player.GetItemTransmutation(slotNumber) if itemTransmutedVnum: self.wndItem.DisableCoverButton(i) else: self.wndItem.EnableCoverButton(i) Link to comment Share on other sites More sharing options...
Premium Hunger 474 Posted December 2, 2019 Premium Share Posted December 2, 2019 (edited) On 8/6/2018 at 7:38 AM, Helia01 said: it's easy: open file: uitaskbar.py find string: if constInfo.IS_AUTO_POTION(itemIndex): and past this code under block Example: Hide contents elif itemIndex >= 53001 and itemVnum <= 53005: metinSocket = [player.GetItemMetinSocket(Position, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)] isActivated = 0 != metinSocket[1] if isActivated: slot.ActivateSlot(slotNumber) else: slot.DeactivateSlot(slotNumber) Actually, itemVnum is not defined. So: Find: ## 자동물약 (#72723, #72724) 특수처리 - 아이템인데도 슬롯에 활성화/비활성화 표시를 위한 작업임 - [hyo] if constInfo.IS_AUTO_POTION(itemIndex): Add above: itemVnum = player.GetItemIndex(Position) Find: ## 자동물약 (#72723, #72724) 특수처리 - 아이템인데도 슬롯에 활성화/비활성화 표시를 위한 작업임 - [hyo] if constInfo.IS_AUTO_POTION(itemIndex): # metinSocket - [0] : 활성화 여부, [1] : 사용한 양, [2] : 최대 용량 metinSocket = [player.GetItemMetinSocket(Position, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)] if 0 != int(metinSocket[0]): slot.ActivateSlot(slotNumber) else: slot.DeactivateSlot(slotNumber) Add after: elif itemVnum >= 53001 and itemVnum <= 53256: metinSocket = [player.GetItemMetinSocket(Position, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)] isActivated = 0 != metinSocket[1] if isActivated: slot.ActivateSlot(slotNumber) else: slot.DeactivateSlot(slotNumber) Demo: https://metin2.download/picture/q02XRgzBc2JOpSG9k4TInjV7fA2kd9EW/.gif Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal 2 3 Link to comment Share on other sites More sharing options...
HossaM 0 Posted February 3, 2020 Share Posted February 3, 2020 work perfect thx 我們生活在一個白痴世界 Link to comment Share on other sites More sharing options...
Shape 0 Posted June 1, 2020 Share Posted June 1, 2020 Is it possible with mounts too? Link to comment Share on other sites More sharing options...
Jimmermania 27 Posted February 26, 2021 Share Posted February 26, 2021 (edited) On 10/17/2017 at 1:24 AM, Tasho said: Hide contents I don't think is a "shinning" effect, is just multiple effects added. Write me on private for weapon too. Example for armor: //InstanceBase.cpp //Search for: case CItemData::ITEM_TYPE_ARMOR: __ClearArmorRefineEffect(); //Add after: if (pItem->GetSubType() == CItemData::ARMOR_BODY) { DWORD dwVnum = pItem->GetIndex(); if ((11297 <= dwVnum && dwVnum <= 11299) || (11497 <= dwVnum && dwVnum <= 11499) || (11697 <= dwVnum && dwVnum <= 11699) || (11897 <= dwVnum && dwVnum <= 11899)) { for (int iCount = 0; iCount < 10; iCount++) __AttachEffect(EFFECT_REFINED + EFFECT_BODYARMOR_REFINED7 + refine - 7); } } Thanks for release. could someone share the effect for the weapon? Thanks. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Recommended Posts