---------Bug#1---------
Title = house Failure!
How often reported = once it happens it loops
Problem with = line 64 of housetiles.cpp
Description = No idea what happens, but the server crashs repeatedly.. only known cure is to reset everyone to home temple.
Other information = all houses have positive exits with no bugs visually seen, perhaps this is a logic error or some weird race condition that sooner or later ends in failure
Suggestions = no idea but maybe make it so the dest tile (if null or negative) goes to the destination of your home temple. thats all i can think of that this moment
----------------------------------------------------------------
PS here is the code snippet from which the error revolves
Title = house Failure!
How often reported = once it happens it loops
Problem with = line 64 of housetiles.cpp
Description = No idea what happens, but the server crashs repeatedly.. only known cure is to reset everyone to home temple.
Other information = all houses have positive exits with no bugs visually seen, perhaps this is a logic error or some weird race condition that sooner or later ends in failure
Suggestions = no idea but maybe make it so the dest tile (if null or negative) goes to the destination of your home temple. thats all i can think of that this moment
----------------------------------------------------------------
PS here is the code snippet from which the error revolves
Code:
Cylinder* HouseTile::__queryDestination(int32_t& index, const Thing* thing, Item** destItem, uint32_t& flags)
{
if(const Creature* creature = thing->getCreature())
{
if(const Player* player = creature->getPlayer())
{
if(!house->isInvited(player))
{
const Position& EntryPos = house->getEntryPosition();
Tile* destTile = g_game.getTile(EntryPos.x, EntryPos.y, EntryPos.z);
[color=red]Line 64->[/color] assert(destTile != NULL);
index = -1;
*destItem = NULL;
return destTile;
}
}
}
return Tile::__queryDestination(index, thing, destItem, flags);