1 (edited by Deleted User 2009-11-01 04:49:12)

Topic: [HELP] Clients are sending lots of garbage

I'm hosting Teeworlds on a home server since 3 months with a real upload of ~60 kbit/sec. This is enough for a server with 16 slots but several times on a day all clients get a ping of 1.000. I looked at the traffic the clients are sending and saw that the traffic is increasing multiple times if the problem appears. In succussion of this a bottleneck appears that is responsible of this high ping.

I have this problem since all 3 months with version 0.5.1 and 0.5.2 of the server on Windows XP Professional SP3. I'm using no modifications and the problem appears in all standard modes. No other programs or clients in my network are doing something at this time. I have made a screenshot of the traffic if the clients are sending lots of traffic:

http://img408.imageshack.us/img408/5277/trafficx.jpg

2

Re: [HELP] Clients are sending lots of garbage

Check your server config. I used to have a problem where I made one tiny little mistake in there, just accidentally typed in a bad key, and it screwed it all up. If that's not it, check your internet.

[mecha]
[B0rd3rl4ndsf4g4lyf]

3

Re: [HELP] Clients are sending lots of garbage

I'm often playing on the specified server, getting a ping of 1000 several times a day. I'll shortly add a screenshot of my connection protocol. This is really annoying during gameplay.

@Roderick This is not caused by the server config as it happens in all game modes which got different configs. Count the full upload in the screenshot, then you will see thart teeworld does send something to the clients in meantime, more than sworddragons upload can do.

4

Re: [HELP] Clients are sending lots of garbage

like I said i made a screenshot of normal network traffic to the server, traffic protocol of lagtime (when my ping is 1000) will be added tomorrow.
network traffic
PS: Pleas notice that bps means bit per second, not byte per second. The duration is denoted in seconds

That tells us that the average upload to the server is ~1.13 kbyte/s and the average download ~2.0 kbyte/s

5

Re: [HELP] Clients are sending lots of garbage

As promised, here is the protocol of the lagtime. As you can see, the download from the server rises to ~ 12.75 kbyte/s while my upload falls to ~0.4 kbyte/s.
Please notice that my internet stayed constant. (no connection problems o sth.)
Lagtime

If the server sends the same amount of data to all players (there were 10 active in that time), the internet connection of sworddragon ( 60-70 kbyte/s) cant transfer this. (~130 kbyte/s). The question is .. where does all this data come from ?

6 (edited by Deleted User 2010-02-16 10:31:45)

Re: [HELP] Clients are sending lots of garbage

As I noticed it seems that the problem only occur if the overall upload is fully used. For example: 16 players are on my server and using ~50 KB of my 70 KB upload that is available. At this time I make something else that is using for a few seconds the rest of my upload. After this the server is going crazy even if the few seconds are over. Maybe the teeworlds server is trying to don't lose any connection to a client and is making something in a loop or something else that sends a big amount of traffic to every client.