Skip to main content
GameDev.net gamedev.net
🔒 Locked

Lag???

Started by Sixpack78 Jan 14, 2003 at 3:38 PM 2 replies 650+ views
Original Post
Sixpack78
Sixpack78
I was recently researching the causes of lag and i would like to know what you think causes it. Please post ne information on it or ideas to correct the problem all input is appreciated.
Tjoppen
Tjoppen
Crappy connection/large distance/poorly written program?
delete this;
Soul
Soul
If your trying to keep lag in the code low,
then send small packets.
use UDP rather than TCP.
make sure your servers respond as fast as possible (probably look into multithreaded programming).
Oh yeah almost forgot, good datastructures.
Good datastructures will save you loads of time, especially good search trees for locating objects quickly
is that more the kind of thing you were looking for?










Edit: Correct spelling...

[edited by - Soul on January 15, 2003 4:29:54 AM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.