Jump to content

unik

Members
  • Posts

    4
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by unik

  1. Yes, messages resulting from the auction don't verify if the user has more than 255 mails. However, you shouldn't add this condition on the auction otherwise messages will be lost.
  2. What bug does the patch fix? What features does the patch add? Fixed the problem of the mails which don't display when itmailbox possess more than 255 messages. For which repository revision was the patch created? branch 0.12 - rev 8569 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. Didn't find any Who has been writing this patch? Please include either forum user names or email addresses. [email protected] diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp index 414511f..bbf0246 100644 --- a/src/game/Mail.cpp +++ b/src/game/Mail.cpp @@ -577,6 +577,8 @@ void WorldSession::HandleGetMailList(WorldPacket & recv_data ) for(PlayerMails::iterator itr = pl->GetmailBegin(); itr != pl->GetmailEnd(); ++itr) { + if(mails_count > 254) break; + // skip deleted or not delivered (deliver delay not expired) mails if ((*itr)->state == MAIL_STATE_DELETED || cur_time < (*itr)->deliver_time) continue;
  3. Revision : 7291 - (2.4.3) - Branch 0.12 UDB : 366 - (10.5) SD2 : 888 #0 0x00002ab742bdd07b in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00002ab742bde84e in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00002ab742bd6af4 in __assert_fail () from /lib/libc.so.6 No symbol table info available. #3 0x000000000075ef57 in MapInstanced::GetInstance (this=<value optimized out>, obj=<value optimized out>) at ../../../src/game/MapInstanced.cpp:126 NewInstanceId = <value optimized out> player = <value optimized out> pBind = <value optimized out> pSave = <value optimized out> map = <value optimized out> __PRETTY_FUNCTION__ = "Map* MapInstanced::GetInstance(const WorldObject*)" #4 0x00000000005a8d75 in ObjectAccessor::_buildChangeObjectForPlayer (obj=0x7c7f, update_players=@0x7e1a) at ../../../src/game/ObjectAccessor.cpp:311 cell = {data = {Part = {grid_x = 32, grid_y = 31, cell_x = 3, cell_y = 4, nocreate = 1, reserved = 31}, All = 66336736}} notifier = {i_updateDatas = @0x43004ee0, i_object = @0x1e7e7e20} #5 0x00000000005a968b in ObjectAccessor::Update (this=0x2ab74a53ef90, diff=<value optimized out>) at ../../../src/game/ObjectAccessor.cpp:469 obj = (class Object *) 0x1e7e7e20 update_players = {_M_ht = { _M_node_allocator = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::Pair<Player* const, UpdateData> > >> = {<No data fields>}, <No data fields>}, _M_hash = {<No data fields>}, _M_equals = {<> = {<No data fields>}, <No data fields>}, _M_get_key = {<> = {<No data fields>}, <No data fields>}, _M_buckets = {<std::_Vector_base<__gnu_cxx::_Hashtable_node<std::Pair<Player* const, UpdateData> >*,std::allocator<__gnu_cxx::_Hashtable_node<std::Pair<Player* const, UpdateData> >*> >> = { _M_impl = {<std::allocator<__gnu_cxx::_Hashtable_node<std::Pair<Player* const, UpdateData> >*>> = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::Pair<Player* const, UpdateData> >*>> = {<No data fields>}, <No data fields>}, _M_start = 0x2ab80789f210, _M_finish = 0x2ab80789fe38, _M_end_of_storage = 0x2ab80789fe38}}, <No data fields>}, _M_num_elements = 334}} packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 0, _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 = 0xa03b00 "", _M_finish = 0xa03d60 "ÿÿÿÿÿÿÿ\\177?B\\017", _M_end_of_storage = 0x0}}, <No data fields>}}, m_opcode = 15302} pos = <value optimized out> #6 0x000000000059e160 in MapManager::Update (this=0x2ab74a543d90, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:268 iter = {_M_cur = 0x0, _M_ht = 0x2ab74a543e18} #7 0x00000000006ee502 in World::Update (this=0x2ab74360ddf0, diff=1111) at ../../../src/game/World.cpp:1507 next = {_M_cur = 0x0, _M_ht = 0x2ab74360de80} #8 0x00000000004e4ee4 in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 1111 realCurrTime = 2510919346 realPrevTime = <value optimized out> prevSleepTime = 0 #9 0x00002ab7424f8371 in ZThread::ThreadImpl::Dispatch (parent=0xa41b50, impl=0x11b74a0, task=@0x430051a0) at ../../../../dep/src/zthread/ThreadImpl.cxx:407 No locals. #10 0x00002ab7424fa876 in ZThread::(anonymous namespace)::Launcher::run (this=0x7fff692844b0) at ../../../../dep/src/zthread/ThreadImpl.cxx:49 No locals. #11 0x00002ab7424fe1ce in _dispatch (arg=0x7c7f) at ../../../../dep/src/zthread/posix/ThreadOps.cxx:137 __PRETTY_FUNCTION__ = "void* ZThread::_dispatch(void*)" #12 0x00002ab742610f1a in start_thread () from /lib/libpthread.so.0 No symbol table info available. #13 0x00002ab742c775d2 in clone () from /lib/libc.so.6 No symbol table info available. #14 0x0000000000000000 in ?? () No symbol table info available.
  4. Revision : 7252 - (2.4.3) - Branch 0.12 UDB : 366 - (10.5) SD2 : 888 Crash caused by management of packets? If you can help me... Thanks in advance #0 0x00002b96a7d8507b in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00002b96a7d8684e in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00002b96a7dbb5f9 in __fsetlocking () from /lib/libc.so.6 No symbol table info available. #3 0x00002b96a7dc0a2c in malloc_usable_size () from /lib/libc.so.6 No symbol table info available. #4 0x00002b96a7dc2789 in free () from /lib/libc.so.6 No symbol table info available. #5 0x00002b96a7dc416d in malloc () from /lib/libc.so.6 No symbol table info available. #6 0x00002b96a798293d in operator new () from /usr/lib/libstdc++.so.6 No symbol table info available. #7 0x00000000006f509f in std::Deque<WorldPacket*, std::allocator<WorldPacket*> >::_M_push_back_aux (this=0xad018e8, __t=@0x40f7) at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:88 __t_copy = (WorldPacket *) 0x2b96f6da2930 #8 0x00000000006f292b in WorldSession::QueuePacket ( this=<value optimized out>, new_packet=0x2b96f6da2930) at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1045 No locals. #9 0x00000000006f8f18 in WorldSocket::ProcessIncoming (this=0xae484b0, new_pct=0x2b96f6da2930) at ../../../src/game/WorldSocket.cpp:622 j = <value optimized out> p = 182748336 aptr = {<ACE_Auto_Basic_Ptr<WorldPacket>> = { p_ = 0x0}, <No data fields>} opcode = 181 #10 0x00000000006f90d2 in WorldSocket::handle_input_payload (this=0xae484b0) at ../../../src/game/WorldSocket.cpp:418 ret = <value optimized out> #11 0x00000000006f959f in WorldSocket::handle_input_missing_data ( this=0xae484b0) at ../../../src/game/WorldSocket.cpp:511 to_data = <value optimized out> buf = "6\\\\»§0\\211\\001\\000\\000\\000\\000ù\\222P\\tL\\r\\bÅ\\004óbÅ\\aä·BG\\227õ>p\\a\\000\\000Ø\\223þÀÁ\\2043¿ý\\2016?\\000\\000à@aeron,0,0,0,0\\0000\\000Serpent,0,0,0,0\\000348762631416\\000ArY¥@w\\003\\000\\000sse du maître,0,0,0,0;SPECINFO#7/46/8\\000ä«\\005\\000\\000\\000\\000\\177±\\202\\001 \\202½ÄÔê\\004F8\\233\\034¿³\\224\\225@\\t\\001\\000\\000r\\032S\\205\\2368\\005\\000\\000\\000\\000E²\\202\\001<f½Ä\\223æ\\004Fk½"... db = {_vptr.ACE_Data_Block = 0x2b96a72f1ef0, type_ = 1, cur_size_ = 1024, max_size_ = 1024, flags_ = 1, base_ = 0x44807b20 "6\\\\»§0\\211\\001", allocator_strategy_ = 0x2b96a7302eb0, locking_strategy_ = 0x0, reference_count_ = 1, data_block_allocator_ = 0x2b96a7302eb0} message_block = {_vptr.ACE_Message_Block = 0x2b96a72f1eb0, rd_ptr_ = 35, wr_ptr_ = 35, priority_ = 0, cont_ = 0x0, next_ = 0x0, prev_ = 0x0, flags_ = 1, data_block_ = 0x44807f70, message_block_allocator_ = 0x0} recv_size = 1024 n = 35 #12 0x00000000006f97a5 in WorldSocket::handle_input (this=0xae484b0) at ../../../src/game/WorldSocket.cpp:256 No locals. #13 0x00002b96a7124c10 in ACE_Dev_Poll_Reactor::Dispatch_io_event ( this=0x2b96a9b63850, guard=@0x44808090) at ../../../../dep/ACE_wrappers/ace/Dev_Poll_Reactor.inl:180 status = <value optimized out> pfds = (epoll_event *&) @0x2b96a9b63870: 0xae7bfdc #14 0x00002b96a7125abe in ACE_Dev_Poll_Reactor::handle_events ( this=0x2b96a9b63850, max_wait_time=0x44808130) at ../../../../dep/ACE_wrappers/ace/Dev_Poll_Reactor.cpp:1033 countdown = {max_wait_time_ = 0x44808130, start_time_ = { static zero = { static zero = <same as static member of an already seen type>, static max_time = { static zero = <same as static member of an already seen type>, static max_time = <same as static member of an already seen type>, tv_ = {tv_sec = 9223372036854775807, tv_usec = 999999}}, tv_ = { tv_sec = 0, tv_usec = 0}}, static max_time = <same as static member of an already seen type>, tv_ = { tv_sec = 1234622948, tv_usec = 50950}}, stopped_ = false} guard = {token_ = @0x2b96a9b63888, owner_ = 0} result = -1 #15 0x00002b96a7179a3e in ACE_Reactor::run_reactor_event_loop (this=0x4d7bc60, tv=@0x44808130, eh=0) at ../../../../dep/ACE_wrappers/ace/Reactor.cpp:271 result = 1 #16 0x00000000006fcfc7 in ReactorRunnable::svc (this=0x2b96a9b62f90) at ../../../src/game/WorldSocketMgr.cpp:167 interval = {static zero = { static zero = <same as static member of an already seen type>, static max_time = { static zero = <same as static member of an already seen type>, static max_time = <same as static member of an already seen type>, tv_ = {tv_sec = 9223372036854775807, tv_usec = 999999}}, tv_ = { tv_sec = 0, tv_usec = 0}}, static max_time = <same as static member of an already seen type>, tv_ = { tv_sec = 0, tv_usec = 6906}} #17 0x00002b96a719c027 in ACE_Task_Base::svc_run (args=<value optimized out>) at ../../../../dep/ACE_wrappers/ace/Task.cpp:275 t = (ACE_Task_Base *) 0x2b96a9b62f90 svc_status = <value optimized out> #18 0x00002b96a719cfa5 in ACE_Thread_Adapter::invoke (this=0x26a6e80) at ../../../../dep/ACE_wrappers/ace/Thread_Adapter.cpp:98 exit_hook_instance = (ACE_Thread_Exit *) 0x26a6e60 exit_hook_maybe = {instance_ = 0x0} exit_hook_ptr = <value optimized out> #19 0x00002b96a77b8f1a in start_thread () from /lib/libpthread.so.0 No symbol table info available. #20 0x00002b96a7e1f5d2 in clone () from /lib/libc.so.6 No symbol table info available. #21 0x0000000000000000 in ?? () No symbol table info available. Another crash, here is the backtrace full : #0 std::_List_base<Aura*, std::allocator<Aura*> >::_M_clear ( this=0x2adba07aa298) at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/list.tcc:76 __cur = (class std::_List_node<Aura*> *) 0x0 #1 0x00000000006beb6c in ~Unit (this=0x2adba07a9870) at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:339 No locals. #2 0x0000000000500276 in ~Creature (this=0x2adba07a9870) at ../../../src/game/Creature.cpp:144 No locals. #3 0x00000000005b6374 in ObjectGridUnloader::Visit<Creature> ( this=<value optimized out>, m=@0x2adbf022a460) at ../../../src/game/ObjectGridLoader.cpp:280 obj = (class Creature *) 0x2adba07a9870 #4 0x00000000005b72cd in VisitorHelper<ObjectGridUnloader, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > (v=@0x0, c=@0x55) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70 No locals. #5 0x000000000057f4d5 in Map::UnloadGrid (this=0x2adb8ec67ab0, x=@0x42803e9c, y=@0x42803e98, pForce=<value optimized out>) at ../../../src/game/../framework/GameSystem/GridLoader.h:72 unloader = {i_grid = @0x2adbf0226760} grid = <value optimized out> gx = <value optimized out> gy = <value optimized out> __PRETTY_FUNCTION__ = "bool Map::UnloadGrid(const uint32&, const uint32&, bool)" #6 0x000000000057f88a in Map::UnloadAll (this=0x2adb8ec67ab0, pForce=<value optimized out>) at ../../../src/game/Map.cpp:981 grid = <value optimized out> #7 0x0000000000758ba7 in MapInstanced::DestroyInstance (this=0x103b380, itr=@0x42803f10) at ../../../src/game/MapInstanced.cpp:249 No locals. #8 0x000000000075903b in MapInstanced::Update (this=0x103b380, t=@0x42803f5c) at ../../../src/game/MapInstanced.cpp:47 i = {_M_cur = 0x2adbf7076250, _M_ht = 0x1053470} #9 0x000000000059a0a4 in MapManager::Update (this=0x2adb68010260, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:252 iter = {_M_cur = 0xee0f40, _M_ht = 0x2adb680102e8} #10 0x00000000006ed725 in World::Update (this=0xa5cf80, diff=953) at ../../../src/game/World.cpp:1552 next = {_M_cur = 0x0, _M_ht = 0xa5d010} #11 0x00000000004e1f24 in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:59 diff = 953 realCurrTime = 1984348364 realPrevTime = <value optimized out> prevSleepTime = 0 #12 0x00002adb62a18371 in ZThread::ThreadImpl::Dispatch (parent=0xa39050, impl=0x10047b0, task=@0x428041a0) at ../../../../dep/src/zthread/ThreadImpl.cxx:407 No locals. #13 0x00002adb62a1a876 in ZThread::(anonymous namespace)::Launcher::run ( this=0x7fff48d634b0) at ../../../../dep/src/zthread/ThreadImpl.cxx:49 No locals. #14 0x00002adb62a1e1ce in _dispatch (arg=0x0) at ../../../../dep/src/zthread/posix/ThreadOps.cxx:137 __PRETTY_FUNCTION__ = "void* ZThread::_dispatch(void*)" #15 0x00002adb62b30f1a in start_thread () from /lib/libpthread.so.0 No symbol table info available. #16 0x00002adb631975d2 in clone () from /lib/libc.so.6 No symbol table info available. #17 0x0000000000000000 in ?? () No symbol table info available.
×
×
  • 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