for cpu u can use plugin, but this problems mostly because internet lag, and maybe even not because you lag, but some other player, this game is broadcast p2p packets so in multiplayer if someone lag then everyone will lag because they always waiting for his packets