Gitu Cropwel
reptera.net
- Joined
- Dec 7, 2012
- Messages
- 118
- Reaction score
- 4
Siema, jakbyś któs mógł lekko pomóc przeczytać te logi:
byłbym bardzo wdzięczny
tutaj coś nowego, ktoś kto ma trochę lepszego loga:
tak się zastanawiam, skąd ktoś miał item ida 30128, skoro tego nie można zrobić?
Code:
#0 0x00007fd5ce822bd9 in std::string::compare(std::string const&) const () from /usr/lib/libstdc++.so.6
No symbol table info available.
#1 0x00000000004a74c8 in std::operator< <char, std::char_traits<char>, std::allocator<char> > (__lhs=..., __rhs=...) at /usr/include/c++/4.4/bits/basic_string.h:2317
No locals.
#2 0x00000000004a87dc in std::less<std::string>::operator() (this=0x3a599370, __x=..., __y=...) at /usr/include/c++/4.4/bits/stl_function.h:230
No locals.
#3 0x000000000059ad73 in std::_Rb_tree<std::string, std::pair<std::string const, ItemAttribute>, std::_Select1st<std::pair<std::string const, ItemAttribute> >, std::less<std::string>, std::allocator<std::pair<std::string const, ItemAttribute> > >::_M_lower_bound (this=0x3a599370, __x=0x16a21f90, __y=0x3a599378, __k=...)
at /usr/include/c++/4.4/bits/stl_tree.h:986
No locals.
#4 0x000000000059a7e3 in std::_Rb_tree<std::string, std::pair<std::string const, ItemAttribute>, std::_Select1st<std::pair<std::string const, ItemAttribute> >, std::less<std::string>, std::allocator<std::pair<std::string const, ItemAttribute> > >::find (this=0x3a599370, __k=...) at /usr/include/c++/4.4/bits/stl_tree.h:1421
__j = {_M_node = 0x24}
#5 0x000000000059a2b5 in std::map<std::string, ItemAttribute, std::less<std::string>, std::allocator<std::pair<std::string const, ItemAttribute> > >::find (
this=0x3a599370, __x=...) at /usr/include/c++/4.4/bits/stl_map.h:659
No locals.
#6 0x0000000000598f05 in ItemAttributes::getIntegerAttribute (this=0x16a21fa0, key=..., ok=@0x7fd5cbfc186f) at itemattributes.cpp:110
it = {_M_node = 0x1cc8cbfc1800}
#7 0x0000000000596511 in Item::getAttackSpeed (this=0x16a21fa0) at item.h:449
ok = false
v = 0
#8 0x000000000068f577 in Player::getAttackSpeed (this=0x177d0f40) at player.cpp:4715
modifiers = 0
_weapon = 0x16a21fa0
#9 0x000000000068a977 in Player::doAttacking (this=0x177d0f40) at player.cpp:3743
attackSpeed = 0
#10 0x000000000049d9b9 in Creature::onAttacking (this=0x177d0f40, interval=100) at creature.cpp:261
deny = false
attackEvents = {<std::_List_base<CreatureEvent*, std::allocator<CreatureEvent*> >> = {
_M_impl = {<std::allocator<std::_List_node<CreatureEvent*> >> = {<__gnu_cxx::new_allocator<std::_List_node<CreatureEvent*> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x7fd5cbfc4ae0, _M_prev = 0x7fd5cbfc4ae0}}}, <No data fields>}
#11 0x00000000004fd559 in Game::checkCreatures (this=0xa996c0) at game.cpp:4395
i = 6
it = {_M_current = 0x10950420}
creatureVector = {<std::_Vector_base<Creature*, std::allocator<Creature*> >> = {
_M_impl = {<std::allocator<Creature*>> = {<__gnu_cxx::new_allocator<Creature*>> = {<No data fields>}, <No data fields>}, _M_start = 0x10950150,
_M_finish = 0x109506b0, _M_end_of_storage = 0x109506c8}}, <No data fields>}
checkCreatureVector = @0x4aeb09
#12 0x00000000005254ae in boost::_mfi::mf0<void, Game>::operator() (this=0x7fd5bd502e88, p=0xa996c0) at /usr/include/boost/bind/mem_fn_template.hpp:49
No locals.
#13 0x0000000000522a35 in boost::_bi::list1<boost::_bi::value<Game*> >::operator()<boost::_mfi::mf0<void, Game>, boost::_bi::list0> (this=0x7fd5bd502e98, f=..., a=...)
at /usr/include/boost/bind/bind.hpp:253
No locals.
#14 0x0000000000520f55 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, Game>, boost::_bi::list1<boost::_bi::value<Game*> > >::operator() (this=0x7fd5bd502e88)
at /usr/include/boost/bind/bind_template.hpp:20
a = {<No data fields>}
#15 0x000000000051db54 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, Game>, boost::_bi::list1<boost::_bi::value<Game*> > >, void>::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:153
f = 0x7fd5bd502e88
#16 0x00000000004dfb97 in boost::function0<void>::operator() (this=0x7fd5bd502e80) at /usr/include/boost/function/function_template.hpp:1013
No locals.
#17 0x00000000004df66e in Task::operator() (this=0x7fd5bd502e70) at dispatcher.h:34
No locals.
#18 0x00000000004de8d4 in Dispatcher::dispatcherThread (this=0xa96680) at dispatcher.cpp:71
task = 0x7fd5bd502e70
outputPool = 0xa96560
taskLockUnique = {m = 0xa966c0, is_locked = false}
#19 0x00000000004e1434 in boost::_mfi::mf0<void, Dispatcher>::operator() (this=0x12c0ff0, p=0xa96680) at /usr/include/boost/bind/mem_fn_template.hpp:49
No locals.
#20 0x00000000004e13a5 in boost::_bi::list1<boost::_bi::value<Dispatcher*> >::operator()<boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list0> (this=0x12c1000,
f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
No locals.
#21 0x00000000004e1351 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list1<boost::_bi::value<Dispatcher*> > >::operator() (
this=0x12c0ff0) at /usr/include/boost/bind/bind_template.hpp:20
a = {<No data fields>}
#22 0x00000000004e1248 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list1<boost::_bi::value<Dispatcher*> > > >::run (this=0x12c0ec0) at /usr/include/boost/thread/detail/thread.hpp:56
No locals.
#23 0x00007fd5cf5bf200 in thread_proxy () from /usr/lib/libboost_thread.so.1.42.0
No symbol table info available.
#24 0x00007fd5ceffd8ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
__res = <value optimized out>
pd = 0x7fd5cbfc5700
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140556227073792, -4308749374033504614, 140556277678016, 0, 140556304269376, 3, 4296338101303498394,
4296331490753238682}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <value optimized out>
freesize = <value optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#25 0x00007fd5ce050b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
Code:
#0 0x00007f5e7dafdbd9 in std::string::compare(std::string const&) const () from /usr/lib/libstdc++.so.6
#1 0x00000000004a74c8 in std::operator< <char, std::char_traits<char>, std::allocator<char> > (__lhs=..., __rhs=...) at /usr/include/c++/4.4/bits/basic_string.h:2317
#2 0x00000000004a87dc in std::less<std::string>::operator() (this=0x7f5e74481780, __x=..., __y=...) at /usr/include/c++/4.4/bits/stl_function.h:230
#3 0x000000000059ad73 in std::_Rb_tree<std::string, std::pair<std::string const, ItemAttribute>, std::_Select1st<std::pair<std::string const, ItemAttribute> >, std::less<std::string>, std::allocator<std::pair<std::string const, ItemAttribute> > >::_M_lower_bound (this=0x7f5e74481780, __x=0x7f5e74481780, __y=0x7f5e74481788, __k=...)
at /usr/include/c++/4.4/bits/stl_tree.h:986
#4 0x000000000059a7e3 in std::_Rb_tree<std::string, std::pair<std::string const, ItemAttribute>, std::_Select1st<std::pair<std::string const, ItemAttribute> >, std::less<std::string>, std::allocator<std::pair<std::string const, ItemAttribute> > >::find (this=0x7f5e74481780, __k=...) at /usr/include/c++/4.4/bits/stl_tree.h:1421
#5 0x000000000059a2b5 in std::map<std::string, ItemAttribute, std::less<std::string>, std::allocator<std::pair<std::string const, ItemAttribute> > >::find (
this=0x7f5e74481780, __x=...) at /usr/include/c++/4.4/bits/stl_map.h:659
#6 0x0000000000598f05 in ItemAttributes::getIntegerAttribute (this=0x7f5e77777e00, key=..., ok=@0x7f5e7b29c34f) at itemattributes.cpp:110
#7 0x0000000000596511 in Item::getAttackSpeed (this=0x7f5e77777e00) at item.h:449
#8 0x000000000068f577 in Player::getAttackSpeed (this=0x7f5e6163bcb0) at player.cpp:4715
#9 0x0000000000698a58 in Player::hasExtraSwing (this=0x7f5e6163bcb0) at player.h:485
#10 0x000000000049fe1a in Creature::onCreatureMove (this=0x7f5e6163bcb0, creature=0x7f5e6163bcb0, newTile=0x3bba8c50, newPos=..., oldTile=0x3bba8d80, oldPos=...,
teleport=false) at creature.cpp:707
#11 0x0000000000680575 in Player::onCreatureMove (this=0x7f5e6163bcb0, creature=0x7f5e6163bcb0, newTile=0x3bba8c50, newPos=..., oldTile=0x3bba8d80, oldPos=...,
teleport=false) at player.cpp:1709
#12 0x0000000000731942 in Tile::moveCreature (this=0x3bba8d80, actor=0x0, creature=0x7f5e6163bcb0, toCylinder=0x3bba8c50, forceTeleport=false) at tile.cpp:487
#13 0x00000000004eb676 in Game::internalMoveCreature (this=0xa996c0, actor=0x0, creature=0x7f5e6163bcb0, fromCylinder=0x3bba8d80, toCylinder=0x3bba8c50, flags=32,
forceTeleport=false) at game.cpp:1330
#14 0x00000000004eb4b8 in Game::internalMoveCreature (this=0xa996c0, creature=0x7f5e6163bcb0, direction=NORTH, flags=32) at game.cpp:1308
#15 0x000000000049daa8 in Creature::onWalk (this=0x7f5e6163bcb0) at creature.cpp:277
#16 0x00000000004fd14f in Game::checkCreatureWalk (this=0xa996c0, creatureId=268658581) at game.cpp:4336
#17 0x000000000049e058 in Creature::addEventWalk (this=0x7f5e6163bcb0, firstStep=true) at creature.cpp:374
#18 0x000000000049dfa8 in Creature::startAutoWalk (this=0x7f5e6163bcb0, listDir=...) at creature.cpp:354
#19 0x00000000004f0bf9 in Game::playerMove (this=0xa996c0, playerId=268658581, dir=NORTH) at game.cpp:2301
#20 0x00000000006d45d5 in boost::_mfi::mf2<bool, Game, unsigned int, Direction>::operator()(Game*, unsigned int, Direction) const ()
#21 0x00000000006d019a in bool boost::_bi::list3<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<Direction> >::operator()<bool, boost::_mfi::mf2<bool, Game, unsigned int, Direction>, boost::_bi::list0>(boost::_bi::type<bool>, boost::_mfi::mf2<bool, Game, unsigned int, Direction>&, boost::_bi::list0&, long) ()
#22 0x00000000006cd679 in boost::_bi::bind_t<bool, boost::_mfi::mf2<bool, Game, unsigned int, Direction>, boost::_bi::list3<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<Direction> > >::operator()() ()
#23 0x00000000006cad99 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<bool, boost::_mfi::mf2<bool, Game, unsigned int, Direction>, boost::_bi::list3<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<Direction> > >, void>::invoke(boost::detail::function::function_buffer&) ()
#24 0x00000000004dfb97 in boost::function0<void>::operator() (this=0x7f5e74058d30) at /usr/include/boost/function/function_template.hpp:1013
#25 0x00000000004df66e in Task::operator() (this=0x7f5e74058d20) at dispatcher.h:34
#26 0x00000000004de8d4 in Dispatcher::dispatcherThread (this=0xa96680) at dispatcher.cpp:71
#27 0x00000000004e1434 in boost::_mfi::mf0<void, Dispatcher>::operator() (this=0x24a5ff0, p=0xa96680) at /usr/include/boost/bind/mem_fn_template.hpp:49
#28 0x00000000004e13a5 in boost::_bi::list1<boost::_bi::value<Dispatcher*> >::operator()<boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list0> (this=0x24a6000,
---Type <return> to continue, or q <return> to quit---
f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#29 0x00000000004e1351 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list1<boost::_bi::value<Dispatcher*> > >::operator() (
this=0x24a5ff0) at /usr/include/boost/bind/bind_template.hpp:20
#30 0x00000000004e1248 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list1<boost::_bi::value<Dispatcher*> > > >::run (this=0x24a5ec0) at /usr/include/boost/thread/detail/thread.hpp:56
#31 0x00007f5e7e89a200 in thread_proxy () from /usr/lib/libboost_thread.so.1.42.0
#32 0x00007f5e7e2d88ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#33 0x00007f5e7d32bb6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#34 0x0000000000000000 in ?? ()
byłbym bardzo wdzięczny
tutaj coś nowego, ktoś kto ma trochę lepszego loga:
Code:
virtual bool hasExtraSwing() {return lastAttack > 0 && ((OTSYS_TIME() - lastAttack) >= getAttackSpeed());}
(gdb) p this->name
$24 = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffef4b1abd8 "G
o Back"}}
(gdb) p this->weapon
$25 = (Item *) 0x7fff47b21e50
(gdb) p this->weapon->id
$26 = 30128
tak się zastanawiam, skąd ktoś miał item ida 30128, skoro tego nie można zrobić?
Last edited: