Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!
1030 23:25:09466 :: Traceback (ultima chiamata):
1030 23:25:09466 :: File "networkModule.py", riga 236, in SetGamePhase
1030 23:25:09466 :: File "game.py", riga 95, in __init__
1030 23:25:09466 :: File "interfaceModule.py", riga 351, in MakeInterface
1030 23:25:09466 :: File "interfaceModule.py", riga 153, in __MakeTaskBar
1030 23:25:09466 ::UnboundLocalError
1030 23:25:09466 :: :
1030 23:25:09466 :: variabile locale 'app' referenziata prima dell'assegnazione
1030 23:25:09466 ::
Your code is simply not being read. Since there is "if app.ENABLE_ANTI_EXP:"
the "app" module even if imported into the interface module.py must be important within the specific class. Look at the photo, attention: If you have other "import apps" inside this class delete them, and make sure that the only "import app / net" is at the beginning of the class. I hope I was clear, if you can't solve the problem, leave me your Discord contact, I will help you as soon as possible.
Paylaşım için teşekkürler.
Ekli dosyayı görüntüle 86959
Rica ederim iyi kullanımlar.
Char.cpp deki bu kısmı iptal edin.
#ifdef ENABLE_ANTI_EXP
if (FindAffect(AFFECT_EXP_CURSE) && amount > 0)
{
return;
}
#
endif
char_battle.cpp de bu şekilde düzenle
//Bul:
to->PointChange(POINT_EXP, iExp, true);
from->CreateFly(FLY_EXP, to);
//Değiştir:
#ifdef ENABLE_ANTI_EXP
if (!FindAffect(AFFECT_EXP_CURSE))
#endif
{
to->PointChange(POINT_EXP, iExp, true);
from->CreateFly(FLY_EXP, to);
}
char_battle.cpp'de GiveExp fonksiyonu içinde FindAffect kullandığımda tanımı kabul etmiyor.
Fakat yine char_battle.cpp'de
Kod:
void CHARACTER::DeathPenalty(BYTE bTown)
- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 3
- Görüntüleme
- 89
- Cevaplar
- 15
- Görüntüleme
- 693