Jump to content

Morphau

Members
  • Posts

    205
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Posts posted by Morphau

  1. What bug does the patch fix? What features does the patch add?

    The patch fix the spell for the Leper Gnome Costume

    For which repository revision was the patch created?

    For the revision 9357

    Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

    None

    Who has been writing this patch? Please include either forum user names or email addresses.

    Me with my litlle brain ^^

    diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
    index c1723f7..00887b2 100644
    --- a/src/game/SpellEffects.cpp
    +++ b/src/game/SpellEffects.cpp
    @@ -4982,5 +4982,21 @@ void Spell::EffectScriptEffect(uint32 effIndex)
                   case 24590:
                       unitTarget->RemoveSingleSpellAurasFromStack(24575);
                       return;
    +                // Hallowed Wand - Leper Gnome
    +                case 24719:
    +                {
    +                   if(!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
    +                   return;
    +
    +                   switch(unitTarget->getGender())
    +                    {
    +                        case GENDER_MALE:
    +                            unitTarget->CastSpell(unitTarget,24712,true);
    +                            return;
    +                        case GENDER_FEMALE:
    +                            unitTarget->CastSpell(unitTarget,24713,true);
    +                            return;
    +                    }
    +                }
                       // PX-238 Winter Wondervolt TRAP
                   case 26275:
    

  2. Hello guys, me i have this crash:

    [New Thread 11407]
    [New Thread 11388]
    [New Thread 11389]
    [New Thread 11386]
    [New Thread 11408]
    [New Thread 11410]
    [New Thread 11390]
    [New Thread 11409]
    Core was generated by `./mangos-worldd'.
    Program terminated with signal 11, Segmentation fault.
    #0  0x0000000000581508 in Group::CountTheRoll (this=0x7f118313aeb0, rollI=..., 
       NumberOfPlayers=<value optimized out>) at ../../../src/game/Group.cpp:905
    905            if(item) item->is_blocked = false;
    #0  0x0000000000581508 in Group::CountTheRoll (this=0x7f118313aeb0, rollI=..., 
       NumberOfPlayers=<value optimized out>) at ../../../src/game/Group.cpp:905
           item = 0x0
           roll = 0x8b
    #1  0x0000000100000002 in ?? ()
    No symbol table info available.
    #2  0x4195cda143e141d3 in ?? ()
    No symbol table info available.
    #3  0x0000007d0000010a in ?? ()
    No symbol table info available.
    #4  0x000000000002107d in ?? ()
    No symbol table info available.
    #5  0x000001080002127d in ?? ()
    No symbol table info available.
    #6  0x00007f118d382ffc in ?? ()
    No symbol table info available.
    #7  0x0000007cc58d5e52 in ?? ()
    No symbol table info available.
    #8  0x0000000100000001 in ?? ()
    No symbol table info available.
    #9  0x0000000100000001 in ?? ()
    No symbol table info available.
    #10 0x0000000100000001 in ?? ()
    No symbol table info available.
    #11 0x0000000100000001 in ?? ()
    No symbol table info available.
    #12 0x0000002100000023 in ?? ()
    No symbol table info available.
    #13 0x000000b700000000 in ?? ()
    No symbol table info available.
    #14 0x0000002100000023 in ?? ()
    No symbol table info available.
    #15 0x41d4cccd3ed4fa93 in ?? ()
    No symbol table info available.
    #16 0x0000010b0000011c in ?? ()
    No symbol table info available.
    #17 0x0000000300000004 in ?? ()
    No symbol table info available.
    #18 0x0000000000000000 in ?? ()
    No symbol table info available.
    
    

  3. Core 9273

    ScriptDev2 1553

    DualSpect Kaxias

    AutoBroadCast Kaxias

    [New Thread 11407]
    [New Thread 11388]
    [New Thread 11389]
    [New Thread 11386]
    [New Thread 11408]
    [New Thread 11410]
    [New Thread 11390]
    [New Thread 11409]
    Core was generated by `./mangos-worldd'.
    Program terminated with signal 11, Segmentation fault.
    #0  0x0000000000581508 in Group::CountTheRoll (this=0x7f118313aeb0, rollI=..., 
       NumberOfPlayers=<value optimized out>) at ../../../src/game/Group.cpp:905
    905            if(item) item->is_blocked = false;
    #0  0x0000000000581508 in Group::CountTheRoll (this=0x7f118313aeb0, rollI=..., 
       NumberOfPlayers=<value optimized out>) at ../../../src/game/Group.cpp:905
           item = 0x0
           roll = 0x8b
    #1  0x0000000100000002 in ?? ()
    No symbol table info available.
    #2  0x4195cda143e141d3 in ?? ()
    No symbol table info available.
    #3  0x0000007d0000010a in ?? ()
    No symbol table info available.
    #4  0x000000000002107d in ?? ()
    No symbol table info available.
    #5  0x000001080002127d in ?? ()
    No symbol table info available.
    #6  0x00007f118d382ffc in ?? ()
    No symbol table info available.
    #7  0x0000007cc58d5e52 in ?? ()
    No symbol table info available.
    #8  0x0000000100000001 in ?? ()
    No symbol table info available.
    #9  0x0000000100000001 in ?? ()
    No symbol table info available.
    #10 0x0000000100000001 in ?? ()
    No symbol table info available.
    #11 0x0000000100000001 in ?? ()
    No symbol table info available.
    #12 0x0000002100000023 in ?? ()
    No symbol table info available.
    #13 0x000000b700000000 in ?? ()
    No symbol table info available.
    #14 0x0000002100000023 in ?? ()
    No symbol table info available.
    #15 0x41d4cccd3ed4fa93 in ?? ()
    No symbol table info available.
    #16 0x0000010b0000011c in ?? ()
    No symbol table info available.
    #17 0x0000000300000004 in ?? ()
    No symbol table info available.
    #18 0x0000000000000000 in ?? ()
    No symbol table info available.
    

  4. Core 9273

    ScriptDev2 1553

    DualSpect Kaxias

    AutoBroadCast Kaxias

    [New Thread 11407]
    [New Thread 11388]
    [New Thread 11389]
    [New Thread 11386]
    [New Thread 11408]
    [New Thread 11410]
    [New Thread 11390]
    [New Thread 11409]
    Core was generated by `./mangos-worldd'.
    Program terminated with signal 11, Segmentation fault.
    #0  0x0000000000581508 in Group::CountTheRoll (this=0x7f118313aeb0, rollI=..., 
       NumberOfPlayers=<value optimized out>) at ../../../src/game/Group.cpp:905
    905            if(item) item->is_blocked = false;
    #0  0x0000000000581508 in Group::CountTheRoll (this=0x7f118313aeb0, rollI=..., 
       NumberOfPlayers=<value optimized out>) at ../../../src/game/Group.cpp:905
           item = 0x0
           roll = 0x8b
    #1  0x0000000100000002 in ?? ()
    No symbol table info available.
    #2  0x4195cda143e141d3 in ?? ()
    No symbol table info available.
    #3  0x0000007d0000010a in ?? ()
    No symbol table info available.
    #4  0x000000000002107d in ?? ()
    No symbol table info available.
    #5  0x000001080002127d in ?? ()
    No symbol table info available.
    #6  0x00007f118d382ffc in ?? ()
    No symbol table info available.
    #7  0x0000007cc58d5e52 in ?? ()
    No symbol table info available.
    #8  0x0000000100000001 in ?? ()
    No symbol table info available.
    #9  0x0000000100000001 in ?? ()
    No symbol table info available.
    #10 0x0000000100000001 in ?? ()
    No symbol table info available.
    #11 0x0000000100000001 in ?? ()
    No symbol table info available.
    #12 0x0000002100000023 in ?? ()
    No symbol table info available.
    #13 0x000000b700000000 in ?? ()
    No symbol table info available.
    #14 0x0000002100000023 in ?? ()
    No symbol table info available.
    #15 0x41d4cccd3ed4fa93 in ?? ()
    No symbol table info available.
    #16 0x0000010b0000011c in ?? ()
    No symbol table info available.
    #17 0x0000000300000004 in ?? ()
    No symbol table info available.
    #18 0x0000000000000000 in ?? ()
    No symbol table info available.
    

  5. Core 9238

    ScriptDev2 1553

    DualSpect Kaxias

    AutoBroadCast Kaxias

    
    [New Thread 9444]
    Core was generated by `./mangos-worldd'.
    Program terminated with signal 6, Aborted.
    #0  0x00007fea48e194b5 in raise () from /lib/libc.so.6
    #0  0x00007fea48e194b5 in raise () from /lib/libc.so.6
    No symbol table info available.
    #1  0x00007fea48e1cf50 in abort () from /lib/libc.so.6
    No symbol table info available.
    #2  0x00007fea496b8cc5 in __gnu_cxx::__verbose_terminate_handler() ()
      from /usr/lib/libstdc++.so.6
    No symbol table info available.
    #3  0x00007fea496b70f6 in ?? () from /usr/lib/libstdc++.so.6
    No symbol table info available.
    #4  0x00007fea496b7123 in std::terminate() () from /usr/lib/libstdc++.so.6
    No symbol table info available.
    #5  0x00007fea496b721e in __cxa_throw () from /usr/lib/libstdc++.so.6
    No symbol table info available.
    #6  0x00000000004e2f00 in MaNGOS::ObjectLifeTime<Log>::OnDeadReference ()
       at ../../../src/mangosd/../framework/Policies/ObjectLifeTime.h:47
    No locals.
    #7  0x00000000004e2fc4 in MaNGOS::Singleton<Log, MaNGOS::SingleThreaded<Log>, MaNGOS::OperatorNew<Log>, MaNGOS::ObjectLifeTime<Log> >::Instance ()
       at ../../../src/mangosd/../framework/Policies/SingletonImp.h:46
    No locals.
    #8  0x00000000004e30b4 in FreezeDetectorRunnable::run (this=0xa20fe20)
       at ../../../src/mangosd/Master.cpp:114
    No locals.
    #9  0x00000000007f85ac in ACE_Based::Thread::ThreadTask (param=0x24e4)
       at ../../../src/shared/Threading.cpp:183
           _task = 0xa20fe20
    #10 0x00007fea49906a04 in start_thread () from /lib/libpthread.so.0
    No symbol table info available.
    #11 0x00007fea48ec580d in clone () from /lib/libc.so.6
    No symbol table info available.
    #12 0x0000000000000000 in ?? ()
    No symbol table info available.
    
    

  6. Core 9238

    ScriptDev2 1553

    DualSpect Kaxias

    AutoBroadCast Kaxias

    [New Thread 22787]
    [New Thread 22766]
    [New Thread 22788]
    [New Thread 22770]
    [New Thread 22786]
    [New Thread 22785]
    [New Thread 22769]
    [New Thread 22768]
    Core was generated by `./HER_9237/9237mangos4822/bin/mangos-worldd-her'.
    Program terminated with signal 11, Segmentation fault.
    #0  std::_List_const_iterator<Group::MemberSlot>::operator++ (this=0x8066860) at /usr/include/c++/4.4/bits/stl_list.h:223
    223        _M_node = _M_node->_M_next;
    #0  std::_List_const_iterator<Group::MemberSlot>::operator++ (this=0x8066860) at /usr/include/c++/4.4/bits/stl_list.h:223
    No locals.
    #1  __distance<std::_List_const_iterator<Group::MemberSlot> > (this=0x8066860)
       at /usr/include/c++/4.4/bits/stl_iterator_base_funcs.h:79
           __n = 0
    #2  distance<std::_List_const_iterator<Group::MemberSlot> > (this=0x8066860)
       at /usr/include/c++/4.4/bits/stl_iterator_base_funcs.h:114
    No locals.
    #3  std::list<Group::MemberSlot, std::allocator<Group::MemberSlot> >::size (this=0x8066860)
       at /usr/include/c++/4.4/bits/stl_list.h:805
    No locals.
    #4  Group::GetMembersCount (this=0x8066860) at ../../../src/game/Group.h:245
    No locals.
    #5  Group::EndRoll (this=0x8066860) at ../../../src/game/Group.cpp:779
    No locals.
    #6  0x0000000000525cec in Creature::Update (this=0x7f1b918a3630, diff=<value optimized out>)
       at ../../../src/game/Creature.cpp:407
           group = 0x0
    #7  0x00000000005ebaf3 in MaNGOS::ObjectUpdater::Visit (v=..., c=<value optimized out>)
       at ../../../src/game/GridNotifiersImpl.h:47
    No locals.
    #8  VisitorHelper<MaNGOS::ObjectUpdater, Creature> (v=..., c=<value optimized out>)
       at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64
    No locals.
    #9  0x00000000005e8829 in VisitorHelper<MaNGOS::ObjectUpdater, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > >
       (this=0x7f1b78c740c0, t_diff=<value optimized out>) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70
    No locals.
    #10 VisitorHelper<MaNGOS::ObjectUpdater, GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:71
    No locals.
    #11 VisitorHelper<MaNGOS::ObjectUpdater, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:94
    No locals.
    #12 TypeContainerVisitor<MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >::Visit (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:105
    No locals.
    #13 Visit<MaNGOS::ObjectUpdater> (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/../framework/GameSystem/Grid.h:94
    No locals.
    #14 Visit<MaNGOS::ObjectUpdater, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>) at ../../../src/game/../framework/GameSystem/NGrid.h:139
    No locals.
    #15 Visit<MaNGOS::SingleThreaded<ACE_RW_Thread_Mutex>::Lock, MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/Map.h:654
           x = <value optimized out>
           y = 33
           cell_x = 3
           cell_y = 3
    #16 Visit<MaNGOS::SingleThreaded<ACE_RW_Thread_Mutex>::Lock, MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/CellImpl.h:47
    No locals.
    #17 Map::Update (this=0x7f1b78c740c0, t_diff=<value optimized out>) at ../../../src/game/Map.cpp:647
           pair = {x_coord = 283, y_coord = 267}
           cell = {data = {Part = {grid_x = 35, grid_y = 33, cell_x = 3, cell_y = 3, nocreate = 1, reserved = 16}, 
               All = 554448995}}
           y = 267
           x = 283
           plr = <value optimized out>
           area = {right_offset = 2, left_offset = 2, upper_offset = 2, lower_offset = 2}
           updater = {i_timeDiff = 55}
           __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
    #18 0x00000000005e9629 in InstanceMap::Update (this=0x8066860, t_diff=@0x10300000103) at ../../../src/game/Map.cpp:2497
    No locals.
    #19 0x00000000007b0d29 in MapInstanced::Update (this=0x7f1b9123fe00, t=@0x7f1b8e4d4ffc)
       at ../../../src/game/MapInstanced.cpp:63
           i = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<unsigned int const, Map*>, false>> = {
               _M_cur_node = 0x7f1b7a212a20, _M_cur_bucket = 0x7f1b911232d8}, <No data fields>}
    #20 0x00000000005f5697 in MapManager::Update (this=0x81f7140, diff=<value optimized out>)
       at ../../../src/game/MapManager.cpp:265
    No locals.
    #21 0x0000000000758281 in World::Update (this=0x7f1b90019250, diff=55) at ../../../src/game/World.cpp:1693
           autobroadcaston = 1
    #22 0x00000000004e4f1c in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60
           diff = 55
           realCurrTime = 1645244935
           realPrevTime = <value optimized out>
           prevSleepTime = 50
    #23 0x00000000007f858c in ACE_Based::Thread::ThreadTask (param=0x8066860) at ../../../src/shared/Threading.cpp:183
           _task = 0xa32bed0
    #24 0x00007f1b97477a04 in start_thread () from /lib/libpthread.so.0
    No symbol table info available.
    #25 0x00007f1b96a3680d in clone () from /lib/libc.so.6
    No symbol table info available.
    #26 0x0000000000000000 in ?? ()
    No symbol table info available.
    
    

  7. Core 9238

    ScriptDev2 1553

    DualSpect Kaxias

    AutoBroadCast Kaxias

    [New Thread 22787]
    [New Thread 22766]
    [New Thread 22788]
    [New Thread 22770]
    [New Thread 22786]
    [New Thread 22785]
    [New Thread 22769]
    [New Thread 22768]
    Core was generated by `./mangos-worldd'.
    Program terminated with signal 11, Segmentation fault.
    #0  std::_List_const_iterator<Group::MemberSlot>::operator++ (this=0x8066860) at /usr/include/c++/4.4/bits/stl_list.h:223
    223        _M_node = _M_node->_M_next;
    #0  std::_List_const_iterator<Group::MemberSlot>::operator++ (this=0x8066860) at /usr/include/c++/4.4/bits/stl_list.h:223
    No locals.
    #1  __distance<std::_List_const_iterator<Group::MemberSlot> > (this=0x8066860)
       at /usr/include/c++/4.4/bits/stl_iterator_base_funcs.h:79
           __n = 0
    #2  distance<std::_List_const_iterator<Group::MemberSlot> > (this=0x8066860)
       at /usr/include/c++/4.4/bits/stl_iterator_base_funcs.h:114
    No locals.
    #3  std::list<Group::MemberSlot, std::allocator<Group::MemberSlot> >::size (this=0x8066860)
       at /usr/include/c++/4.4/bits/stl_list.h:805
    No locals.
    #4  Group::GetMembersCount (this=0x8066860) at ../../../src/game/Group.h:245
    No locals.
    #5  Group::EndRoll (this=0x8066860) at ../../../src/game/Group.cpp:779
    No locals.
    #6  0x0000000000525cec in Creature::Update (this=0x7f1b918a3630, diff=<value optimized out>)
       at ../../../src/game/Creature.cpp:407
           group = 0x0
    #7  0x00000000005ebaf3 in MaNGOS::ObjectUpdater::Visit (v=..., c=<value optimized out>)
       at ../../../src/game/GridNotifiersImpl.h:47
    No locals.
    #8  VisitorHelper<MaNGOS::ObjectUpdater, Creature> (v=..., c=<value optimized out>)
       at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64
    No locals.
    #9  0x00000000005e8829 in VisitorHelper<MaNGOS::ObjectUpdater, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > >
       (this=0x7f1b78c740c0, t_diff=<value optimized out>) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70
    No locals.
    #10 VisitorHelper<MaNGOS::ObjectUpdater, GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:71
    No locals.
    #11 VisitorHelper<MaNGOS::ObjectUpdater, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:94
    No locals.
    #12 TypeContainerVisitor<MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >::Visit (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:105
    No locals.
    #13 Visit<MaNGOS::ObjectUpdater> (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/../framework/GameSystem/Grid.h:94
    No locals.
    #14 Visit<MaNGOS::ObjectUpdater, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>) at ../../../src/game/../framework/GameSystem/NGrid.h:139
    No locals.
    #15 Visit<MaNGOS::SingleThreaded<ACE_RW_Thread_Mutex>::Lock, MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/Map.h:654
           x = <value optimized out>
           y = 33
           cell_x = 3
           cell_y = 3
    #16 Visit<MaNGOS::SingleThreaded<ACE_RW_Thread_Mutex>::Lock, MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > > (this=0x7f1b78c740c0, t_diff=<value optimized out>)
       at ../../../src/game/CellImpl.h:47
    No locals.
    #17 Map::Update (this=0x7f1b78c740c0, t_diff=<value optimized out>) at ../../../src/game/Map.cpp:647
           pair = {x_coord = 283, y_coord = 267}
           cell = {data = {Part = {grid_x = 35, grid_y = 33, cell_x = 3, cell_y = 3, nocreate = 1, reserved = 16}, 
               All = 554448995}}
           y = 267
           x = 283
           plr = <value optimized out>
           area = {right_offset = 2, left_offset = 2, upper_offset = 2, lower_offset = 2}
           updater = {i_timeDiff = 55}
           __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
    #18 0x00000000005e9629 in InstanceMap::Update (this=0x8066860, t_diff=@0x10300000103) at ../../../src/game/Map.cpp:2497
    No locals.
    #19 0x00000000007b0d29 in MapInstanced::Update (this=0x7f1b9123fe00, t=@0x7f1b8e4d4ffc)
       at ../../../src/game/MapInstanced.cpp:63
           i = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<unsigned int const, Map*>, false>> = {
               _M_cur_node = 0x7f1b7a212a20, _M_cur_bucket = 0x7f1b911232d8}, <No data fields>}
    #20 0x00000000005f5697 in MapManager::Update (this=0x81f7140, diff=<value optimized out>)
       at ../../../src/game/MapManager.cpp:265
    No locals.
    #21 0x0000000000758281 in World::Update (this=0x7f1b90019250, diff=55) at ../../../src/game/World.cpp:1693
           autobroadcaston = 1
    #22 0x00000000004e4f1c in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60
           diff = 55
           realCurrTime = 1645244935
           realPrevTime = <value optimized out>
           prevSleepTime = 50
    #23 0x00000000007f858c in ACE_Based::Thread::ThreadTask (param=0x8066860) at ../../../src/shared/Threading.cpp:183
           _task = 0xa32bed0
    #24 0x00007f1b97477a04 in start_thread () from /lib/libpthread.so.0
    No symbol table info available.
    #25 0x00007f1b96a3680d in clone () from /lib/libc.so.6
    No symbol table info available.
    #26 0x0000000000000000 in ?? ()
    No symbol table info available.
    
    

  8. Core 9238

    ScriptDev2 1553

    DualSpect Kaxias

    AutoBroadCast Kaxias

    [New Thread 6505]
    [New Thread 6455]
    [New Thread 6451]
    [New Thread 6504]
    [New Thread 6454]
    [New Thread 6453]
    [New Thread 6506]
    [New Thread 6507]
    Core was generated by `./mangos-worldd'.
    Program terminated with signal 11, Segmentation fault.
    #0  Group::_getMemberCSlot (this=0x33d38c0, result=<value optimized out>) at ../../../src/game/Group.h:377
    377                    if (itr->guid == Guid)
    #0  Group::_getMemberCSlot (this=0x33d38c0, result=<value optimized out>) at ../../../src/game/Group.h:377
    No locals.
    #1  Group::GetMemberGroup (this=0x33d38c0, result=<value optimized out>) at ../../../src/game/Group.h:249
    No locals.
    #2  Player::_LoadGroup (this=0x33d38c0, result=<value optimized out>) at ../../../src/game/Player.cpp:15972
           group = <value optimized out>
           leaderGuidLow = 2918
    #3  0x00000000006a2295 in Player::LoadFromDB (this=0x33d38c0, guid=2918, holder=0x5ded0d0) at ../../../src/game/Player.cpp:14838
           result = 0x7f7c909cf6e0
           time_diff = 362
           difficulty = <value optimized out>
           now = <value optimized out>
           extraflags = 32636
           transGUID = 0
           taxi_nodes = {static npos = 18446744073709551615, 
             _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
               _M_p = 0x33d5e00 ""}}
           dbAccountId = <value optimized out>
           bytes0 = <value optimized out>
           arena_currency = <value optimized out>
           savedPower = {54343872, 0, 6800856, 0, 11752672, 0, 54353928}
           fields = 0x7f7c97f60038
           savedHealth = 3054152173
           __PRETTY_FUNCTION__ = "bool Player::LoadFromDB(uint32, SqlQueryHolder*)"
    #4  0x00000000007d2546 in WorldSession::HandlePlayerLogin (this=<value optimized out>, holder=<value optimized out>)
       at ../../../src/game/CharacterHandler.cpp:574
           data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 140172934161232, _wpos = 5257369, 
               _storage = {<std::_Vector_base<unsigned char, std::allocator<unsigned char> >> = {
                   _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>}, _M_start = 0x7f7c8df2a350 "°'\\211", _M_finish = 0x4fdb3e "\\205Àt\\227\\213\\223Ð\\001", 
                     _M_end_of_storage = 0x7f7c8df2a350 "°'\\211"}}, <No data fields>}}, m_opcode = 49}
           resultGuild = <value optimized out>
           IP_str = {static npos = 18446744073709551615, 
             _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
               _M_p = 0x2dd9930 "\\a\\002\\002"}}
    #5  0x00000000007f07d0 in SqlResultQueue::Update (this=0xc12ae0) at ../../../../src/shared/Database/SqlOperations.cpp:77
           callback = 0x18ab440
    #6  0x000000000075822c in World::UpdateResultQueue (this=0xb797e0, diff=49) at ../../../src/game/World.cpp:2198
    No locals.
    #7  World::Update (this=0xb797e0, diff=49) at ../../../src/game/World.cpp:1699
           autobroadcaston = 1
    #8  0x00000000004e4f1c in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60
           diff = 49
           realCurrTime = 1549654363
           realPrevTime = <value optimized out>
           prevSleepTime = 41
    #9  0x00000000007f851c in ACE_Based::Thread::ThreadTask (param=0x33d38c0) at ../../../src/shared/Threading.cpp:183
           _task = 0xc10950
    #10 0x00007f7cb6b36a04 in start_thread () from /lib/libpthread.so.0
    No symbol table info available.
    #11 0x00007f7cb60f580d in clone () from /lib/libc.so.6
    No symbol table info available.
    #12 0x0000000000000000 in ?? ()
    No symbol table info available.
    
    
    

  9. Hello all, i know here is not a forum for the script but the core can be the source of the problem ..

    Indeed, some custum scripts doesn't work but other work ...

    Why ?

    This scripts for exemple does'nt work now but before he do !

    /* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.
    *
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License
    * along with this program; if not, write to the Free Software
    * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    */
    
    /* ScriptData
    SDName: npc_level_reroll
    SD%Complete: 90
    SDComment: Give level 80 at a player who have already one level 80
    SDCategory: NPC
    EndScriptData
    */
    
    #include "precompiled.h"
    #include <cstring>
    extern DatabaseMysql CharacterDatabase;
    
    bool GossipHello_npc_level_reroll(Player* pPlayer, Creature* pCreature)
    {
       pPlayer->ADD_GOSSIP_ITEM(0, "Avez vous deja un level 80 sur ce compte ? Cliquez ici si OUI.", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
       pPlayer->ADD_GOSSIP_ITEM(0, "Vous n'etes pas interesse !", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);
       //pPlayer->ADD_GOSSIP_ITEM(0, "Avez vous déja un level 80 sur ce compte ? Cliquez ici si OUI.", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
       //pPlayer->ADD_GOSSIP_ITEM(0, "Vous n'êtes pas intéressé !", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);
       //pPlayer->PlayerTalkClass->SendGossipMenu(907,pCreature->GetGUID());
       return true;
    }
    
    bool GossipSelect_ok_npc_level_reroll(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
    {
    
       if (uiAction == GOSSIP_ACTION_INFO_DEF+2)
       {
           pCreature->MonsterWhisper("Au revoir et bon jeu !", pPlayer->GetGUID()); // Bye !
           pPlayer->CLOSE_GOSSIP_MENU();
       }
    
       if (uiAction == GOSSIP_ACTION_INFO_DEF+1)
       {
           if (pPlayer->getLevel() == 80)
           {
           pCreature->MonsterWhisper("Tu as déja le niveau 80 sur ce personnage.", pPlayer->GetGUID()); // You are already 80
           pPlayer->CLOSE_GOSSIP_MENU();
           }
           else
              {
              QueryResult *result = CharacterDatabase.PQuery("SELECT count(*) FROM characters WHERE account = %u AND level = 80", pPlayer->GetSession()->GetAccountId());
              if (result)
               {
               Field *Fields = result->Fetch();
               uint32 count = Fields[0].GetUInt32(); //Get if have a level 80 from database
               if (count >= 1) // test if have a level 80 in the account of player, HERE YES
                {
                pPlayer->GiveLevel(pPlayer->getLevel()+(80 - (pPlayer->getLevel())));
                pCreature->MonsterWhisper("Voila vous êtes au niveau 80, bon jeu a vous !", pPlayer->GetGUID()); // You are already 80
                }    
                else
                   {
                   pCreature->MonsterWhisper("Bien essayé mais nous somme pas dupes !", pPlayer->GetGUID()); // You lie, Go out ! ^^
                   pPlayer->CastSpell(pPlayer, 3355, false);
                   pPlayer->CLOSE_GOSSIP_MENU();
                   }
                }
               }            
       }
       return false;
    }
    
    void AddSC_npc_level_reroll()
    {
       Script *newscript;
       newscript = new Script;
       newscript->Name = "npc_level_reroll";
       newscript->pGossipHello = &GossipHello_npc_level_reroll;
       newscript->pGossipSelect = &GossipSelect_ok_npc_level_reroll;
       newscript->RegisterSelf();
    }
    

    The post in scriptdev2: http://www.scriptdev2.com/c-help-please-t5075.html

    Sorry for my english but i am french ..

×
×
  • 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