How to setup WoD server? TrinityCore 6.x

I have searched all over the forums and can’t find anything that exactly matches this.

I can connect fine to the server using my windows client, but when I try to connect using my mac client it immediately bounces back stating “You have been disconnected from the server”.

I have the correct IP address in the config.wtf (And realmlist in the DB) but still can’t connect.

I of course can’t apply the connection patcher, because the EXE isn’t mac compatible.

Is there something else I need to do to connect with mac?

Here is my connection.log if it helps (NOTE that the “.logon.battle.net” I can’t get rid of… there is no where config.wtf that has that).

3/14 13:10:21.966 Login program=WoW platform=Mc64 locale=enUS 3/14 13:10:22.097 Component WoW.Mc64.20886 3/14 13:10:22.097 Component WoW.base.20726 3/14 13:10:22.099 Battle.net is Component Bnet.Mc64.37165 3/14 13:10:22.099 LOGIN: state: LOGIN_STATE_CONNECTING result: LOGIN_OK 3/14 13:10:22.145 Failed to resolve “108.26.241.19”.logon.battle.net 3/14 13:10:22.145 LOGIN: state: LOGIN_STATE_FAILED result: DISCONNECTED 3/14 13:10:22.145 Login program=WoW platform=Mc64 locale=enUS 3/14 13:10:22.145 Component WoW.Mc64.20886 3/14 13:10:22.145 Component WoW.base.20726 3/14 13:10:22.154 Battle.net is Component Bnet.Mc64.37165 3/14 13:10:23.298 Client Disconnect due to reason:8 3/14 13:12:54.053 LOGIN: state: LOGIN_STATE_CONNECTING result: LOGIN_OK 3/14 13:12:54.073 Failed to resolve “192.168.1.130”.logon.battle.net 3/14 13:12:54.151 LOGIN: state: LOGIN_STATE_FAILED result: DISCONNECTED 3/14 13:12:54.151 Login program=WoW platform=Mc64 locale=enUS 3/14 13:12:54.173 Component WoW.Mc64.20886 3/14 13:12:54.173 Component WoW.base.20726 3/14 13:12:54.308 Battle.net is Component Bnet.Mc64.37165 3/14 13:12:54.309 Client Disconnect due to reason:8

One other note: I do notice a very quick flash of an error that says “Blizzard Error #105”, but again, in the forums I found nothing relating to that.

https://community.trinitycore.org/topic/10656-updating-or-starting-with-trinitycore-issues/?do=findComment&comment=70086

Aokromes, yes I saw your post already in there that I’m trying to connect with an unpatched client. Which points me back to the first question I posted above… How do I patch a Mac client? EXE’s don’t run on macs.

OFC you must patch your mac with mac patcher.

Ok, maybe I’m being completely dense here… but where is the Mac Patcher? I’ve looked all through my core build out (even with tools checked on cMake) and I can’t find it anywhere. Do I have to do a complete build with Mac to get it? Is there anywhere here on Trinity’s source that I can download it from?

I’m running out of ideas here. I copied my World of Warcraft.app to my PC… patched “World of Warcraft” located in the MacOSX folder and then copied the “World of Warcraft Patched.app” back to my mac. Would not even launch.

Anyone have any ideas?

You must compile tc on osx with tools and patch it with osx patcher.

Go to /Applications/World of Warcraft on your mac… copy the World of Warcraft.app directory over to your wow server… I placed it in a Patch directory. Then cd over to the Patch directory. Then you need to run the connection_patcher. Do a connection_patcher --path /path/to/World of Warcraft.app/Contents/MacOS/World of Warcraft. You need to make sure you do the full path thru the app directory. when that is done… you should have a World of Warcraft Patched.app in the Patch directory. copy that back to the mac… and you should be good to go.

Thank you so much for this! Helped a lot!

Hey Guys,

I want to explore the 6.x server.

As for now according to the wiki I understand that 6.x follows the latest patch available

I wonder how can I open a WoD server using the 6.x?

Should I use an earlier branch?

I tried to compile 363731a but I kept gettings errors

What is the right way to get a working WoD server for linux?

Thanks, Nitzan

Current 6.x branch supports client 7.0.3

You might be able to have WoD support by checking out tag 6.2.4/21742

Thanks , I’ll try again and if I’ll encounter an error I’ll post :slight_smile:

EDIT

Recompiled and it runs, thanks :slight_smile:

Hey @Nay

I received the following error

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp

Run Build Command:“/usr/bin/make” “cmTryCompileExec611397089/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec611397089.dir/build.make CMakeFiles/cmTryCompileExec611397089.dir/build
make[1]: Entering directory ‘/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp’
/usr/bin/cmake -E cmake_progress_report /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec611397089.dir/CheckSymbolExists.c.o
/usr/bin/cc -std=gnu99 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -o CMakeFiles/cmTryCompileExec611397089.dir/CheckSymbolExists.c.o -c /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec611397089
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec611397089.dir/link.txt --verbose=1
/usr/bin/cc -std=gnu99 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors CMakeFiles/cmTryCompileExec611397089.dir/CheckSymbolExists.c.o -o cmTryCompileExec611397089 -rdynamic
CMakeFiles/cmTryCompileExec611397089.dir/CheckSymbolExists.c.o: In function main': CheckSymbolExists.c:(.text+0x16): undefined reference to pthread_create’
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec611397089.dir/build.make:88: recipe for target ‘cmTryCompileExec611397089’ failed
make[1]: Leaving directory ‘/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp’
Makefile:118: recipe for target ‘cmTryCompileExec611397089/fast’ failed
make[1]: *** [cmTryCompileExec611397089] Error 1
make: *** [cmTryCompileExec611397089/fast] Error 2

File /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp

Run Build Command:“/usr/bin/make” “cmTryCompileExec731348423/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec731348423.dir/build.make CMakeFiles/cmTryCompileExec731348423.dir/build
make[1]: Entering directory ‘/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp’
/usr/bin/cmake -E cmake_progress_report /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec731348423.dir/CheckFunctionExists.c.o
/usr/bin/cc -std=gnu99 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec731348423.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.0/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec731348423
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec731348423.dir/link.txt --verbose=1
/usr/bin/cc -std=gnu99 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec731348423.dir/CheckFunctionExists.c.o -o cmTryCompileExec731348423 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec731348423.dir/build.make:88: recipe for target ‘cmTryCompileExec731348423’ failed
make[1]: Leaving directory ‘/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp’
Makefile:118: recipe for target ‘cmTryCompileExec731348423/fast’ failed
make[1]: *** [cmTryCompileExec731348423] Error 1
make: *** [cmTryCompileExec731348423/fast] Error 2

Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output:
Change Dir: /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp

Run Build Command:“/usr/bin/make” “cmTryCompileExec591387630/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec591387630.dir/build.make CMakeFiles/cmTryCompileExec591387630.dir/build
make[1]: Entering directory ‘/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp’
/usr/bin/cmake -E cmake_progress_report /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec591387630.dir/src.cxx.o
/usr/bin/c++ -std=c++11 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -Woverloaded-virtual -Dboost_filesystem_copy_links_without_NO_SCOPED_ENUM -std=c++11 -o CMakeFiles/cmTryCompileExec591387630.dir/src.cxx.o -c /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTryCompileExec591387630
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec591387630.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++11 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -Woverloaded-virtual -Dboost_filesystem_copy_links_without_NO_SCOPED_ENUM -std=c++11 CMakeFiles/cmTryCompileExec591387630.dir/src.cxx.o -o cmTryCompileExec591387630 -rdynamic -lboost_system -lboost_filesystem -lboost_iostreams
CMakeFiles/cmTryCompileExec591387630.dir/src.cxx.o: In function boost::filesystem::copy_file(boost::filesystem::path const&, boost::filesystem::path const&)': src.cxx:(.text._ZN5boost10filesystem9copy_fileERKNS0_4pathES3_[_ZN5boost10filesystem9copy_fileERKNS0_4pathES3_]+0x26): undefined reference to boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::error_code*)’
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec591387630.dir/build.make:91: recipe for target ‘cmTryCompileExec591387630’ failed
make[1]: Leaving directory ‘/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp’
Makefile:118: recipe for target ‘cmTryCompileExec591387630/fast’ failed
make[1]: *** [cmTryCompileExec591387630] Error 1
make: *** [cmTryCompileExec591387630/fast] Error 2

Source file was:

#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
int main() { boost::filesystem::copy_file(boost::filesystem::path(), boost::filesystem::path()); }

What could be wrong here?