HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Tüm işlemler client/pack taraflı olup tüm kodlar uidragonsoul.py üzerinden düzenlenecek.
[CODE title="uidragonsoul.py"]# aratılır
def RefreshEquipSlotWindow(self):
# içerisinde bulunur
self.wndEquip.RefreshSlot()
# altına eklenir
if self.isActivated:
self.__GlowEquipSlots(True)
def __GlowEquipSlots(self, enable):
for i in xrange(6): # sende yuva sayısı farklıysa değiştir
global_pos = self.__InventoryLocalSlotPosToGlobalSlotPos(
player.INVENTORY,
player.DRAGON_SOUL_EQUIPMENT_SLOT_START + i
)
itemVnum = player.GetItemIndex(global_pos)
local_slot_idx = player.DRAGON_SOUL_EQUIPMENT_SLOT_START + i
if itemVnum != 0 and enable:
self.wndEquip.ActivateSlot(local_slot_idx)
else:
self.wndEquip.DeactivateSlot(local_slot_idx)
self.wndEquip.RefreshSlot()
# aratılır
def ActivateDragonSoulByExtern(self, deck):
# içerisinde bulunur.
self.RefreshEquipSlotWindow()
# altına eklenir
self.__GlowEquipSlots(True)
# aratılır
def DeactivateDragonSoul(self):
# içerisinde bulunur.
self.activateButton.SetUp()
# altına eklenir
self.__GlowEquipSlots(False)[/CODE]
Not:Mainline,martysama ve diğer fileslerde denenmiştir alıntıdır.
[CODE title="uidragonsoul.py"]# aratılır
def RefreshEquipSlotWindow(self):
# içerisinde bulunur
self.wndEquip.RefreshSlot()
# altına eklenir
if self.isActivated:
self.__GlowEquipSlots(True)
def __GlowEquipSlots(self, enable):
for i in xrange(6): # sende yuva sayısı farklıysa değiştir
global_pos = self.__InventoryLocalSlotPosToGlobalSlotPos(
player.INVENTORY,
player.DRAGON_SOUL_EQUIPMENT_SLOT_START + i
)
itemVnum = player.GetItemIndex(global_pos)
local_slot_idx = player.DRAGON_SOUL_EQUIPMENT_SLOT_START + i
if itemVnum != 0 and enable:
self.wndEquip.ActivateSlot(local_slot_idx)
else:
self.wndEquip.DeactivateSlot(local_slot_idx)
self.wndEquip.RefreshSlot()
# aratılır
def ActivateDragonSoulByExtern(self, deck):
# içerisinde bulunur.
self.RefreshEquipSlotWindow()
# altına eklenir
self.__GlowEquipSlots(True)
# aratılır
def DeactivateDragonSoul(self):
# içerisinde bulunur.
self.activateButton.SetUp()
# altına eklenir
self.__GlowEquipSlots(False)[/CODE]
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
Not:Mainline,martysama ve diğer fileslerde denenmiştir alıntıdır.
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 5
- Görüntüleme
- 391
- Çözüldü
- Cevaplar
- 2
- Görüntüleme
- 72
- Cevaplar
- 8
- Görüntüleme
- 260
- Cevaplar
- 21
- Görüntüleme
- 4K
