Synth
Exalted Member
Sup everyone!
Well today i added CFBG to my TrinityCore and once i am compiling i get simple errors cz some code are outdated so if you can help for i can slove my issue?
The errors are:
So can i know what i should replace for i can slove my issue ?
and ofc i take the script from here: http://emudevs.com/showthread.php/2245-Trinity-Cross-Faction-Battlegrounds
Thank you!
Best regards,
Synth !
Well today i added CFBG to my TrinityCore and once i am compiling i get simple errors cz some code are outdated so if you can help for i can slove my issue?
The errors are:
Code:
2>..\..\..\..\Source\src\server\game\Cfbg\Cfbg.cpp(112) : error C3861: 'BuildPlayerChat': identifier not found
2>..\..\..\..\Source\src\server\game\Cfbg\Cfbg.cpp(114) : error C3861: 'BuildPlayerChat': identifier not found
2>..\..\..\..\Source\src\server\game\Battlegrounds\Battleground.cpp(714) : error C2039: 'outError' : is not a member of 'Log'
2>Core\Source\src\server\shared\Logging/Log.h(34) : see declaration of 'Log'
2>..\..\..\..\Source\src\server\game\Battlegrounds\Battleground.cpp(714) : error C2065: 'LOG_FILTER_GENERAL' : undeclared identifier
2>..\..\..\..\Source\src\server\game\Entities\Player\Player.cpp(12009) : error C3861: 'getORaceMask': identifier not found
2>..\..\..\..\Source\src\server\game\Entities\Player\Player.cpp(22902) : error C2065: 'LOG_FILTER_PLAYER_LOADING' : undeclared identifier
2>..\..\..\..\Source\src\server\game\Entities\Player\Player.cpp(22902) : error C2065: 'LOG_FILTER_PLAYER_LOADING' : undeclared identifier
Code:
Line 112 is: BuildPlayerChat(&data, msgtype, message, LANG_UNIVERSAL);
Line 114 is: BuildPlayerChat(&data, msgtype, message, pPlayer->GetTeam() == ALLIANCE ? LANG_ORCISH : LANG_COMMON);
Line 714 is: sLog->outError(LOG_FILTER_GENERAL, "BattleGround:RewardReputationToTeam: %u not found!", itr->first);
Line 12009 is: if ((proto->AllowableClass & getClassMask()) == 0 || (proto->AllowableRace & getORaceMask()) == 0)
Line 22902 is: TC_LOG_DEBUG(LOG_FILTER_PLAYER_LOADING, "PLAYER (Class: %u Race: %u): Adding initial spell, id = %u", uint32(getClass()), uint32(getORace()), tspell);
So can i know what i should replace for i can slove my issue ?
and ofc i take the script from here: http://emudevs.com/showthread.php/2245-Trinity-Cross-Faction-Battlegrounds
Thank you!
Best regards,
Synth !
Last edited: