Better:therapist wrote:I understand that the engine can't just check 10 tiles away, but is it possible to use the bugs pathfinding AI to fix this problem? Run a sort of "ghost bug" check upon map generation to see if the nearest bug nest can reach the player and maybe the second and third nearest nests as well? If these nests can't be reached, or rather, these nests cannot properly path to the player, this could cause the game to display the "You have landed quite unfortunate, doomed on an island. Regenerate map Y/N?" message that others have suggested before, or the game could move the player to the nearest shore and run the check again.
Maybe the pathfinding AI isn't developed enough to exhibit this function yet, and the solution will be fixed in map generation, but as others have argued generating maps where the player is on an island might be a natural part of map generation and not a bug at all. The bug seems to be not letting new players know how/why they are doomed or giving them any option to get off the island.
Attempt to pathfind from the player to chunks that have not been generated yet (preferably in order of "shortest path first"). Generate those chunks. Continue until one each of: tree, coal, iron, stone, copper, oil, and biter spawner, has been generated in a location that can be reached from the player (special check). If no further chunks can be reached, and not all deposit types have been reached, relocate the player to a chunk that has not been generated yet (and is therefore unreachable from his original position), and restart from the beginning.
I think it's a good compromise: you can wind up on an island with limited resources, but you're guaranteed to have at least SOME of every raw resource (and probably a reasonable amount of space), so you're not completely locked out of part of the tech tree with no recourse.