creativess
New Member
- Joined
- Jan 30, 2009
- Messages
- 24
- Reaction score
- 1
Hi
When i delete all npc spawn it works, and when i delete half of monster spawn it will work otherwise i get crash where on other machine it was working very good.
it might be something with int32?
gdb log
When i delete all npc spawn it works, and when i delete half of monster spawn it will work otherwise i get crash where on other machine it was working very good.
it might be something with int32?
gdb log
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5b77700 (LWP 9188)]
NpcScript::luaSelfGetPos (L=0x7ffff0351e90) at npc.cpp:697
697 Position pos = mynpc->pos;
(gdb) where
#0 NpcScript::luaSelfGetPos (L=0x7ffff0351e90) at npc.cpp:697
#1 0x00007ffff6fa4d75 in luaD_precall () from /usr/lib/liblua50.so.5.0
#2 0x00007ffff6faed7a in luaV_execute () from /usr/lib/liblua50.so.5.0
#3 0x00007ffff6fa5370 in luaD_call () from /usr/lib/liblua50.so.5.0
#4 0x00007ffff6fa4847 in luaD_rawrunprotected () from /usr/lib/liblua50.so.5.0
#5 0x00007ffff6fa55d2 in luaD_pcall () from /usr/lib/liblua50.so.5.0
#6 0x00007ffff6fa1b8c in lua_pcall () from /usr/lib/liblua50.so.5.0
#7 0x0000000000490ac0 in NpcScript::onThink (this=0x7ffff03463b0)
at npc.cpp:401
#8 0x0000000000490735 in Npc::onThink (this=<optimized out>,
newThinkTicks=@0x7ffff5b76cec: 0) at npc.cpp:308
#9 0x000000000044e514 in Game::checkCreature (this=0x703400, id=805317100)
at game.cpp:4977
#10 0x0000000000453619 in operator() (__x=<optimized out>,
__p=<optimized out>, this=<optimized out>)
at /usr/include/c++/4.7/bits/stl_function.h:633
#11 operator() (__x=<synthetic pointer>, this=<optimized out>)
at /usr/include/c++/4.7/backward/binders.h:161
#12 boost::detail::function::void_function_obj_invoker1<std::binder2nd<std::mem_fun1_t<void, Game, unsigned int> >, void, Game*>::invoke (
function_obj_ptr=..., a0=<optimized out>)
at /usr/include/boost/function/function_template.hpp:153
#13 0x00000000004b7c37 in operator() (a0=<optimized out>, this=<optimized out>)