bikral 1
bikral
ShadowFon 1
ShadowFon
D 1
delimuratt
PrimeAC 1
PrimeAC
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Best Studio 1
Best Studio
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com
Kaynak ikonu

Client Affect Container 2025-12-21

indirmek için izniniz yok
  • Konuyu başlatan Konuyu başlatan Reached
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 24
  • Görüntüleme Görüntüleme 2K

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!

Teşekkürler, affectshower için örnek kullanımı nasıl olacak pythonda gösterebilir misiniz? @Reached
Python:
#Ara

        try:
            print "Add affect %s" % affect
# Üstüne
        if affect == player.AFFECT_TIMED_QUEST:
            bonuses = player.GetAffectAppliesByType(affect)
            if bonuses and self.itemToolTip:
                extra_lines = []
                for (applyOn, val) in bonuses:
                    try:
                        applyIdx = item.GetPointApply(applyOn)
                        s = self.itemToolTip.GetAffectString(applyIdx, val)
                        if s:
                            extra_lines.append(s)
                    except:
                        pass
                if extra_lines:
                    description = "Timed Quests" + "\n" + "\n".join(extra_lines)
 
Python:
#Ara

        try:
            print "Add affect %s" % affect
# Üstüne
        if affect == player.AFFECT_TIMED_QUEST:
            bonuses = player.GetAffectAppliesByType(affect)
            if bonuses and self.itemToolTip:
                extra_lines = []
                for (applyOn, val) in bonuses:
                    try:
                        applyIdx = item.GetPointApply(applyOn)
                        s = self.itemToolTip.GetAffectString(applyIdx, val)
                        if s:
                            extra_lines.append(s)
                    except:
                        pass
                if extra_lines:
                    description = "Timed Quests" + "\n" + "\n".join(extra_lines)
1223 01:33:32536 :: Traceback (most recent call last):

1223 01:33:32536 :: File "game.py", line 773, in BINARY_NEW_AddAffect

1223 01:33:32536 :: File "uiAffectShower.py", line 630, in BINARY_NEW_AddAffect

1223 01:33:32536 :: AttributeError
1223 01:33:32536 :: :
1223 01:33:32536 :: 'module' object has no attribute 'AFFECT_TIMED_QUEST'
1223 01:33:32536 ::

pythonplayer ya da pythonplayermodule.cpp'ye AFFECT_TIMED_QUEST bu isimde bişey eklemedik ki hocam nasıl olacak
 
Paylaşım için teşekkürler
 
1223 01:33:32536 :: Traceback (most recent call last):

1223 01:33:32536 :: File "game.py", line 773, in BINARY_NEW_AddAffect

1223 01:33:32536 :: File "uiAffectShower.py", line 630, in BINARY_NEW_AddAffect

1223 01:33:32536 :: AttributeError
1223 01:33:32536 :: :
1223 01:33:32536 :: 'module' object has no attribute 'AFFECT_TIMED_QUEST'
1223 01:33:32536 ::

pythonplayer ya da pythonplayermodule.cpp'ye AFFECT_TIMED_QUEST bu isimde bişey eklemedik ki hocam nasıl olacak
Örnek istediniz, örnek attım kendi sistemim üzerinden. Kullanacağınız sisteme göre düzenleyebilirsiniz.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst