From: Jared Stevens Organization: Lineo Inc. To: djgpp AT delorie DOT com Subject: Network Algorythms Date: Mon, 15 May 2000 14:39:41 -0600 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00051514442800.00617@sparky.lineo.com> Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com Hello all - I've been trying to write a game that is sort of a networked capture the flag, with tanks. I was hoping to have about 8 players in the game at a time, but I'm having lag problems with just 4. What I'm doing is I've got a timer routine that keeps the frame rate at about 13-15 fps. My packets are only 44 bytes long, and I'm sending them at a rate of about 1/frame. Another thing I'm doing is I have player numbers assigned to all the computers, and one computer, say #5, wont send it's packet, or progress in the main game loop, until computer #4 sends it's packet, and same for the others. A few things I'm wondering about is, am I sending the packets too fast? Are the packets too big? Thanks, Jared Stevens