Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: New hook ToggleTesting makes worldserver to restart #42

Open
gabrielveras opened this issue Jul 31, 2024 · 1 comment
Open

Bug: New hook ToggleTesting makes worldserver to restart #42

gabrielveras opened this issue Jul 31, 2024 · 1 comment

Comments

@gabrielveras
Copy link

Current Behaviour

sLFGMgr->ToggleTesting() causes the worldserver to restart

Expected Behaviour

worldserver not to restart

Steps to reproduce the problem

git clone azerothcore master
git clone lfg solo
docker compose
worldserver keeps restarting

Extra Notes

No response

AC rev. hash/commit

unable to run

Operating system

linux on docker

Custom changes or Modules

No response

@gabrielveras
Copy link
Author

It works if I force solo queue with the following workaround:
File LFGMgr.cpp:
[1742] if (true || !m_Testing)
[1837] if ((true || !m_Testing) && !allAnswered)
File LFGMgr.h:
[579] [[nodiscard]] bool IsTesting() const { return true || m_Testing; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant