- Katılım
- 26 Tem 2023
- Konular
- 451
- Mesajlar
- 6,327
- Çözüm
- 28
- Online süresi
- 2mo 26d
- Reaksiyon Skoru
- 3,414
- Altın Konu
- 133
- Başarım Puanı
- 249
- MmoLira
- 37,469
- DevLira
- 12
ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ 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.
- Katılım
- 15 May 2013
- Konular
- 1,210
- Mesajlar
- 7,343
- Çözüm
- 6
- Online süresi
- 2mo 16d
- Reaksiyon Skoru
- 5,976
- Altın Konu
- 410
- Başarım Puanı
- 349
- MmoLira
- 2,112
- DevLira
- 6
Paylaşım için teşekkürler
- Katılım
- 11 May 2009
- Konular
- 70
- Mesajlar
- 1,201
- Çözüm
- 6
- Online süresi
- 1mo 11d
- Reaksiyon Skoru
- 200
- Altın Konu
- 0
- Başarım Puanı
- 174
- MmoLira
- 6,082
- DevLira
- 3
Paylaşım için teşekkürler
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 5
- Görüntüleme
- 386
- Çözüldü
- Cevaplar
- 2
- Görüntüleme
- 71
- Cevaplar
- 8
- Görüntüleme
- 255
- Cevaplar
- 21
- Görüntüleme
- 4K



















