[Archive] Trinitycore 3.3.5a
[Archive] Trinitycore 3.3.5a
Quote: binary '[': 'BattlegroundQueue::GroupsQueueType' does not define this operator or a conversion to a type acceptable to the predefined operatorThe cpp File
Click to expand...
Quote: #include "CFBGQueue.h"
#include "BattlegroundMgr.h"
#include "Battleground.h"
#include "BattlegroundQueue.h"
#include "World.h"
#include "ScriptMgr.h"
class GroupList : public std::list<GroupQueueInfo*>
{
public:
void AddGroups(std::list<GroupQueueInfo*> list)
{
insert(end(), list.begin(), list.end());
}
void Sort()
{
sort([](GroupQueueInfo* a, GroupQueueInfo* b) { return a->JoinTime < b->JoinTime; });
}
};
bool CFBGQueue::CheckMixedMatch(BattlegroundQueue * queue, Battleground * bg_template, BattlegroundBracketId bracket_id, uint32 minPlayers, uint32 maxPlayers)
{
return CFBGGroupInserter(queue, bg_template, bracket_id, maxPlayers, maxPlayers, minPlayers);
}
bool CFBGQueue::MixPlayersToBG(BattlegroundQueue * queue, Battleground * bg, BattlegroundBracketId bracket_id)
{
return CFBGGroupInserter(queue, bg
Click to expand...
Archived author: Divan • Posted: 2025-11-04T18:09:46.092551
Original source
Hi All,
I recently compiled the trinitycore 3.3.5a from HERE and everything was working fine, I attempted to add the CFBG from this core HERE
I resolved some of the errors but I am not stuck on the one below on the CFBGQueue.cpp.
Error Code:
Quote: binary '[': 'BattlegroundQueue::GroupsQueueType' does not define this operator or a conversion to a type acceptable to the predefined operatorThe cpp File
Click to expand...
Quote: #include "CFBGQueue.h"
#include "BattlegroundMgr.h"
#include "Battleground.h"
#include "BattlegroundQueue.h"
#include "World.h"
#include "ScriptMgr.h"
class GroupList : public std::list<GroupQueueInfo*>
{
public:
void AddGroups(std::list<GroupQueueInfo*> list)
{
insert(end(), list.begin(), list.end());
}
void Sort()
{
sort([](GroupQueueInfo* a, GroupQueueInfo* b) { return a->JoinTime < b->JoinTime; });
}
};
bool CFBGQueue::CheckMixedMatch(BattlegroundQueue * queue, Battleground * bg_template, BattlegroundBracketId bracket_id, uint32 minPlayers, uint32 maxPlayers)
{
return CFBGGroupInserter(queue, bg_template, bracket_id, maxPlayers, maxPlayers, minPlayers);
}
bool CFBGQueue::MixPlayersToBG(BattlegroundQueue * queue, Battleground * bg, BattlegroundBracketId bracket_id)
{
return CFBGGroupInserter(queue, bg
Click to expand...
Archived author: Divan • Posted: 2025-11-04T18:09:46.092551
Original source
The full code is not attached. But honestly I would just use ChatGPT for this syntax error; It should fix it for you if you provide a bit of context to it
Archived author: Divan • Posted: 2025-11-04T18:09:46.092551
Original source
I have tried ChatGPT lol it's giving me solutions but the solutions are not working unfortunately.
Quote:Divan said:i had this same issue when i was using chatgpt 4o alot of the solutions did not work, these days i pay 20 dollars a month to chatgpt for sub, and use the best model that is available to me in 5o, it has made things so much better,
I have tried ChatGPT lol it's giving me solutions but the solutions are not working unfortunately.
Click to expand...
Archived author: Divan • Posted: 2025-11-04T18:09:46.092551
Original source
Quote:Divan said:i had this same issue when i was using chatgpt 4o alot of the solutions did not work, these days i pay 20 dollars a month to chatgpt for sub, and use the best model that is available to me in 5o, it has made things so much better,
I have tried ChatGPT lol it's giving me solutions but the solutions are not working unfortunately.
Click to expand...