--- deliantra/server/socket/loop.C 2007/07/05 10:34:08 1.58 +++ deliantra/server/socket/loop.C 2007/07/24 04:55:35 1.61 @@ -168,7 +168,7 @@ if (!faces_sent [scrub_idx]) { - send_face (scrub_idx); + send_face (scrub_idx, -120); flush_fx (); bg_scrub = 1; // send up to one face per tick, unless an image was requested @@ -178,7 +178,7 @@ rate_avail = max_rate - outputbuffer_len (); } - else + else if (!outq) // only send when bandwidth allows it { int ol = outputbuffer_len (); @@ -214,6 +214,8 @@ ix.ofs -= chunk; + //fprintf (stderr, "i%dx %6d: %5d+%4d (%4d)\n", fxix, ix.idx,ix.ofs,chunk, ixface.size());//D + packet sl ("ix"); sl << ber32 (ix.idx)