[Admin] tierrilopes Posted May 18, 2016 at 07:44 PM Share Posted May 18, 2016 at 07:44 PM Tutorial não estruturado, será necessário comparar os ficheiros. Caso alguém queira fazer o tutorial, todos agradecemos. https://www.youtube.com/watch?v=KVxa9yvi20c Informações: CRC32: 3844CD0E MD5: CD814BE967A1145508610B7607FBAC75 SHA-1: D18111E8CEBB36D24E5427D63F641E0A4E3F2CFC Password: m2dev.net Slot Effect System.7z 1 Link to comment Share on other sites More sharing options...
Karbust Posted May 19, 2016 at 03:24 PM Share Posted May 19, 2016 at 03:24 PM Problema: Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 24, 2016 at 12:25 AM Author Share Posted May 24, 2016 at 12:25 AM Problema resolvido: Colocar o ficheiro em anexo na seguinte localização: d:\ymir work\ui\public_effect.dds public_effect.dds 1 Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 26, 2016 at 04:54 PM Author Share Posted May 26, 2016 at 04:54 PM Verifica se o teu PythonSlotWindow.cpp está como em anexo PythonSlotWindow.cpp Link to comment Share on other sites More sharing options...
Guest KemazI Posted August 12, 2016 at 03:45 AM Share Posted August 12, 2016 at 03:45 AM Instalei tudo normal e compilou sem erros mas não aparece os efeitos :/ Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted August 12, 2016 at 10:27 AM Author Share Posted August 12, 2016 at 10:27 AM Problema resolvido: Colocar o ficheiro em anexo na seguinte localização: d:\ymir work\ui\public_effect.dds Verifica se tens isto correcto. Caso já tenhas esse ficheiro substitui pelo aqui do tópico Link to comment Share on other sites More sharing options...
WLN Posted August 14, 2016 at 04:48 PM Share Posted August 14, 2016 at 04:48 PM seria interessante a disponibilização dos arquivos completos da source para comparação Link to comment Share on other sites More sharing options...
WLN Posted February 3, 2017 at 10:29 PM Share Posted February 3, 2017 at 10:29 PM como não estou conseguindo enviar mensagens privadas então resucitarei o tópico, já há solução para o bug acima? acabei de fazer o systema e só funciona em 1 inventário, os outros 3 não Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted February 4, 2017 at 12:28 AM Author Share Posted February 4, 2017 at 12:28 AM Olá. Coloca aqui o teu uiinventory.py sff Link to comment Share on other sites More sharing options...
WLN Posted February 4, 2017 at 05:20 AM Share Posted February 4, 2017 at 05:20 AM aqui está uiinventory.py Link to comment Share on other sites More sharing options...
WLN Posted February 7, 2017 at 03:26 PM Share Posted February 7, 2017 at 03:26 PM Solução encontrada e um tutorial da parte do arquivo uiinventory.py feito por mim com as novas alterações, favor adicionar ao tópico ou ao winrar com os arquivos. Disponibilização do arquivo uiinventory.py pelo Claudio Almeida ( Teknos ) e estruturação do tutorial por mim Spoiler Buscar: class InventoryWindow(ui.ScriptWindow): adicionar abaixo: liHighlightedItems = [] Buscar: setItemVNum(i, itemVnum, itemCount) Adicionar Abaixo if itemVnum == 0 and slotNumber in self.liHighlightedItems: self.liHightlightedItems.remove(slotNumber) Buscar: self.wndItem.DeactivateSlot(slotNumber) Adicionar Abaixo: self.wndItem.ActivateSlot(slotNumber) self.__RefreshHighlights() Buscar: def OverInItem(self, overSlotPos): overSlotPos = self.__InventoryLocalSlotPosToGlobalSlotPos(overSlotPos) self.wndItem.SetUsableItem(False) if mouseModule.mouseController.isAttached(): attachedItemType = mouseModule.mouseController.GetAttachedType() if player.SLOT_TYPE_INVENTORY == attachedItemType: attachedSlotPos = mouseModule.mouseController.GetAttachedSlotNumber() attachedItemVNum = mouseModule.mouseController.GetAttachedItemIndex() if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPos): self.wndItem.SetUsableItem(True) self.ShowToolTip(overSlotPos) return self.ShowToolTip(overSlotPos) Substituir por def OverInItem(self, overSlotPos): overSlotPosGlobal = self.__InventoryLocalSlotPosToGlobalSlotPos(overSlotPos) self.wndItem.SetUsableItem(False) if overSlotPosGlobal in self.liHighlightedItems: self.liHighlightedItems.remove(overSlotPosGlobal) self.wndItem.DeactivateSlot(overSlotPos) if mouseModule.mouseController.isAttached(): attachedItemType = mouseModule.mouseController.GetAttachedType() if player.SLOT_TYPE_INVENTORY == attachedItemType: attachedSlotPos = mouseModule.mouseController.GetAttachedSlotNumber() attachedItemVNum = mouseModule.mouseController.GetAttachedItemIndex() if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPosGlobal): self.wndItem.SetUsableItem(True) self.ShowToolTip(overSlotPosGlobal) return self.ShowToolTip(overSlotPosGlobal) Buscar: def OnMoveWindow(self, x, y): # print "Inventory Global Pos : ", self.GetGlobalPosition() if self.wndBelt: # print "Belt Global Pos : ", self.wndBelt.GetGlobalPosition() self.wndBelt.AdjustPositionAndSize() Adicionar Abaixo: def HighlightSlot(self, slot): if not slot in self.liHighlightedItems: self.liHighlightedItems.append(slot) def __RefreshHighlights(self): for i in xrange(player.INVENTORY_PAGE_SIZE*4): slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i) if slotNumber in self.liHighlightedItems: self.wndItem.ActivateSlot(i) Link to comment Share on other sites More sharing options...
Marcos Posted October 18, 2017 at 02:21 PM Share Posted October 18, 2017 at 02:21 PM Funcionando 100% 1 Link to comment Share on other sites More sharing options...
rooot100 Posted May 7, 2023 at 08:52 PM Share Posted May 7, 2023 at 08:52 PM On 5/18/2016 at 9:44 PM, tierrilopes said: Tutorial não estruturado, será necessário comparar os ficheiros. Caso alguém queira fazer o tutorial, todos agradecemos. https://www.youtube.com/watch?v=KVxa9yvi20c Informações: Hide contents CRC32: 3844CD0E MD5: CD814BE967A1145508610B7607FBAC75 SHA-1: D18111E8CEBB36D24E5427D63F641E0A4E3F2CFC Password: m2dev.net Slot Effect System.7z 3.88 kB · 60 downloads wrong password ;( Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now