12-10-2013, 05:09 PM
It would be impossible to do it completely seamlessly. There are two main approaches here:
1, Teleport the player from one edge to the other. This suffers because the client and the server have some time lag in between them, so the server sending the teleport packet would make the client seem to jerk. Not to mention chunk reloads that take time.
2, Repeat the chunks forever. This has the problem of entities and other players being generally at one set of coords but this approach requires them to be at an infinite number of coords at the same time.
I think #1 is more doable, with a bit of #2 taken in - the chunks just beyond the edge that the player would normally see would need to be repeated, with all the defects coming with it.
1, Teleport the player from one edge to the other. This suffers because the client and the server have some time lag in between them, so the server sending the teleport packet would make the client seem to jerk. Not to mention chunk reloads that take time.
2, Repeat the chunks forever. This has the problem of entities and other players being generally at one set of coords but this approach requires them to be at an infinite number of coords at the same time.
I think #1 is more doable, with a bit of #2 taken in - the chunks just beyond the edge that the player would normally see would need to be repeated, with all the defects coming with it.