Jump to content

The_Game_Master

Members
  • Posts

    330
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by The_Game_Master

  1. Bump?! I reverted last night and get it working. But that's not the solution. Must be something small.
  2. Should be fixed in https://github.com/TGM/custom_code/commit/9c06a5bde5fc3a6840822c4e8cb19429f81ed10f
  3. Sorry for bumping this old threat, i just want to add the answer. No it's not. There are specialized tools that make this happen. But using the fake-message preventing system will fix such problems.
  4. You guys should stop using compression for a good backtrace. Post what patches are you using as well.
  5. A little adition to your ACE configuration. Use "../configure --disable-ace-tests --disable-ace-examples --prefix=/usr/local/" for more performance. P.S. 5.7.6 is out.
  6. Let's do it in another way. Let's kick users that only stay on the login screen more then 5 minutes. I know mangos keeps tracks of them and should not be hard to implement.
  7. How about we create a SD3 project that supports lua. :lol:
  8. I want the character to be logged out from his account, all the way to the login screen. I don't know if a message like this "You've been logged out from your account due to ..." exits, so i'll use kick from account instead. Offcourse a more proper message would be welcomed. Patman128, your ideea is to auto kick on afk, that's not a very good solution.
  9. NetSky, are you still working on your version with dbc support?
  10. Hello, i['m trying to create a custom feature so you will be kicked from the server instead logging out of your account when the AFK flag expires. More info about AFK can be found here. http://www.wowwiki.com/AFK Can anybody point me in the right direction? I searched the source but there are too many AFK entryes.
  11. Here is a more accturate backtrace of the problem. SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E) Program received signal SIGSEGV, Segmentation fault. [switching to Thread 0x7fe4b3fff950 (LWP 15154)] 0x0000000000584e7b in Group::EndRoll (this=0x7fe476a5ded0) at /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/bits/stl_iterator_base_funcs.h:85 85 ++__n; (gdb) ------------------------------------------------------------------------------------------------------------------------ (gdb) info program Using the running image of child Thread 0x7fe4b3fff950 (LWP 15154). Program stopped at 0x584e7b. It stopped with signal SIGSEGV, Segmentation fault. (gdb) ------------------------------------------------------------------------------------------------------------------------ (gdb) bt #0 0x0000000000584e7b in Group::EndRoll (this=0x7fe476a5ded0) at /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/bits/stl_iterator_base_funcs.h:85 #1 0x000000000051bf84 in Creature::Update (this=0x7fe48eddf350, diff=<value optimized out>) at ../../../src/game/Creature.cpp:409 #2 0x00000000005f12f6 in VisitorHelper<MaNGOS::ObjectUpdater, Creature> (v=@0x7fe4b3ffefa0, c=<value optimized out>) at ../../../src/game/GridNotifiersImpl.h:47 #3 0x00000000005f0cd2 in Map::Update (this=0xcf3360, t_diff=@0x7fe4b3ffeffc) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70 #4 0x00000000005fae17 in MapManager::Update (this=0x7fe4b65698d0, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265 #5 0x000000000076be94 in World::Update (this=0x7fe4c8012670, diff=17) at ../../../src/game/World.cpp:1672 #6 0x00000000004d9420 in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 #7 0x00000000008126cc in ACE_Based::Thread::ThreadTask (param=0x7fe476a5ded0) at ../../../src/shared/Threading.cpp:183 #8 0x00007fe4cd9c23a0 in start_thread () from /lib64/libpthread.so.0 #9 0x00007fe4cd293bdd in clone () from /lib64/libc.so.6 ------------------------------------------------------------------------------------------------------------------------ (gdb) bt full #0 0x0000000000584e7b in Group::EndRoll (this=0x7fe476a5ded0) at /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/bits/stl_iterator_base_funcs.h:85 No locals. #1 0x000000000051bf84 in Creature::Update (this=0x7fe48eddf350, diff=<value optimized out>) at ../../../src/game/Creature.cpp:409 group = (Group *) 0x7fe400000001 #2 0x00000000005f12f6 in VisitorHelper<MaNGOS::ObjectUpdater, Creature> (v=@0x7fe4b3ffefa0, c=<value optimized out>) at ../../../src/game/GridNotifiersImpl.h:47 No locals. #3 0x00000000005f0cd2 in Map::Update (this=0xcf3360, t_diff=@0x7fe4b3ffeffc) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70 cell = {data = {Part = {grid_x = 12, grid_y = 34, cell_x = 2, cell_y = 4, nocreate = 1, reserved = 16}, All = 554707084}} y = 276 x = 98 plr = <value optimized out> area = {right_offset = 1, left_offset = 1, upper_offset = 2, lower_offset = 1} updater = {i_timeDiff = 100} grid_object_update = {i_visitor = @0x7fe4b3ffefa0} world_object_update = {i_visitor = @0x7fe4b3ffefa0} __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)" #4 0x00000000005fae17 in MapManager::Update (this=0x7fe4b65698d0, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265 No locals. #5 0x000000000076be94 in World::Update (this=0x7fe4c8012670, diff=17) at ../../../src/game/World.cpp:1672 No locals. #6 0x00000000004d9420 in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 17 realCurrTime = 1896911535 realPrevTime = <value optimized out> prevSleepTime = 0 #7 0x00000000008126cc in ACE_Based::Thread::ThreadTask (param=0x7fe476a5ded0) at ../../../src/shared/Threading.cpp:183 _task = (class ACE_Based::Runnable *) 0xd621f0 #8 0x00007fe4cd9c23a0 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #9 0x00007fe4cd293bdd in clone () from /lib64/libc.so.6 No symbol table info available. (gdb) ------------------------------------------------------------------------------------------------------------------------ (gdb) info threads 12 Thread 0x7fe4b17fa950 (LWP 15172) 0x00007fe4cd2941a8 in epoll_wait () from /lib64/libc.so.6 11 Thread 0x7fe4b1ffb950 (LWP 15167) 0x00007fe4cd2941a8 in epoll_wait () from /lib64/libc.so.6 10 Thread 0x7fe4b27fc950 (LWP 15166) 0x00007fe4cd2941a8 in epoll_wait () from /lib64/libc.so.6 9 Thread 0x7fe4b2ffd950 (LWP 15158) 0x00007fe4cd9c9691 in nanosleep () from /lib64/libpthread.so.0 8 Thread 0x7fe4b37fe950 (LWP 15155) 0x00007fe4cd9c9691 in nanosleep () from /lib64/libpthread.so.0 * 7 Thread 0x7fe4b3fff950 (LWP 15154) 0x0000000000584e7b in Group::EndRoll (this=0x7fe476a5ded0) at /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/bits/stl_iterator_base_funcs.h:85 5 Thread 0x7fe4c77fe950 (LWP 14681) 0x00007fe4cd9c9691 in nanosleep () from /lib64/libpthread.so.0 4 Thread 0x7fe4c7fff950 (LWP 14680) 0x00007fe4cd9c9691 in nanosleep () from /lib64/libpthread.so.0 3 Thread 0x7fe4cd1ae950 (LWP 14679) 0x00007fe4cd9c9691 in nanosleep () from /lib64/libpthread.so.0 1 Thread 0x7fe4cfd68700 (LWP 14651) 0x00007fe4cd9c2c05 in pthread_join () from /lib64/libpthread.so.0
  12. I stared all morning at Map.cpp and still got no ideea how to fix this.
  13. Same crash with 9259, got no ideea what's causing it. Program received signal SIGSEGV, Segmentation fault. [switching to Thread 0x7f4848930950 (LWP 14905)] 0x00000000005dc414 in Map::AddCreatureToMoveList (this=<value optimized out>, c=0x1837fcf0, x=-4266.14893, y=-11171.3506, z=-22.9434948, ang=1.70938492) at /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/tr1_impl/hashtable_policy.h:394 394 { return __num % __den; } (gdb) bt #0 0x00000000005dc414 in Map::AddCreatureToMoveList (this=<value optimized out>, c=0x1837fcf0, x=-4266.14893, y=-11171.3506, z=-22.9434948, ang=1.70938492) at /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/tr1_impl/hashtable_policy.h:394 #1 0x00000000005e8277 in Map::CreatureRelocation (this=0x10000, creature=0x1837fcf0, x=-4266.14893, y=-11171.3506, z=-22.9434948, ang=1.70938492) at ../../../src/game/Map.cpp:910 #2 0x00000000007caf24 in WorldSession::HandleMovementOpcodes (this=0x7f482e0c5910, recv_data=<value optimized out>) at ../../../src/game/MovementHandler.cpp:694 #3 0x00000000007706bb in WorldSession::Update (this=0x7f482e0c5910) at ../../../src/game/WorldSession.cpp:230 #4 0x0000000000769f7f in World::UpdateSessions (this=0xb95910, diff=95) at ../../../src/game/World.cpp:2080 #5 0x000000000076a162 in World::Update (this=0xb95910, diff=95) at ../../../src/game/World.cpp:1633 #6 0x00000000004d9080 in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 #7 0x0000000000810b8c in ACE_Based::Thread::ThreadTask (param=0x10060) at ../../../src/shared/Threading.cpp:183 #8 0x00007f4852dc13a0 in start_thread () from /lib64/libpthread.so.0 #9 0x00007f4852692bdd in clone () from /lib64/libc.so.6
  14. You are right. Any ideea what the procflags might be?
  15. According to my select "select guid, pool_entry, count(guid) from pool_gameobject group by guid having count(guid) > 1;" i don't have duplicate entrys.
  16. Ok, the patch is working. Up in the repo with it!
  17. Crash still present in 9110. mangos-worldd: ../../../src/game/../framework/GameSystem/TypeContainer.h:78: static bool TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::insert(ContainerUn orderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject, OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<Veh icle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, KEY_TYPE = long unsigned int]: Assertion `i->second == obj && "Object with certain key a lready in but objects are different!"' failed. Program received signal SIGABRT, Aborted. [switching to Thread 0x7fa552547950 (LWP 8911)] 0x00007fa55a1c5ea5 in raise () from /lib64/libc.so.6 (gdb) info program Using the running image of child Thread 0x7fa552547950 (LWP 8911). Program stopped at 0x7fa55a1c5ea5. It stopped with signal SIGABRT, Aborted. (gdb) bt #0 0x00007fa55a1c5ea5 in raise () from /lib64/libc.so.6 #1 0x00007fa55a1c7ab3 in abort () from /lib64/libc.so.6 #2 0x00007fa55a1bee99 in __assert_fail () from /lib64/libc.so.6 #3 0x0000000000559c4b in GameObject::AddToWorld (this=0x23dbe830) at ../../../src/game/../framework/GameSystem/TypeContainer.h:78 warning: (Internal error: pc 0x5de23c in read in psymtab, but not in symtab.) #4 0x00000000005de23d in Map::Add<GameObject> (this=warning: (Internal error: pc 0x5ddfb0 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x5de23c in read in psymtab, but not in symtab.) 0x7fa5429cda10, obj=0x23dbe830) at ../../../src/game/Map.cpp:483 #5 0x000000000069c428 in PoolGroup<GameObject>::Spawn1Object (this=<value optimized out>, guid=26264) at ../../../src/game/PoolManager.cpp:294 warning: (Internal error: pc 0x69eba0 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x69eba0 in read in psymtab, but not in symtab.) #6 0x000000000069eba1 in PoolGroup<GameObject>::SpawnObject (this=warning: (Internal error: pc 0x69eb20 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x69eba0 in read in psymtab, but not in symtab.) 0x7fa54a738db0, limit=<value optimized out>, triggerFrom=26535) at ../../../src/game/PoolManager.cpp:229 #7 0x0000000000558267 in GameObject::Update (this=0x7fa53d0f43f0) at ../../../src/game/GameObject.cpp:263 #8 0x000000000079df06 in MaNGOS::ObjectUpdater::Visit<GameObject> (this=0x7fa552546fa0, m=<value optimized out>) at ../../../src/game/GridNotifiers.cpp:220 #9 0x00000000005d2b02 in Map::Update (this=0x7fa5429cda10, t_diff=@0x7fa552546ffc) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64 #10 0x00000000005dffc7 in MapManager::Update (this=0x7fa54afdc210, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265 #11 0x00000000007504c4 in World::Update (this=0x7fa554006db0, diff=16) at ../../../src/game/World.cpp:1677 #12 0x00000000004d7330 in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 #13 0x00000000007ffc4c in ACE_Based::Thread::ThreadTask (param=0x2274) at ../../../src/shared/Threading.cpp:183 #14 0x00007fa55a9a63a0 in start_thread () from /lib64/libpthread.so.0 #15 0x00007fa55a277bdd in clone () from /lib64/libc.so.6 (gdb) bt full #0 0x00007fa55a1c5ea5 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x00007fa55a1c7ab3 in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x00007fa55a1bee99 in __assert_fail () from /lib64/libc.so.6 No symbol table info available. #3 0x0000000000559c4b in GameObject::AddToWorld (this=0x23dbe830) at ../../../src/game/../framework/GameSystem/TypeContainer.h:78 No locals. #4 0x00000000005de23d in Map::Add<GameObject> (this=0x7fa5429cda10, obj=0x23dbe830) at ../../../src/game/Map.cpp:483 p = {x_coord = 61, y_coord = 263} cell = {data = {Part = {grid_x = 7, grid_y = 32, cell_x = 5, cell_y = 7, nocreate = 0, reserved = 0}, All = 1857543}} grid = (NGridType *) 0x7fa53cb24b10 __PRETTY_FUNCTION__ = "void Map::Add(T*) [with T = GameObject]" #5 0x000000000069c428 in PoolGroup<GameObject>::Spawn1Object (this=<value optimized out>, guid=26264) at ../../../src/game/PoolManager.cpp:294 pGameobject = (class GameObject *) 0x23dbe830 map = (class Map *) 0x7fa5429cda10 data = <value optimized out> #6 0x000000000069eba1 in PoolGroup<GameObject>::SpawnObject (this=0x7fa54a738db0, limit=<value optimized out>, triggerFrom=26535) at ../../../src/game/PoolManager.cpp:229 index = 1515186640 store = (std::vector<PoolObject, std::allocator<PoolObject> > *) 0xffffffffffffffff i = 0 lastDespawned = 0 count = 1 #7 0x0000000000558267 in GameObject::Update (this=0x7fa53d0f43f0) at ../../../src/game/GameObject.cpp:263 poolid = 8911 #8 0x000000000079df06 in MaNGOS::ObjectUpdater::Visit<GameObject> (this=0x7fa552546fa0, m=<value optimized out>) at ../../../src/game/GridNotifiers.cpp:220 No locals. #9 0x00000000005d2b02 in Map::Update (this=0x7fa5429cda10, t_diff=@0x7fa552546ffc) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64 cell = {data = {Part = {grid_x = 7, grid_y = 32, cell_x = 5, cell_y = 7, nocreate = 1, reserved = 16}, All = 555505671}} y = 263 x = 61 plr = <value optimized out> area = {right_offset = 1, left_offset = 2, upper_offset = 2, lower_offset = 1} updater = {i_timeDiff = 109} grid_object_update = {i_visitor = @0x7fa552546fa0} world_object_update = {i_visitor = @0x7fa552546fa0} __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)" #10 0x00000000005dffc7 in MapManager::Update (this=0x7fa54afdc210, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265 No locals. #11 0x00000000007504c4 in World::Update (this=0x7fa554006db0, diff=16) at ../../../src/game/World.cpp:1677 ---Type <return> to continue, or q <return> to quit--- autobroadcaston = 0 #12 0x00000000004d7330 in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 16 realCurrTime = 1014239252 realPrevTime = <value optimized out> prevSleepTime = 0 #13 0x00000000007ffc4c in ACE_Based::Thread::ThreadTask (param=0x2274) at ../../../src/shared/Threading.cpp:183 _task = (class ACE_Based::Runnable *) 0x7fa5410733b0 #14 0x00007fa55a9a63a0 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #15 0x00007fa55a277bdd in clone () from /lib64/libc.so.6 No symbol table info available.
  18. Allready working on it. Maybe in the future you should try to explain what you copyed from the cpp files. That would make more sense.
  19. Please use www.filebeam.com i don't know german.
  20. Bump! Still bugged in 9100+ How it does work: It uses the total dps instead of the main hand dps.
×
×
  • 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