Scarlet 1
Scarlet
noisiv 1
noisiv
Manwe Work 1
Manwe Work
farkmt2official 1
farkmt2official
Hikaye Ekle
Kaynak ikonu

[c++] (TaskBar) Anti Exp Button 1

indirmek için izniniz yok
  • Konuyu başlatan Konuyu başlatan Wcn
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 30
  • Görüntüleme Görüntüleme 7K
  • Etiketler Etiketler
    anti exp
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

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 ::
3fIaRzy


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.
 
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)
içinde FindAffect kullanılıyor onda bir sorun yok. Bu neden olabilir?


1.png
 
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)

Geri
Üst