basuranephilim wrote:Well it could be monsters that are hostile to buildings (as well as players).
Or an earthquake / fissure that does damage and unblockable decay dmg in an area.
As for detecting if it's walled in.
Maybe it's possible for it to look for palisades near it.
If it finds a palisade it could check if it goes around the node / is connected to other corner-posts that are in a 360 degree around the node, and by that determine if it's walled in or not.
I'm not sure if this is a proper logic train or possible through programming.
I think you are looking at the wrong problem. How far away can be considered near to the node? If this number is small X tiles distance, players can making their walls X+1 tiles away. "So making the distance X very large,'' you say, but then there is now a large area around each node that you cannot be building. This will be affecting players just trying to make a life without care for resource node.
I also think for running algorithm with detection of surrounding with wall only can be some O(n^2) solutions, which is maybe too costly for servers. But I am not much expert on these matters.
Kaios wrote:Spice Girls are integral to understanding Ysh's thought process when communicating, duly noted.
I have become victory of very nice
Jordan Coles Contest! Enjoy my winning submit
here if it pleasures you.