Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. I was finally able to solve this myself, after much mucking. I'm not sure how to make these changes in the "proper" way, but hopefully this will be useful to someone. Either someone making a patch, or someone who's just struggling to make it work for themselves. Cannot find -lACE Assuming you actually have ACE installed, this indicates that you need to add the location of the library. I did target_link_libraries(${EXECUTABLE_NAME} -L/usr/local/lib) I'm sure there's a more general way to add the location of ACE. Undefined reference to <a few things> One of the binaries (mangosd I think) had ACE listed before libshared.a. Ordering of arguments to the linker matters, so place ACE last. Undefined reference to <lots of things> Quite a few ACE functions are meant to be inlined, and as such are not included in the .so file. But to inline them, __ACE_INLINE__ needs to be defined. I added add_compile_definitions(__ACE_INLINE__) to the root CMakeLists.txt.
  3. Last week
  4. I'm having trouble building on FreeBSD. This is without "use external ACE" checked, as that failed even harder. At first it couldn't even find -lACE, some tweaking later I got page upon page of undefined references to all sorts of stuff. Output from running make, after adding -v to linker flags: [[email protected] ~/two/src/server/linux]$ make [ 26%] Built target ace [ 29%] Built target lualib [ 30%] Built target bzip2 [ 31%] Built target libmpq [ 32%] Built target detour [ 33%] Built target recast [ 37%] Built target g3dlite [ 39%] Built target zlib [ 39%] Built target loadlib [ 39%] Built target framework [ 41%] Built target shared [ 42%] Built target realmd [ 42%] Built target pchdef.cpp_dephelp [ 42%] Built target generate_pchdef.cpp [ 42%] Built target precompiled.cpp_dephelp [ 42%] Built target generate_precompiled.cpp [ 82%] Built target mangosscript [ 83%] Built target LuaEngine [ 98%] Built target game [ 98%] Linking CXX executable mangosd FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o mangosd /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/home/mangos/two/src/server/linux/dep/acelite/ace -L/usr/lib --no-as-needed -lrt CMakeFiles/mangosd.dir/AFThread.cpp.o CMakeFiles/mangosd.dir/CliThread.cpp.o CMakeFiles/mangosd.dir/RAThread.cpp.o CMakeFiles/mangosd.dir/WorldThread.cpp.o CMakeFiles/mangosd.dir/mangosd.cpp.o -rpath /home/mangos/two/src/server/linux/dep/acelite/ace:/usr/local/lib:/usr/local/lib/mysql: ../game/libgame.a ../shared/libshared.a ../framework/libframework.a ../../dep/g3dlite/libg3dlite.a /usr/local/lib/libssl.so /usr/local/lib/libcrypto.so ../../dep/acelite/ace/libace.a /usr/local/lib/mysql/libmysqlclient.so -lz ../../dep/recastnavigation/Detour/Source/libdetour.a ../modules/SD3/libmangosscript.a ../modules/Eluna/libLuaEngine.a ../../dep/lualib/liblualib.a -lc++ -lm -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o ../modules/Eluna/libLuaEngine.a(LuaFunctions.cpp.o): In function `ElunaTemplate<unsigned long long>::Pow(lua_State*)': LuaFunctions.cpp:(.text+0x1cb6d): warning: powl has lower than advertised precision ../../dep/lualib/liblualib.a(loslib.c.o): In function `os_tmpname': loslib.c:(.text+0x8a7): warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() ../../dep/acelite/ace/libace.a(OS_NS_stdio.cpp.o): In function `ACE_OS::tempnam(char const*, char const*)': OS_NS_stdio.cpp:(.text+0x12d6): warning: warning: tempnam() possibly used unsafely; consider using mkstemp() ../../dep/acelite/ace/libace.a(OS_NS_stdlib.cpp.o): In function `ACE_OS::mktemp(char*)': OS_NS_stdlib.cpp:(.text+0xcb6): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/bin/ld: warning: libssl.so.8, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libssl.so.9 /usr/bin/ld: warning: libcrypto.so.8, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypto.so.9 ../game/libgame.a(WorldSocketMgr.cpp.o): In function `ACE_Acceptor<WorldSocket, ACE_SOCK_Acceptor>::open(ACE_INET_Addr const&, ACE_Reactor*, int, int, int)': WorldSocketMgr.cpp:(.text._ZN12ACE_AcceptorI11WorldSocket17ACE_SOCK_AcceptorE4openERK13ACE_INET_AddrP11ACE_Reactoriii[_ZN12ACE_AcceptorI11WorldSocket17ACE_SOCK_AcceptorE4openERK13ACE_INET_AddrP11ACE_Reactoriii]+0x33): undefined reference to `ACE_INET_Addr::operator=(ACE_INET_Addr const&)' WorldSocketMgr.cpp:(.text._ZN12ACE_AcceptorI11WorldSocket17ACE_SOCK_AcceptorE4openERK13ACE_INET_AddrP11ACE_Reactoriii[_ZN12ACE_AcceptorI11WorldSocket17ACE_SOCK_AcceptorE4openERK13ACE_INET_AddrP11ACE_Reactoriii]+0x5c): undefined reference to `ACE_SOCK_Acceptor::open(ACE_Addr const&, int, int, int, int, int)' ../modules/Eluna/libLuaEngine.a(LuaEngine.cpp.o): In function `Eluna::GetScripts(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)': LuaEngine.cpp:(.text+0x523): undefined reference to `ACE_Dirent::ACE_Dirent()' LuaEngine.cpp:(.text+0x547): undefined reference to `ACE_Dirent::open(char const*)' LuaEngine.cpp:(.text+0x78d): undefined reference to `ACE_Dirent::read()' LuaEngine.cpp:(.text+0xa12): undefined reference to `ACE_Dirent::~ACE_Dirent()' LuaEngine.cpp:(.text+0xc46): undefined reference to `ACE_Dirent::~ACE_Dirent()' LuaEngine.cpp:(.text+0xced): undefined reference to `ACE_Dirent::~ACE_Dirent()' LuaEngine.cpp:(.text+0xd16): undefined reference to `ACE_Dirent::~ACE_Dirent()' LuaEngine.cpp:(.text+0xd2c): undefined reference to `ACE_Dirent::~ACE_Dirent()' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /usr/home/mangos/two/src/server/linux *** Error code 1 Stop. make[1]: stopped in /usr/home/mangos/two/src/server/linux *** Error code 1 Stop. make: stopped in /usr/home/mangos/two/src/server/linux libace.a is certainly being linked. Looking for some of the functions it complains about, we can see that they are present: [email protected]:/home/mangos/two/src/server/linux # nm dep/acelite/ace/libace.a | grep ACE_Dirent 0000000000000000 T _ZN10ACE_Dirent4openEPKc 0000000000000110 T _ZN10ACE_Dirent4readEP6direntPS1_ 00000000000000f0 T _ZN10ACE_Dirent4readEv 0000000000000180 T _ZN10ACE_Dirent4seekEl 00000000000001a0 T _ZN10ACE_Dirent4tellEv 0000000000000130 T _ZN10ACE_Dirent5closeEv 0000000000000160 T _ZN10ACE_Dirent6rewindEv 0000000000000050 T _ZN10ACE_DirentC1EPKc 0000000000000040 T _ZN10ACE_DirentC1Ev 0000000000000050 T _ZN10ACE_DirentC2EPKc 0000000000000040 T _ZN10ACE_DirentC2Ev 00000000000000d0 T _ZN10ACE_DirentD1Ev 00000000000000d0 T _ZN10ACE_DirentD2Ev 0000000000000160 T _ZN19ACE_Dirent_Selector4openEPKcPFiPK6direntEPFiPS4_S7_E 00000000000000b0 T _ZN19ACE_Dirent_Selector5closeEv 0000000000000030 T _ZN19ACE_Dirent_SelectorC1Ev 0000000000000030 T _ZN19ACE_Dirent_SelectorC2Ev 0000000000000100 T _ZN19ACE_Dirent_SelectorD0Ev 0000000000000050 T _ZN19ACE_Dirent_SelectorD1Ev 0000000000000050 T _ZN19ACE_Dirent_SelectorD2Ev 0000000000000000 T _ZNK19ACE_Dirent_Selector6lengthEv 0000000000000010 T _ZNK19ACE_Dirent_SelectorixEi 0000000000000038 R _ZTI19ACE_Dirent_Selector 0000000000000020 R _ZTS19ACE_Dirent_Selector 0000000000000000 R _ZTV19ACE_Dirent_Selector Any idea how I can fix this?
  5. I have the same issue and this is still not working. I've updated address/localaddress in the realmd realmlist data table. Everything is running fine. I've forwarded ports and even tried leaving everything open on firewall. I get to realm selection and stuck at "connected". I don't understand what I'm doing wrong, I feel like I'm at my wits end with mangos.
  6. In mangosd.conf set LogFilter_AIAndMovegens = 1
  7. database isn't installing properly i've tried five times now with a fresh database install, updates, everything. the updates don't work, keeps saying "update skipped". and when i try running mangosd, it tells me i'm missing quest 8332 text and revision refactor.
  8. I have the same issue. and you are correct H0zen we can do that but I still want to see the log ins on my server as well as any other player related activities. and the minimum level to see thsoe is level 2, where this problem still occurs.
  9. Also, not sure if this will be of any use but this is the guide I'm using:
  10. After trying to install the new updates (starting at REL21_16_003_areatrigger_teleport_RFK.sql and ending at Rel21_16_015_NPC_16548_ModelID_update.sql), I get: [* UPDATE SKIPPED * Rel21_16_002 - IS NOT APPLIED 21_1_0 - revision_refactor] (repeated all the way up the list, so none are updating) Hopefully there's something I can do! I even got rid of the database folder entirely and recreated the database fresh again, still the same issue
  11. After installing the database, Your character and realm database should be up to date and require no current query. You world database should require updates starting with Rel21_16_003_areatrigger_teleport_RFK.sql and ending with Rel21_16_015_NPC_16548_ModelID_update.sql Your current world database version on a fresh install should be Rel21_16_002_Add_Field_Comments_pt2.sql
  12. Also - I've tried installing the "Rel21_16_012_quest_8332_text_update.sql" file with installdatabase.sh, but it tells me: "Rel21_16_011 - IS NOT APPLIED 21_1_0 - revision_refactor"
  13. Thank you for the reply 😀 I'm actually having a different issue now, it would seem. Apparently I'm missing "revision_refactor" and "quest_8332_text_update".
  14. I am unable to find the update "Honor Counting" There should be a set of numbers before the name such as Rel##_##_### _Honor Counting.sql Please provide this so I can further assist you
  15. Changed Status to Cannot Reproduce Changed Version to 21.14 (Master Branch) Changed Implemented Version to 21.14 (Master Branch) Changed Priority to Unset Changed Sub-Category to Looting
  16. I'm having some serious trouble with this... I've run updates on my databases and these keep failing during the update, and without them mangosd won't run. Please, somebody help me
  17. Also, I'm on the newest version of Debian if it matters. I'm running all commands remotely through PuTTY.
  18. Hi guys. I've been trying forever to get my server running from a VPS. I've set everything up, mysql runs fine and realmd runs fine. But now I've encountered an error when I try starting mangosd: "Could not connect to MySQL database at 127.0.0.1: Unknown database 'mangosd' Can not connect to world database 127.0.0.1;3306;root;(mypassword);mangosd" The "(mypassword)" part, obviously, is replaced with my actual password. None of this makes sense, I can see my mangosd file right there along with my realmd file in my /mangos/bin/ directory. I've extracted all maps and data. Really frustrated right now, and hoping someone can give me some experienced input. -bum558
  19. Honestly im not sure on this issue myself, I've got a buddy that only him he gets between 500-900 ping and I can't for the life of me figure out why. I just switched to a solid state for my server so ill see if maybe it was a hdd latency issue or not.
  20. Remove the # from the beginning of the lines for the values to take effect
  21. Hello. I enabled the player bots in the config file. 500 random bots were generated, but all of them are on lvl 1. I set the following settings, but it seems to be ignore the settings: # Random bot count #AiPlayerbot.MinRandomBots = 500 #AiPlayerbot.MaxRandomBots = 500 #AiPlayerbot.RandomBotMinLevel = 30 #AiPlayerbot.RandomBotMaxLevel = 255 (ignored if more than MaxPlayerLevel mangosd.conf value) If somebody could help me set the random bot levels between 30 and 60, I would appreciate it.
  22. Earlier
  23. No response in almost a year.
  24. Changed Status to No Response
  1. Load more activity

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • Create New...