السلام عليكم ورحمة الله وبركاته ..
شٌكرا لك اخي ميتو قمت بتركيبه ولكن توجد مٌشكلة في كومبايل السيرفر
وهو من ملف
combat_zone.cpp
هذا الملف غير مضاف ف السورس عندي والموجود جديد
قمت بإضافته
في الكومبايل تظهر هذه الرسائل
combat_zone.cpp: In function 'long int combat_zone_warp_event(LPEVENT, long int)':
combat_zone.cpp:179: error: 'class CHARACTER' has no member named 'm_pkCombatZoneWarpEvent'
combat_zone.cpp: In function 'void WarpSetByTime(CHARACTER*, DWORD, DWORD)':
combat_zone.cpp:189: error: 'class CHARACTER' has no member named 'm_pkCombatZoneWarpEvent'
combat_zone.cpp: In function 'long int combat_zone_leave_event(LPEVENT, long int)':
combat_zone.cpp:207: error: 'class CHARACTER' has no member named 'm_pkCombatZoneLeaveEvent'
combat_zone.cpp:220: error: 'class CHARACTER' has no member named 'UpdateCombatZoneRankings'
combat_zone.cpp:220: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp:221: error: 'class CHARACTER' has no member named 'SetRealCombatZonePoints'
combat_zone.cpp:221: error: 'class CHARACTER' has no member named 'GetRealCombatZonePoints'
combat_zone.cpp:221: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp:224: error: 'class CHARACTER' has no member named 'm_pkCombatZoneLeaveEvent'
combat_zone.cpp: In member function 'void CCombatZoneManager::OnResetRanking()':
combat_zone.cpp:230: error: 'TPacketGDCombatZoneResetRanking' was not declared in this scope
combat_zone.cpp:230: error: expected `;' before 'p'
combat_zone.cpp:231: error: 'p' was not declared in this scope
combat_zone.cpp:232: error: 'HEADER_GD_COMBAT_ZONE_RESET_RANKING' was not declared in this scope
combat_zone.cpp: In member function 'void CCombatZoneManager::SendCombatZoneInfoPacket(CHARACTER*, DWORD, std::vector<unsigned int, std::allocator<unsigned int> >)':
combat_zone.cpp:321: error: 'TPacketGCSendCombatZone' was not declared in this scope
combat_zone.cpp:321: error: expected `;' before 'pack'
combat_zone.cpp:322: error: 'pack' was not declared in this scope
combat_zone.cpp:322: error: 'HEADER_GC_SEND_COMBAT_ZONE' was not declared in this scope
combat_zone.cpp: In member function 'void FCombatZoneSendLeavingTargetSign::operator()(CEntity*)':
combat_zone.cpp:357: error: 'TARGET_TYPE_COMBAT_ZONE' was not declared in this scope
combat_zone.cpp: In member function 'void CCombatZoneManager::RefreshLeavingTargetSign(CHARACTER*)':
combat_zone.cpp:402: error: 'TARGET_TYPE_COMBAT_ZONE' was not declared in this scope
combat_zone.cpp: In member function 'void CCombatZoneManager::RequestPotion(CHARACTER*)':
combat_zone.cpp:473: error: 'class CHARACTER' has no member named 'GetRealCombatZonePoints'
combat_zone.cpp: In member function 'void CCombatZoneManager::Leave(CHARACTER*)':
combat_zone.cpp:481: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp:493: error: 'class CHARACTER' has no member named 'SetRealCombatZonePoints'
combat_zone.cpp:493: error: 'class CHARACTER' has no member named 'GetRealCombatZonePoints'
combat_zone.cpp:493: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp:533: error: 'class CHARACTER' has no member named 'm_pkCombatZoneLeaveEvent'
combat_zone.cpp:535: error: 'AFFECT_COMBAT_ZONE_MOVEMENT' was not declared in this scope
combat_zone.cpp: In member function 'void CCombatZoneManager::CalculatePointsByKiller(CHARACTER*, bool)':
combat_zone.cpp:635: error: 'class CHARACTER' has no member named 'SetCombatZonePoints'
combat_zone.cpp:635: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp: In member function 'void CCombatZoneManager::OnDead(CHARACTER*, CHARACTER*)':
combat_zone.cpp:711: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp:715: error: 'class CHARACTER' has no member named 'SetCombatZoneDeaths'
combat_zone.cpp:715: error: 'class CHARACTER' has no member named 'GetCombatZoneDeaths'
combat_zone.cpp:716: error: 'class CHARACTER' has no member named 'SetCombatZonePoints'
combat_zone.cpp:716: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp:719: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp:720: error: 'class CHARACTER' has no member named 'GetCombatZonePoints'
combat_zone.cpp: In member function 'void CCombatZoneManager::RemoveAffect(CHARACTER*)':
combat_zone.cpp:730: error: 'AFFECT_COMBAT_ZONE_MOVEMENT' was not declared in this scope
combat_zone.cpp:731: error: 'AFFECT_COMBAT_ZONE_POTION' was not declared in this scope
combat_zone.cpp:732: error: 'AFFECT_COMBAT_ZONE_DEFENSE' was not declared in this scope
combat_zone.cpp: In member function 'void CCombatZoneManager::OnLogout(CHARACTER*)':
combat_zone.cpp:774: error: 'class CHARACTER' has no member named 'SetCombatZoneDeaths'
combat_zone.cpp:775: error: 'class CHARACTER' has no member named 'SetCombatZonePoints'
combat_zone.cpp: In member function 'void CCombatZoneManager::OnLogin(CHARACTER*)':
combat_zone.cpp:803: error: 'AFFECT_COMBAT_ZONE_DEFENSE' was not declared in this scope
combat_zone.cpp: In member function 'void CCombatZoneManager::AppendSkillCache(CHARACTER*)':
combat_zone.cpp:831: error: 'TPacketGDCombatZoneSkillsCache' was not declared in this scope
combat_zone.cpp:831: error: expected `;' before 'p'
combat_zone.cpp:832: error: 'p' was not declared in this scope
combat_zone.cpp:839: error: 'HEADER_GD_COMBAT_ZONE_SKILLS_CACHE' was not declared in this scope
combat_zone.cpp: In member function 'void CCombatZoneManager::OnRestart(CHARACTER*, int)':
combat_zone.cpp:884: error: 'class CHARACTER' has no member named 'GetCombatZoneDeaths'
combat_zone.cpp:885: error: 'class CHARACTER' has no member named 'SetCombatZoneDeaths'
combat_zone.cpp:888: error: 'class CHARACTER' has no member named 'GetCombatZoneDeaths'
combat_zone.cpp:926: error: 'SCMD_RESTART_COMBAT_ZONE' was not declared in this scope
combat_zone.cpp: In member function 'void CCombatZoneManager::RequestAction(CHARACTER*, const char*)':
combat_zone.cpp:965: error: 'TPacketCGCombatZoneRequestAction' was not declared in this scope
combat_zone.cpp:965: error: 'p' was not declared in this scope
combat_zone.cpp:965: error: expected primary-expression before ')' token
combat_zone.cpp:965: error: expected `;' before 'c_pData'
combat_zone.cpp:976: error: 'class CHARACTER' has no member named 'GetRealCombatZonePoints'
combat_zone.cpp: In member function 'void CCombatZoneManager::RequestRanking(CHARACTER*, DWORD)':
combat_zone.cpp:1061: error: 'TPacketGCCombatZoneRankingData' was not declared in this scope
combat_zone.cpp:1061: error: expected `;' before 'p'
combat_zone.cpp:1062: error: 'p' was not declared in this scope
combat_zone.cpp:1062: error: 'HEADER_GC_RANKING_COMBAT_ZONE' was not declared in this scope
combat_zone.cpp:1066: error: 'TPacketGCCombatZoneRanking' was not declared in this scope
combat_zone.cpp:1078: error: 'TPacketGCCombatZoneRanking' was not declared in this scope
combat_zone.cpp:1100: error: 'TPacketGCCombatZoneRanking' was not declared in this scope
combat_zone.cpp:1108: error: 'TPacketGCCombatZoneRanking' was not declared in this scope
combat_zone.cpp: In member function 'bool CCombatZoneManager::CanUseItem(CHARACTER*, CItem*)':
combat_zone.cpp:1164: error: 'AFFECT_COMBAT_ZONE_POTION' was not declared in this scope
combat_zone.cpp:1171: error: 'AFFECT_COMBAT_ZONE_POTION' was not declared in this scope
combat_zone.cpp:1175: error: 'SE_COMBAT_ZONE_POTION' was not declared in this scope
Makefile:73: recipe for target 'OBJDIR_GAME/combat_zone.o' failed
gmake: *** [OBJDIR_GAME/combat_zone.o] Error 1
مع العلم اني لم اقم بالتعديل على الملف اساساً. هو مرفق وجاهز مع التحميل..