Forums WoW Modding Discussion Miscellaneous [Archive] Trinitycore 3.3.5a

[Archive] Trinitycore 3.3.5a

[Archive] Trinitycore 3.3.5a

rektbyfaith
Administrator
0
11-04-2025, 05:09 PM
#1
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 operator

Click to expand...
The cpp File
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...
rektbyfaith
11-04-2025, 05:09 PM #1

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 operator

Click to expand...
The cpp File
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...

rektbyfaith
Administrator
0
11-04-2025, 05:09 PM
#2
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
rektbyfaith
11-04-2025, 05:09 PM #2

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

rektbyfaith
Administrator
0
11-04-2025, 05:09 PM
#3
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.
rektbyfaith
11-04-2025, 05:09 PM #3

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.

rektbyfaith
Administrator
0
11-04-2025, 05:09 PM
#4
Archived author: Divan • Posted: 2025-11-04T18:09:46.092551
Original source

Quote:Divan said:

I have tried ChatGPT lol it's giving me solutions but the solutions are not working unfortunately.

Click to expand...
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,

and p.s if the solutions chatgpt is giving you dont work, just keep at it, chat will eventually solve your problem, if you are persistent.

also may i ask why trinitycore? nostalgia? i have used azerothcore recently and mate it takes advantage of way more cpu threads vs cmangos for example.
rektbyfaith
11-04-2025, 05:09 PM #4

Archived author: Divan • Posted: 2025-11-04T18:09:46.092551
Original source

Quote:Divan said:

I have tried ChatGPT lol it's giving me solutions but the solutions are not working unfortunately.

Click to expand...
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,

and p.s if the solutions chatgpt is giving you dont work, just keep at it, chat will eventually solve your problem, if you are persistent.

also may i ask why trinitycore? nostalgia? i have used azerothcore recently and mate it takes advantage of way more cpu threads vs cmangos for example.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)