Jump to content

Search the Community

Showing results for tags 'linux'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Releases and Announcements
  • Help and Support
    • Help and Support
  • Offtopic
    • Trinitycore.org Website issues
    • Chillout Room

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 10 results

  1. -- EDIT BY Aokromes -- If you get "unknown column" "missing table" "Duplicate column" errors: use mysql --default-character-set=utf8 to avoid import failures because timeout/mysql gone away/etc 1) Clone desired branch. 2) Import sql/create/create_mysql.sql 3) start core 4) leave core to update databases. Our Wiki: http://collab.kpsn.org/display/tc/TrinityCore+Home
  2. Hello, I recently just updated to the latest version on master (, SHA: 138e822d859fd9ff9d79e1ce16823992ad43aec4) and noticed that my linux build was no longer compiling. The build was failing on a few variables in 'UpdateFields.h' due to the variables being named the same as their struct/class UpdateFields.h : 384 : UpdateFieldArray<QuestLog, 100, 35, 36> QuestLog; UpdateFields.h : 482 : UpdateFieldArray<DynamicUpdateField<Research, -1, -1>, 1, 20, 21> Research; UpdateFields.h : 495 : DynamicUpdateField<SpellPctModByLabel, 0, 17> SpellPctModByLabel; UpdateFields.h : 496 : DynamicUpdateField<SpellFlatModByLabel, 0, 18> SpellFlatModByLabel; UpdateFields.h : 577 : UpdateFieldArray<RestInfo, 2, 461, 462> RestInfo; UpdateFields.h : 586 : UpdateFieldArray<PVPInfo, 6, 551, 552> PvpInfo; It compiles fine in visual studio but fails with gcc. I am not familiar enough with gcc to know if there are any settings that would allow this. However, in the mean time, I was able to get it to compile by providing the namespace for the struct. It works but might not be the best solution or fit with the coding standards. Heres the updates below. UpdateFields.h : 384 : UpdateFieldArray<UF::QuestLog, 100, 35, 36> QuestLog; UpdateFields.h : 482 : UpdateFieldArray<DynamicUpdateField<UF::Research, -1, -1>, 1, 20, 21> Research; UpdateFields.h : 495 : DynamicUpdateField<UF::SpellPctModByLabel, 0, 17> SpellPctModByLabel; UpdateFields.h : 496 : DynamicUpdateField<UF::SpellFlatModByLabel, 0, 18> SpellFlatModByLabel; UpdateFields.h : 577 : UpdateFieldArray<UF::RestInfo, 2, 461, 462> RestInfo; UpdateFields.h : 586 : UpdateFieldArray<UF::PVPInfo, 6, 551, 552> PvpInfo; I was thinking about making a pull request for it but wanted to make sure it was correct first. Also, wasn't sure how the pull request process works in github. Let me know if there are any issues with this or if there is anything that needs to be changed. Thank you, Chaz H
  3. So I'm trying to set up a debugging process where I can see what functions are being called when I do certain things in game, that way I can hopefully locate exactly which functions in which cpp files might possibly be involved with the bug I'm trying to fix. Is something like this possible? I can get VS Code to launch my worldserver or attach to the worldserver process but beyond that I'm not getting any other information out of the Call Stack or anything when I make certain actions in-game. Thanks
  4. Hello! I read that I can extract DBC/Maps etc on windows and put it on a linux server, after running the Trinity core under windows I would like to do it under Linux (it also make me learn a bit of Linux) But I got this problem and maybe you can help me to solve it (The red border is to show what come from my windows)
  5. Hello! I was checking my DB but I didn't find any table that could tell "this is when it will happen" I wonder how it work, I activated it but is there a table to put the unix time? (like to do : every wednesday, at 15:25:30 there will be the distribution) Thanks!
  6. Hi guys, i compiled my server under linux and i saw the thing about needing a connection patcher for my client (that needs to be compiled under windows) so i compiled my project on windows too but i can't find the connection patcher, it is nowhere to be seen !
  7. I am compiling on Linux, trying to make a 1.12 private server on Manjaro Linux. I'm having some issues with Cmake. To run Cmake succesfully, I used the following command, since Cmake found openssl 1.1: cmake .. -DPREFIX=/home/wow/bin -DOPENSSL_LIBRARIES=/usr/lib/libssl.so.1.0.0 -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0/ Configuration worked. After running 'make' I got into trouble. Here's the output of my Terminal: make (....) [ 20%] Linking CXX executable bnetserver CMakeFiles/bnetserver.dir/Main.cpp.o: In function `main::{lambda()#3}::operator()() const': Main.cpp:(.text+0x53d): undefined reference to `SSLeay_version' CMakeFiles/bnetserver.dir/Main.cpp.o: In function `boost::asio::ssl::detail::openssl_init_base::do_init::do_init()': Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initC2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initC5Ev]+0x1c): undefined reference to `SSL_library_init' Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initC2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initC5Ev]+0x21): undefined reference to `SSL_load_error_strings' Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initC2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initC5Ev]+0x26): undefined reference to `OPENSSL_add_all_algorithms_noconf' Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initC2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initC5Ev]+0x2f): undefined reference to `CRYPTO_num_locks' Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initC2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initC5Ev]+0xa2): undefined reference to `CRYPTO_set_locking_callback' CMakeFiles/bnetserver.dir/Main.cpp.o: In function `boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()': Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x12): undefined reference to `CRYPTO_set_locking_callback' Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x17): undefined reference to `ERR_free_strings' Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x1c): undefined reference to `EVP_cleanup' Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x21): undefined reference to `CRYPTO_cleanup_all_ex_data' Main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x3a): undefined reference to `ENGINE_cleanup' CMakeFiles/bnetserver.dir/Server/SslContext.cpp.o: In function `boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)': SslContext.cpp:(.text._ZN5boost4asio3ssl7contextC2ENS1_12context_base6methodE[_ZN5boost4asio3ssl7contextC5ENS1_12context_base6methodE]+0x1a9): undefined reference to `SSLv23_method' SslContext.cpp:(.text._ZN5boost4asio3ssl7contextC2ENS1_12context_base6methodE[_ZN5boost4asio3ssl7contextC5ENS1_12context_base6methodE]+0x1c5): undefined reference to `SSLv23_client_method' SslContext.cpp:(.text._ZN5boost4asio3ssl7contextC2ENS1_12context_base6methodE[_ZN5boost4asio3ssl7contextC5ENS1_12context_base6methodE]+0x1e1): undefined reference to `SSLv23_server_method' SslContext.cpp:(.text._ZN5boost4asio3ssl7contextC2ENS1_12context_base6methodE[_ZN5boost4asio3ssl7contextC5ENS1_12context_base6methodE]+0x1fd): undefined reference to `SSLv23_method' SslContext.cpp:(.text._ZN5boost4asio3ssl7contextC2ENS1_12context_base6methodE[_ZN5boost4asio3ssl7contextC5ENS1_12context_base6methodE]+0x247): undefined reference to `SSLv23_client_method' SslContext.cpp:(.text._ZN5boost4asio3ssl7contextC2ENS1_12context_base6methodE[_ZN5boost4asio3ssl7contextC5ENS1_12context_base6methodE]+0x28a): undefined reference to `SSLv23_server_method' ../../../dep/gsoap/libgsoap.a(stdsoap2.cpp.o): In function `soap_ssl_init': stdsoap2.cpp:(.text+0x6752): undefined reference to `SSL_library_init' stdsoap2.cpp:(.text+0x6757): undefined reference to `OPENSSL_add_all_algorithms_noconf' stdsoap2.cpp:(.text+0x675c): undefined reference to `SSL_load_error_strings' ../../../dep/gsoap/libgsoap.a(stdsoap2.cpp.o): In function `ssl_auth_init': stdsoap2.cpp:(.text+0x69d7): undefined reference to `SSLv23_method' ../../../dep/gsoap/libgsoap.a(stdsoap2.cpp.o): In function `tcp_connect': stdsoap2.cpp:(.text+0x8ffd): undefined reference to `SSL_state' stdsoap2.cpp:(.text+0x91d0): undefined reference to `sk_pop_free' stdsoap2.cpp:(.text+0x91f9): undefined reference to `sk_num' stdsoap2.cpp:(.text+0x9225): undefined reference to `sk_value' stdsoap2.cpp:(.text+0x92c1): undefined reference to `sk_pop_free' collect2: fout: ld gaf exit-status 1 terug make[2]: *** [src/server/bnetserver/CMakeFiles/bnetserver.dir/build.make:348: src/server/bnetserver/bnetserver] Fout 1 make[1]: *** [CMakeFiles/Makefile2:1256: src/server/bnetserver/CMakeFiles/bnetserver.dir/all] Fout 2 make: *** [Makefile:130: all] Fout 2 I presume I'm having trouble because of OpenSSL and Boost, but I'm not entirely sure. At least I dont know how to solve this problem. Could anyone help me with this problem? Many thanks in advance!
  8. I followed the guide on how to install the core on Linux, but while configuring CMake I got this error: [email protected]:~/absolutely-hopeless-server/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=/home/netherblood/server -DCONF_DIR=/home/netherblood/server/etc -DTOOLS=1 -DWITH_WARNINGS=1 -- Detected 64-bit platform -- UNIX: Using default library directory CMake Error at cmake/platform/unix/settings.cmake:14 (configure_file): configure_file attempted to configure a file: /home/netherblood/absolutely-hopeless-server/cmake_uninstall.cmake into a source directory. Call Stack (most recent call first): cmake/macros/CheckPlatform.cmake:13 (include) CMakeLists.txt:58 (include) -- Configuring incomplete, errors occurred! See also "/home/netherblood/absolutely-hopeless-server/CMakeFiles/CMakeOutput.log". [email protected]:~/absolutely-hopeless-server/build$ Attached is the log. CMakeOutput (1).log
  9. On my test server, I run a Cron Job that pulls source once a week, rebuilds the servers and restarts the servers. THIS IS FOR LINUX ONLY You do not need root access for this. Simply open a shell and type crontab -e Add the following to the cron tab 00 01 * * 0 /home/trinity/servers/legion/cron/update This will run at 1am every Sunday Save and Exit depending on which editor you choose to use. -------------------------------------------------------------------------- The Following update script is what I use which is placed in /home/trinity/server/cron The files name is update and needs to be set as executable (chmod +x update) cd /home/trinity/TrinityCore git pull origin master (or 6x if you are not using the master branch) cd build make clean cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/server -DTOOLS=0 -DWITH_WARNINGS=1 -DCONF_DIR=/home/trinity/server/etc make make install If you use a manage script to start and stop your servers, I recommend you run the stop command between make and make install This is just a recommendation, so your server is never far from the current revision but as always, keep an eye on IRC and the Github Repositories.
  10. 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 “”.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 “”.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
  • Create New...