GOD Fito
Member
- Joined
- Oct 3, 2008
- Messages
- 97
- Solutions
- 1
- Reaction score
- 9
Anyone can read this?
Feature - Attributes MOD
I've add this MOD to my sources and everything works fine but at the moment when i speak with a NPC and double click in a item from the shop which has attributes the server crash
Any clue? tfs 0.3.7
Feature - Attributes MOD
I've add this MOD to my sources and everything works fine but at the moment when i speak with a NPC and double click in a item from the shop which has attributes the server crash
Any clue? tfs 0.3.7
C++:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000005672a7 in ItemAttributes::getAttribute (this=0x0,
key=0x6f0745 "skillfist") at itemattributes.cpp:76
76 itemattributes.cpp: No such file or directory.
(gdb) bt
#0 0x00000000005672a7 in ItemAttributes::getAttribute (this=0x0,
key=0x6f0745 "skillfist") at itemattributes.cpp:76
#1 0x000000000055ffca in Item::getDescription (it=..., lookDistance=1,
item=0x0, subType=0, addArticle=true) at item.cpp:1251
#2 0x00000000004d7c07 in Game::playerLookInShop (this=0xa33a00 <g_game>,
playerId=268436983, spriteId=3014, count=0 '\000') at game.cpp:3591
#3 0x0000000000685d4f in boost::_mfi::mf3<bool, Game, unsigned int, unsigned sh ort, unsigned char>::operator() (this=0x7f5c6c007ff0, p=0xa33a00 <g_game>,
a1=268436983, a2=3014, a3=0 '\000')
at /usr/include/boost/bind/mem_fn_template.hpp:393
#4 0x000000000068398b in boost::_bi::list4<boost::_bi::value<Game*>, boost::_bi ::value<unsigned int>, boost::_bi::value<unsigned short>, boost::_bi::value<unsi gned char> >::operator()<bool, boost::_mfi::mf3<bool, Game, unsigned int, unsign ed short, unsigned char>, boost::_bi::list0> (this=0x7f5c6c008000, f=...,
a=...) at /usr/include/boost/bind/bind.hpp:447
#5 0x00000000006801ee in boost::_bi::bind_t<bool, boost::_mfi::mf3<bool, Game, unsigned int, unsigned short, unsigned char>, boost::_bi::list4<boost::_bi::valu e<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<unsigned short>, bo ost::_bi::value<unsigned char> > >::operator() (this=0x7f5c6c007ff0)
at /usr/include/boost/bind/bind_template.hpp:20
#6 0x000000000067dfc3 in boost::detail::function::void_function_obj_invoker0<bo ost::_bi::bind_t<bool, boost::_mfi::mf3<bool, Game, unsigned int, unsigned short , unsigned char>, boost::_bi::list4<boost::_bi::value<Game*>, boost::_bi::value<