-TuRKuaZ- 1
-TuRKuaZ-
SLyFeLLowTR 1
SLyFeLLowTR
TGamesZeus 1
TGamesZeus
Best Studio 1
Best Studio
berkmenoo 1
berkmenoo
InfernoShade 1
InfernoShade
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Agora Metin2 1
Agora Metin2
Bvural41 1
Bvural41
onur akbaş 1
onur akbaş
Hikaye Ekle
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

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!

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