Pandarohoo
=3
This edit will make it easier for you to copy & paste the coordinates to a .lua script.
In this function:
[cpp]bool Game:layerLookAt(uint32_t playerId, const Position& pos, uint16_t spriteId, int16_t stackpos)[/cpp]
From this:
[cpp] if(player->hasCustomFlag(PlayerCustomFlag_CanSeePosition))
{
ss << std::endl << "Position: [X: " << thingPos.x << "] [Y: " << thingPos.y << "] [Z: " << thingPos.z << "]";
if(Tile* tile = getTile(thingPos))
{
if(House* house = tile->getHouse())
ss << " [House: " << house->getId() << "]";
}
ss << ".";
}[/cpp]
To this:
[cpp] if(player->hasCustomFlag(PlayerCustomFlag_CanSeePosition))
{
ss << std::endl << "Position: {x = " << thingPos.x << ", y = " << thingPos.y << ", z = " << thingPos.z << "}";
if(Tile* tile = getTile(thingPos))
{
if(House* house = tile->getHouse())
ss << " [House: " << house->getId() << "]";
}
ss << ".";
}[/cpp]
Credits goes to Ralcoral ^_^
Yours,
Pandarohoo.
In this function:
[cpp]bool Game:layerLookAt(uint32_t playerId, const Position& pos, uint16_t spriteId, int16_t stackpos)[/cpp]
From this:
[cpp] if(player->hasCustomFlag(PlayerCustomFlag_CanSeePosition))
{
ss << std::endl << "Position: [X: " << thingPos.x << "] [Y: " << thingPos.y << "] [Z: " << thingPos.z << "]";
if(Tile* tile = getTile(thingPos))
{
if(House* house = tile->getHouse())
ss << " [House: " << house->getId() << "]";
}
ss << ".";
}[/cpp]
To this:
[cpp] if(player->hasCustomFlag(PlayerCustomFlag_CanSeePosition))
{
ss << std::endl << "Position: {x = " << thingPos.x << ", y = " << thingPos.y << ", z = " << thingPos.z << "}";
if(Tile* tile = getTile(thingPos))
{
if(House* house = tile->getHouse())
ss << " [House: " << house->getId() << "]";
}
ss << ".";
}[/cpp]
Credits goes to Ralcoral ^_^
Yours,
Pandarohoo.