Mergeti in UserInterface si intrati in PythonPlayer.cpp si cautati:
Cod: Selectaţi tot
void CPythonPlayer::SetItemData(TItemPos Cell, const TItemData & c_rkItemInst)Cod: Selectaţi tot
PyCallClassMemberFunc(m_ppyGameWindow, "OnNewItem", Py_BuildValue("(i)", Cell.cell));Mergeti in root, intrati in constInfo.py si adaugati undeva:
Cod: Selectaţi tot
NEWITEMS = []Mergeti in root, intrati in uiinventory.py si cautati:
Cod: Selectaţi tot
def RefreshBagSlotWindow(self):Cod: Selectaţi tot
if itemCount == 0 and slotNumber in constInfo.NEWITEMS:
constInfo.NEWITEMS.remove(slotNumber)Cod: Selectaţi tot
self.wndItem.EnableCoverButton(i)
if slotNumber in constInfo.NEWITEMS:
self.wndItem.SetCoverButton(i, "d:/ymir work/ui/game/quest/slot_button_00.sub",\
"d:/ymir work/ui/game/quest/slot_button_00.sub",\
"d:/ymir work/ui/game/quest/slot_button_00.sub",\
"d:/ymir work/ui/new_icon.tga", FALSE, FALSE)
self.wndItem.DisableCoverButton(i)Cod: Selectaţi tot
slotPos = overSlotPosCod: Selectaţi tot
if overSlotPos in constInfo.NEWITEMS:
self.wndItem.EnableCoverButton(slotPos)
constInfo.NEWITEMS.remove(overSlotPos)Acum descarcati
Continut: Ascuns
Trebuie sa multumesti autorului pentru a putea vedea mesajul.
Trebuie sa multumesti autorului pentru a putea vedea mesajul.
Si adaugati in ymirwork/ui
IN CAZ CA NU FUNCTIONEAZA:
Intrati in uiinventory.py si cautati:
Cod: Selectaţi tot
self.wndCostume = NoneCod: Selectaţi tot
self.movedSlot = -1Cod: Selectaţi tot
itemCount = getItemCount(slotNumber)Cod: Selectaţi tot
if self.movedSlot in constInfo.NEWITEMS:
constInfo.NEWITEMS.remove(self.movedSlot)Cod: Selectaţi tot
def __SendMoveItemPacket(self, srcSlotPos, dstSlotPos, srcItemCount):Cod: Selectaţi tot
self.movedSlot = dstSlotPos





