Jump to content

kero99

Members
  • Posts

    157
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

kero99's Achievements

Advanced Member

Advanced Member (3/3)

0

Reputation

  1. Hi, i have some compile error, my environment is Ubuntu 10.10 server 64bit GCC 4.4.1 - Mangos REV 11382: In file included from /root/mangosdev/src/game/WardenMgr.h:27, from /root/mangosdev/src/game/WardenMgr.cpp:19: /root/mangosdev/src/game/WorldSession.h:182: warning: unused parameter 'packet' /root/mangosdev/src/game/WardenMgr.h: In constructor 'WardenMgr::WardenMgr()': /root/mangosdev/src/game/WardenMgr.h:211: warning: 'WardenMgr::m_Banning' will be initialized after /root/mangosdev/src/game/WardenMgr.h:207: warning: 'bool WardenMgr::m_HalfCall' /root/mangosdev/src/game/WardenMgr.cpp:36: warning: when initialized here /root/mangosdev/src/game/WardenMgr.cpp: In member function 'void WardenMgr::Initialize(const char*, u_short, bool)': /root/mangosdev/src/game/WardenMgr.cpp:60: warning: suggest parentheses around assignment used as truth value /root/mangosdev/src/game/WardenMgr.cpp: In member function 'void WardenMgr::Update(uint32)': /root/mangosdev/src/game/WardenMgr.cpp:123: warning: unused variable 'res' /root/mangosdev/src/game/WardenMgr.cpp: In member function 'bool WardenMgr::LoadFromDB()': /root/mangosdev/src/game/WardenMgr.cpp:186: error: 'WorldDatabase' was not declared in this scope compilation terminated due to -Wfatal-errors. make[2]: *** [src/game/CMakeFiles/game.dir/WardenMgr.cpp.o] Error 1 make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2 Solved adding: #include "Database/DatabaseEnv.h" But i have other compile error... maybe related with PCH: In file included from /root/mangosdev/src/shared/Database/DatabaseEnv.h:40, from /root/mangosdev/src/game/WardenMgr.cpp:23: /root/mangosdev/src/shared/Database/Database.h: In constructor 'Database::Database()': /root/mangosdev/src/shared/Database/Database.h:308: warning: 'Database::m_pingIntervallms' will be initialized after /root/mangosdev/src/shared/Database/Database.h:277: warning: 'int Database::m_nQueryConnPoolSize' /root/mangosdev/src/shared/Database/Database.h:225: warning: when initialized here /root/mangosdev/src/game/WardenMgr.h: In constructor 'WardenMgr::WardenMgr()': /root/mangosdev/src/game/WardenMgr.h:211: warning: 'WardenMgr::m_Banning' will be initialized after /root/mangosdev/src/game/WardenMgr.h:207: warning: 'bool WardenMgr::m_HalfCall' /root/mangosdev/src/game/WardenMgr.cpp:37: warning: when initialized here /root/mangosdev/src/game/WardenMgr.cpp: In member function 'void WardenMgr::Initialize(const char*, u_short, bool)': /root/mangosdev/src/game/WardenMgr.cpp:61: warning: suggest parentheses around assignment used as truth value /root/mangosdev/src/game/WardenMgr.cpp: In member function 'void WardenMgr::Update(uint32)': /root/mangosdev/src/game/WardenMgr.cpp:124: warning: unused variable 'res' /root/mangosdev/src/game/WardenMgr.cpp: In member function 'void WardenMgr::SendLoadModuleRequest(WorldSession*)': /root/mangosdev/src/game/WardenMgr.cpp:520: error: invalid use of incomplete type 'struct WorldSocket' compilation terminated due to -Wfatal-errors. make[2]: *** [src/game/CMakeFiles/game.dir/WardenMgr.cpp.o] Error 1 make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2 Best Regards
  2. Updated versions of patches needed for a MT environment (for rev 1297+) MTMaps: http://pastebin.com/shkUMvnZ TBB Concurrent Vector and some safe checks: http://pastebin.com/XSFzAaGB Spell Update lock (Very hack... but needed): http://pastebin.com/VNdLvLks Best regards
  3. Update Percona mysql installation to Ubuntu 10.10 Maverick
  4. Hi again, code need some changes to compile in linux, i wrote a little fix, tell me if correct: http://pastebin.com/f1vi7zJ5 Regards
  5. Hi again Ambal, compile in linux still fail sorry =(, i post it in that commit: https://github.com/Ambal/mangos/commit/f2d3783421c8cf12d1eb2a4640428949f61c3b97 Best regards
  6. Hi Ambal, thank you soo much for this implementation . Compile error in linux, i post it in that commit: https://github.com/Ambal/mangos/commit/fac5959508427baa2da69093220c7a177e546633 Best regards
  7. Update ACE compilation to 5.8.3 (include in latest mangos but you can use a external) Update cmake compile flags examples to better performance
  8. Maybe you need post it in a bug report section... Not here =)
  9. Testing... Easy mode patch for merged version: http://pastebin.com/YdCdvmry
  10. Ups sorry, new easy patch for old ver 2: http://pastebin.com/icingfVt =) Best regards
  11. Easy mode patch for testing Branch1: http://pastebin.com/fD8iBsxh Undergarun feedback soon..
  12. Core Version : 11064 but is old bug since 9500+ Patch: RSA fork now but clean when appear in 9500+ Problem: For some reason when pet id in characters_pet become over some number of 170XXXXX (actually our last pet have id 17043690), all new pet tamed or learned by warlock become "Unknow Entity" (in my case "Entidad Desconocida"): [sCREENSHOT REMOVED - DO NOT POST SCREENSHOTS OF COPYRIGHTED CONTENT] In the other realms with max pet id 15622086 or less, the problem dont appear. A year ago this problem appeared at same number of id and we solved it with a wipe of pets, because i thought in a corrupted data in my db... Is strange because pet_id value in DB is int 11 and Objectguid maybe is enougth for these values... Any ideas?
  13. Hmmmm rare, i dont have this issue O_o, mysql config problem?
  14. Is only that to test undergarun restart mysql service and innodb flush all cache in memory... in some days RAM go up to 28 again ... innodb cached memory can be set in my.cnf. Maybe undergarun show us CPU per thread usage with new db layer, in old layer you can see a big usage of one character mysql connections ( CPU1=68% ) and now you can see two of then (CPU1=31%, CPU3=19%) Best regards
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use