• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

TrinityCore 3.3.5 Crossfaction RDF where to start ?

BuxBunny

Member
Hello,
So I wanted to implement CrossFaction LFG but I have no idea where to start, I looked for a script out there but I couldn't find any, and I'm pretty sure
Code:
AllowTwoSide.Interaction.Group = 0
is for groups & raids, I only want the people that queue to be able to find each other on RDF.
 

Tommy

Founder
Hello,
So I wanted to implement CrossFaction LFG but I have no idea where to start, I looked for a script out there but I couldn't find any, and I'm pretty sure
Code:
AllowTwoSide.Interaction.Group = 0
is for groups & raids, I only want the people that queue to be able to find each other on RDF.

I just went through some of the LFG files and didn't find any specific Team check statements (unless I'm blind). However, I did find:

Code:
[URL="https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/game/DungeonFinding/LFGMgr.cpp#L1793"]void LFGMgr::SetTeam(ObjectGuid guid, uint8 team)[/URL]
{
    if (sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP))
        team = 0;

    PlayersStore[guid].SetTeam(team);
}

The code above basically sets the team to 0 if crossfaction group is enabled. I'm not exactly sure, but LFG might already work for Alliance & Horde when you have that config option enabled.
 
Top