Resursă folosită: Nu il mai gasesc, este unul facut fara quest direct intern din Sv side si client
ServerFiles utilizat: --
Syserr: poza mai jos. Dupa implementarea lui in serverside, imi tot apar aceste erori de compilare. Functiile au fost adaugate in totalitate.
Sursa server - sistem membri echipei in lista de prieteni
Ce au fost adaugate in messenger_manager.h
Eroare CLIENT dupa adaugarea ban system din clientCod: Selectaţi tot
//Find void LoadList(SQLMsg * pmsg); ///Add #ifdef ENABLE_MESSENGER_TEAM void SendTeamLogin(keyA account, keyA companion); void SendTeamLogout(keyA account, keyA companion); void LoadTeamList(SQLMsg * pmsg); void SendTeamList(keyA account); #endif //Find std::set<DWORD> m_set_requestToAdd; ///Add #ifdef ENABLE_MESSENGER_TEAM std::map<keyT, std::set<keyT> > m_TeamRelation; std::map<keyT, std::set<keyT> > m_InverseTeamRelation; #endif
Fisierele mentionate in folderul de mai sus, exista. Cu aceleasi denumiri. Sistemul folosit este acesta ->Cod: Selectaţi tot
0331 00:26:07922 :: invalid idx 0 0331 00:26:16561 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\ui\game\ban\ban_bg.png 0331 00:26:16561 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\ui\game\ban\input_id.png 0331 00:26:16561 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\ui\game\ban\input_re.png 0331 00:26:16561 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\ui\game\ban\id.png 0331 00:26:16561 :: Traceback (most recent call last): 0331 00:26:16561 :: File "networkModule.py", line 247, in SetGamePhase 0331 00:26:16562 :: File "game.py", line 98, in __init__ 0331 00:26:16562 :: File "interfaceModule.py", line 284, in MakeInterface 0331 00:26:16562 :: File "interfaceModule.py", line 258, in __MakeBan 0331 00:26:16562 :: File "uiBan.py", line 15, in __init__ 0331 00:26:16563 :: File "uiBan.py", line 39, in __Load 0331 00:26:16563 :: TypeError 0331 00:26:16563 :: : 0331 00:26:16563 :: SAFE_SetStringEvent() takes exactly 3 arguments (4 given) 0331 00:26:16563 ::
BAN SYSTEM