Uiinventory.py Arat self.wndItem.RefreshSlot() if self.wndBelt: self.wndBelt.RefreshSlot() Ekle def RefreshNewSlotSash(self): getSashVnum=player.GetItemIndex slot_sash = item.COSTUME_SLOT_COUNT for sash in xrange(slot_sash): slot_Sash = item.COSTUME_SLOT_START + sash self.wndEquip.SetItemSlot(slot_Sash, getSashVnum(slot_Sash), 0) self.wndEquip.RefreshSlot() Arat class InventoryWindow(ui.ScriptWindow): def Show(self): self.__LoadWindow() Ekle self.RefreshNewSlotSash() Arat 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) Ekle slot_sash = item.COSTUME_SLOT_COUNT for sash in xrange(slot_sash): slot_Sash = item.COSTUME_SLOT_START + sash self.wndEquip.SetItemSlot(slot_Sash, getItemVNum(slot_Sash), 0) Inventorywindows.py import item Arat SLOT_SASH = item.COSTUME_SLOT_START {"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32}, Altına Ekle {"index":SLOT_SASH+2, "x":80, "y":3, "width":32, "height":32}, GameType.h Dikkat Edin Bu Şekilde Yeni Ekledigim Yuvayı Ekleyecez Örnek #ifdef ENABLE_COSTUME_SYSTEM const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19; // [주의] 숫자(19) 하드코딩 주의. 현재 서버에서 코스츔 슬롯은 19부터임. 서버 common/length.h 파일의 EWearPositions 열거형 참고. const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0; const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1; #ifdef ENABLE_MOUNT_SYSTEM const DWORD c_Costume_Slot_Mount = c_Costume_Slot_Start + 2; #endif #ifdef ENABLE_SASH_SYSTEM const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 3; #endif const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 4; const DWORD c_Costume_Slot_Count = 7; const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count; #endif inventorywindows.py {"index":SLOT_SASH+3, Yerine {"index":SLOT_SASH+2, Kullan