Tipologie server:
*Resursă folosită: sursa/dracarys-game-itemshop-full-tutorial-t106710.html
*ServerFiles utilizat: ...
*Syserr:
0825 14:03:25991 :: Traceback (most recent call last):
0825 14:03:25991 :: File "networkModule.py", line 239, in SetGamePhase
0825 14:03:25991 :: File "game.py", line 120, in __init__
0825 14:03:25992 :: AttributeError
0825 14:03:25992 :: :
0825 14:03:25992 :: 'module' object has no attribute 'SetInterfaceInstance'
0825 14:03:25992 ::
de la linia asta.
if app.ENABLE_ITEMSHOP:
constInfo.SetInterfaceInstance(self.interface)
si erroare la compilare
- char_manager.cpp: In member function 'void CHARACTER_MANAGER::LoadItemShopLog(LPCHARACTER)':
char_manager.cpp2: error: 'db_clientdesc' was not declared in this scope
db_clientdesc->DBPacketHeader(HEADER_GD_ITEMSHOP, ch->GetDesc()->GetHandle(), sizeof(BYTE)+sizeof(DWORD));
^
char_manager.cpp: In member function 'void CHARACTER_MANAGER::LoadItemShopBuy(LPCHARACTER, int, int)':
char_manager.cpp31: error: 'class CHARACTER' has no member named 'GetProtectTime'
bool isLogOpen = (ch->GetProtectTime("itemshop.log") == 1)?true:false;
^
char_manager.cpp9: error: 'db_clientdesc' was not declared in this scope
db_clientdesc->DBPacketHeader(HEADER_GD_ITEMSHOP, ch->GetDesc()->GetHandle(), buf.size());
^
char_manager.cpp: In function 'void RefreshItemShop(LPDESC)':
char_manager.cpp10: error: 'class CHARACTER' has no member named 'GetProtectTime'
if (ch->GetProtectTime("itemshop.load") == 1)
^
char_manager.cpp: In member function 'void CHARACTER_MANAGER::LoadItemShopData(const char*)':
char_manager.cpp9: error: 'DESC_MANAGER' does not name a type
const DESC_MANAGER::DESC_SET& c_ref_set = DESC_MANAGER::instance().GetClientSet();
^
char_manager.cpp17: error: 'c_ref_set' was not declared in this scope
std::for_each(c_ref_set.begin(), c_ref_set.end(), RefreshItemShop);
