Hello. As I'm sure you know by now, SSP and SMP have recently been merged into the same codebase, and the old SSP code has been scrapped. This has resulted in numerous SMP bugs occurring SSP where they wouldn't have normally, then number one issue being mob stuttering/lag. Here I have proposed atleast a temporary solution to some of these issues. I don't know if it would work out too well when put in to place, but it may atleast be a start.
Currently, the server and the client run in parallel, but they are not always in sync. However, if the player is playing alone, then there is no reason to not have them in sync. So perhaps, if there is only one player on a server and/or if the server is a locally hosted one, the server could wait to do its next "cycle" until it has received a message from the client that it is ready to move on. Now obviously, I've oversimplified it here, and actually implementing it would most likely be a tad bit more complicated, but it's atleast an idea.
Currently, the server and the client run in parallel, but they are not always in sync. However, if the player is playing alone, then there is no reason to not have them in sync. So perhaps, if there is only one player on a server and/or if the server is a locally hosted one, the server could wait to do its next "cycle" until it has received a message from the client that it is ready to move on. Now obviously, I've oversimplified it here, and actually implementing it would most likely be a tad bit more complicated, but it's atleast an idea.
Thoughts? Comments? Do you think it would work?