After I updated to 0.3.4 I get a "Segmentation fault" message after like 2 minutes and then my server terminates.
I tried recompiling to no avail.
I never had this problem before after hosting on 0.3.1-0.3.3 on this same dedicated.
Here's the core dump
Apparently it's crashing on monster getNextStep.
Also on line 1003 of monster.cpp:
Anybody know what could be causing this? And how to fix it?
I tried recompiling to no avail.
I never had this problem before after hosting on 0.3.1-0.3.3 on this same dedicated.
Here's the core dump
Apparently it's crashing on monster getNextStep.
Also on line 1003 of monster.cpp:
Code:
if(result && (canPushItems() || canPushCreatures()))
{
const Position& pos = Spells::getCasterPosition(this, dir);
if(Tile* tile = g_game.getTile(pos.x, pos.y, pos.z))
{
if(canPushItems())
pushItems(tile);
if(canPushCreatures())
[SIZE="3"][I][B]pushCreatures(tile);[/B][/I][/SIZE]
}
#ifdef __DEBUG__
else
std::cout << "getNextStep - no tile." << std::endl;
#endif
}
return result;
}
Last edited: