[Question] How to disable LFG Teleports in WOTLK TrinityCore menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Peter2972's Avatar Member
    Reputation
    1
    Join Date
    Mar 2021
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] How to disable LFG Teleports in WOTLK TrinityCore

    Hello, so i have a WOTLK server im working on, i want to make the Dungeon Finder match you up with a group of People but i wanna disable the part where the Dungeon Finder teleports you to the Dungeon, so people only get the group together quick, but they still have to travel to the dungeon and go in by themselves. How do i do this? Thank you

    These ads disappear when you log in.

  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1548
    Join Date
    Sep 2007
    Posts
    4,471
    Thanks G/R
    130/120
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can edit LFGMgr.cpp:

    Code:
    /**
       Teleports the player in or out the dungeon
    
       @param[in]     player Player to teleport
       @param[in]     out Teleport out (true) or in (false)
       @param[in]     fromOpcode Function called from opcode handlers? (Default false)
    */
    void LFGMgr::TeleportPlayer(Player* player, bool out, bool fromOpcode /*= false*/)
    Something like:
    Code:
    void LFGMgr::TeleportPlayer(Player* player, bool out, bool fromOpcode /*= false*/)
    {
        player->GetSession()->SendLfgTeleportError(uint8(error));
        return;
    }
    That might be all you need to change, there might be another place for when the queue pops.

  3. #3
    Peter2972's Avatar Member
    Reputation
    1
    Join Date
    Mar 2021
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im gonna try, but i can't believe i got answered by Stoneharry himself!

  4. #4
    Peter2972's Avatar Member
    Reputation
    1
    Join Date
    Mar 2021
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Where do i find this File "LFGMgr.cpp" i searched in my Repack folders with the search tool and i did not find it

  5. #5
    stoneharry's Avatar Moderator Harry


    Reputation
    1548
    Join Date
    Sep 2007
    Posts
    4,471
    Thanks G/R
    130/120
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Peter2972 View Post
    Where do i find this File "LFGMgr.cpp" i searched in my Repack folders with the search tool and i did not find it
    You cannot edit this if you are using a repack.

    What I quoted is one of the source code files in the emulator, which can be found here:
    - TrinityCore/LFGMgr.cpp at 3.3.5 . TrinityCore/TrinityCore . GitHub
    - TrinityCore/LFGMgr.cpp at 3.3.5 . TrinityCore/TrinityCore . GitHub

    There is good documentation on how to compile and it is very achievable, but it is quite complicated for someone new to this:
    - TrinityCore
    - TrinityCore - TrinityCore Collaboration Platform
    - Installation Guide - TrinityCore - TrinityCore Collaboration Platform

Similar Threads

  1. How to disable screen capture in TH?
    By Gilavar in forum TurboHUD Discussions
    Replies: 3
    Last Post: 08-30-2018, 10:36 AM
  2. [How-To] how to disable pokesniper ticker in shoutbox
    By NetAnt in forum Pokemon GO Chat
    Replies: 3
    Last Post: 08-12-2016, 02:25 AM
  3. [Question] How to disable Npc rendering
    By hamburger12 in forum WoW Memory Editing
    Replies: 12
    Last Post: 08-17-2013, 12:02 AM
  4. [QUESTION] How to change the slime in UC
    By BACKABACKA in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 08-06-2008, 11:03 AM
  5. [Question] How to add multiple files in MWCS
    By Randie in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 04-21-2008, 03:52 PM
All times are GMT -5. The time now is 07:38 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search