Blackjack Sistemi

mertlevis

discord: mertlevis
MT Üye
Sorunsuzdur ho.
1707071399001.png



Linkleri görebilmek için giriş yap veya kayıt ol.
 
Son düzenleme:
Hatta veriyor eksik var tamamlayan varmı:
0205 21:52:38203 ::   File "game.py", line 2050, in BINARY_ServerCommand_Run

0205 21:52:38203 ::   File "stringCommander.py", line 63, in Run

0205 21:52:38203 ::   File "stringCommander.py", line 31, in __call__

0205 21:52:38203 ::   File "stringCommander.py", line 20, in __call__

0205 21:52:38203 ::   File "interfaceModule.py", line 2235, in BJAddNewCard

0205 21:52:38203 ::   File "uiBlackJack.py", line 153, in AddNewCard

0205 21:52:38204 ::   File "uiBlackJack.py", line 193, in __init__

0205 21:52:38204 ::   File "uiBlackJack.py", line 206, in __LoadCard

0205 21:52:38204 :: AttributeError
0205 21:52:38204 :: :
0205 21:52:38204 :: 'ExpandedImageBox' object has no attribute 'SetDiffuseColor'
0205 21:52:38204 ::
ui.pyde setdiffusecolor diye arat eğer varsa kod bloğunu kopyalayığ class expandedimagebox un içine yapıştır ahmetim.
 
SetProtectTime böyle hata alıyorum bulid yardım edecek varmı
char.cpp add:

void CHARACTER::SetProtectTime(const std::string& flagname, int value)
{
itertype(m_protection_Time) it = m_protection_Time.find(flagname);
if (it != m_protection_Time.end())
it->second = value;
else
m_protection_Time.insert(make_pair(flagname, value));
}
int CHARACTER::GetProtectTime(const std::string& flagname) const
{
itertype(m_protection_Time) it = m_protection_Time.find(flagname);
if (it != m_protection_Time.end())
return it->second;
return 0;
}

char.h add:

public:
void SetProtectTime(const std::string& flagname, int value);
int GetProtectTime(const std::string& flagname) const;
protected:
std::map<std::string, int> m_protection_Time;

good day <3
 
char.cpp add:

void CHARACTER::SetProtectTime(const std::string& flagname, int value)
{
itertype(m_protection_Time) it = m_protection_Time.find(flagname);
if (it != m_protection_Time.end())
it->second = value;
else
m_protection_Time.insert(make_pair(flagname, value));
}
int CHARACTER::GetProtectTime(const std::string& flagname) const
{
itertype(m_protection_Time) it = m_protection_Time.find(flagname);
if (it != m_protection_Time.end())
return it->second;
return 0;
}

char.h add:

public:
void SetProtectTime(const std::string& flagname, int value);
int GetProtectTime(const std::string& flagname) const;
protected:
std::map<std::string, int> m_protection_Time;

good day <3
Teşekkürler. oyunda npc yi çağırıyorum saniye geçmeden geri gidiyor npc sorun nerededir.
 
Geri