Jump to content
  • Loot system broken...

    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Core Crash
      Version: 21.0 Milestone: 21 Priority: Normal
      Implemented Version: 21.3

    Loot system broken...

    I have a strange issue where the server crashes if I am grouped and I kill ANY of the ghostly creatures in EPL. You know, like the "Hate Shrieker" in Corrin's Crossing. If I am grouped and kill one, it crashes 100% of the time. If I am solo, I can loot them and continue. This does NOT happen with the ghouls and skeletons, or bats and such. Below is the crash and backtrace.
    creature 92561 stopped attacking player 1
    player 1 stopped attacking creature 92561
    DealDamageEnd returned 452 damage
    AttackerStateUpdate: (Player) 1 attacked 92561 (TypeId: 3) for 452 dmg, absorbed
    0, blocked 0, resisted 0.
    AttackerStateUpdate: (Player) 1 attacked 92561 (TypeId: 3) for 766 dmg, absorbed
    0, blocked 0, resisted 0.
    AttackerStateUpdate: (Player) 1 attacked 92561 (TypeId: 3) for 457 dmg, absorbed
    0, blocked 0, resisted 0.
    Condition-System: Check condition 237, type 10 - called from loot system with params plr: Player Ravirr (Guid: 1), map 0, src
    Condition-System: Check condition 1733, type 38 - called from loot system with params plr: Player Ravirr (Guid: 1), map 0, src

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff209f700 (LWP 17646)]
    0x0000000000a572f8 in WorldObject::GetPositionY (this=0x0)
    at /usr/src/zero/server/src/game/Object/Object.h:496
    496 float GetPositionY() const { return m_position.y; }
    (gdb) continue
    [Thread 0x7fffee272700 (LWP 17651) exited]
    [Thread 0x7fffeea73700 (LWP 17650) exited]
    [Thread 0x7fffef274700 (LWP 17649) exited]
    [Thread 0x7fffefa75700 (LWP 17648) exited]
    [Thread 0x7ffff0276700 (LWP 17647) exited]
    [Thread 0x7ffff209f700 (LWP 17646) exited]
    [Thread 0x7ffff493a700 (LWP 17615) exited]
    [Thread 0x7ffff513b700 (LWP 17614) exited]
    [Thread 0x7ffff5b48700 (LWP 17613) exited]

    Program terminated with signal SIGSEGV, Segmentation fault.
    The program no longer exists.

    #0 0x0000000000a572f8 in WorldObject::GetPositionY (this=0x0)
    at /usr/src/zero/server/src/game/Object/Object.h:496
    #1 0x0000000000acc95b in Cell::VisitGridObjects<:gameobjectlastsearcher> > (center_obj=0x0,
    visitor=..., radius=13, dont_load=true)
    at /usr/src/zero/server/src/game/WorldHandlers/CellImpl.h:183
    #2 0x0000000000ab4e1c in PlayerCondition::Meets (this=0x2085e30, player=
    0x8b6d410, map=0x5654010, source=0x0,
    at /usr/src/zero/server/src/game/Object/ObjectMgr.cpp:7165
    #3 0x0000000000ab3731 in ObjectMgr::IsPlayerMeetToCondition (this=0x1630710,
    conditionId=1733, pPlayer=0x8b6d410, map=0x5654010, source=0x0,
    at /usr/src/zero/server/src/game/Object/ObjectMgr.cpp:6876
    #4 0x0000000000bc5919 in LootTemplate::HasStartingQuestDropForPlayer (
    this=0x75aca70, store=..., player=0x8b6d410, groupId=0 '\000')
    at /usr/src/zero/server/src/game/Object/LootMgr.cpp:1251
    #5 0x0000000000bc116a in LootStore::HaveStartingQuestLootForPlayer (
    this=0x15be620, loot_id=8542, player=0x8b6d410)
    at /usr/src/zero/server/src/game/Object/LootMgr.cpp:234
    #6 0x0000000000b84b81 in Player::isAllowedToLoot (this=0x8b6d410, creature=
    0xa32d890) at /usr/src/zero/server/src/game/Object/Player.cpp:14133
    #7 0x0000000000a866a6 in Object::BuildValuesUpdate (this=0xa32d890,
    updatetype=0 '\000', data=0x7ffff02734f0, updateMask=0x7ffff0273520,
    target=0x8b6d410) at /usr/src/zero/server/src/game/Object/Object.cpp:454
    #8 0x0000000000a85977 in Object::BuildValuesUpdateBlockForPlayer (
    this=0xa32d890, data=0x7fffea954878, target=0x8b6d410)
    at /usr/src/zero/server/src/game/Object/Object.cpp:233
    #9 0x0000000000a890d0 in Object::BuildUpdateDataForPlayer (this=0xa32d890,
    pl=0x8b6d410, update_players=...)
    at /usr/src/zero/server/src/game/Object/Object.cpp:908
    #10 0x0000000000a8fc10 in WorldObjectChangeAccumulator::Visit (
    this=0x7ffff0274ad0, m=...)
    at /usr/src/zero/server/src/game/Object/Object.cpp:1936
    #11 0x0000000000a9a40f in VisitorHelper (
    v=..., c=...)
    at /usr/src/zero/server/src/framework/GameSystem/TypeContainerVisitor.h:72
    #12 0x0000000000a9a184 in VisitorHelper (v=..., c=...)
    at /usr/src/zero/server/src/framework/GameSystem/TypeContainerVisitor.h:85
    #13 0x0000000000a99cc1 in VisitorHelper > (v=..., c=...)
    at /usr/src/zero/server/src/framework/GameSystem/TypeContainerVisitor.h:86
    #14 0x0000000000a9998d in VisitorHelper > > (v=..., c=...)
    at /usr/src/zero/server/src/framework/GameSystem/TypeContainerVisitor.h:86
    #15 0x0000000000a99750 in VisitorHelper > > > (v=...,
    at /usr/src/zero/server/src/framework/GameSystem/TypeContainerVisitor.h:86
    #16 0x0000000000a99583 in VisitorHelper > > > > (
    v=..., c=...)
    at /usr/src/zero/server/src/framework/GameSystem/TypeContainerVisitor.h:98
    #17 0x0000000000a99258 in TypeContainerVisitor > > > > >::Visit (this=0x7ffff0274a60, c=...)
    at /usr/src/zero/server/src/framework/GameSystem/TypeContainerVisitor.h:127
    #18 0x0000000000a98cd8 in Grid > > >, TypeList > > > >::Visit (this=0xa09c8b0, visitor=...)
    at /usr/src/zero/server/src/framework/GameSystem/Grid.h:111
    #19 0x0000000000a98452 in NGrid > > >, TypeList > > > >::Visit > > > > (this=0xa08fd60, x=@0x7ffff027485c: 7,
    y=@0x7ffff0274858: 4, visitor=...)
    at /usr/src/zero/server/src/framework/GameSystem/NGrid.h:360
    #20 0x0000000000a97358 in Map::Visit > > > > > (this=0x5654010, cell=..., visitor=...)
    at /usr/src/zero/server/src/game/WorldHandlers/Map.h:469
    #21 0x0000000000a97499 in Cell::VisitCircle > > > > > (this=0x7ffff0274a70, visitor=..., m=..., begin_cell=...,
    end_cell=...) at /usr/src/zero/server/src/game/WorldHandlers/CellImpl.h:145
    #22 0x0000000000a94e0a in Cell::Visit > > > > > (this=0x7ffff0274a70, standing_cell=..., visitor=..., m=...,
    x=2396.13843, y=-5192.90137, radius=91.125)
    at /usr/src/zero/server/src/game/WorldHandlers/CellImpl.h:102
    #23 0x0000000000a92a42 in Cell::Visit > > > > > (this=0x7ffff0274a70, standing_cell=..., visitor=..., m=...,
    obj=..., radius=90)
    at /usr/src/zero/server/src/game/WorldHandlers/CellImpl.h:62
    #24 0x0000000000a9134c in Cell::VisitWorldObjects
    (center_obj=0xa32d890, visitor=..., radius=90, dont_load=true)
    at /usr/src/zero/server/src/game/WorldHandlers/CellImpl.h:199
    #25 0x0000000000a8d6d0 in WorldObject::BuildUpdateData (this=0xa32d890,
    update_players=...) at /usr/src/zero/server/src/game/Object/Object.cpp:1946
    #26 0x0000000000cea9ac in Map::SendObjectUpdates (this=0x5654010)
    at /usr/src/zero/server/src/game/WorldHandlers/Map.cpp:1879
    #27 0x0000000000ce4e36 in Map::Update (this=0x5654010,
    t_diff=@0x7fffe8132850: 100)
    at /usr/src/zero/server/src/game/WorldHandlers/Map.cpp:574
    #28 0x0000000000e00e6a in MapUpdateRequest::call (this=0x7fffe8132830)
    at /usr/src/zero/server/src/game/Maps/MapUpdater.cpp:50
    #29 0x0000000000eb3e8a in DelayExecutor::svc (this=0x335a970)
    at /usr/src/zero/server/src/shared/Threading/DelayExecutor.cpp:67
    #30 0x00007ffff776b4d7 in ACE_Task_Base::svc_run(void*) ()
    from /usr/lib/libACE-6.0.3.so
    #31 0x00007ffff776cde5 in ACE_Thread_Adapter::invoke_i() ()
    from /usr/lib/libACE-6.0.3.so
    #32 0x00007ffff776cef5 in ACE_Thread_Adapter::invoke() ()
    from /usr/lib/libACE-6.0.3.so
    #33 0x00007ffff5edab50 in start_thread ()
    from /lib/x86_64-linux-gnu/libpthread.so.0
    #34 0x00007ffff5c2495d in clone () from /lib/x86_64-linux-gnu/libc.so.6
    #35 0x0000000000000000 in ?? ()
    Not sure why only these mobs cause the crash, but maybe more do around the world. Again, it is not just the hate shriekers, it is any mob that shares that model. This includes the ones on the other side of the map with different names. Sorry, I forget them off the top of my head. Either way, something is off and it APPEARS to be with the loot system.

    User Feedback

    Recommended Comments

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • 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