Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Fix some lag issues #260

Closed
ifactor1 opened this issue Sep 22, 2015 · 2 comments
Closed

[Suggestion] Fix some lag issues #260

ifactor1 opened this issue Sep 22, 2015 · 2 comments

Comments

@ifactor1
Copy link

https://streamable.com/z1wf This is the result of a less than .1% overall packet loss. I was trying to stay north of the flag but glitched out right for a few seconds. I believe this is because events are sent when keys are pressed and released, and the release event is getting dropped by my connection.

I suggest updating which keys are currently pressed every event.

I'll eventually fix my lag, but this could potentially help others as well. The packet loss is not noticeable anywhere else.

@jarhill0
Copy link

Most lag in tagpro is caused by the fact that it uses the TCP protocol which requires every packet to be confirmed. Thus, new packets do not get through until an old one has been confirmed. Web browsers use TCP, and without building a separate client, it is difficult to use UDP, where packets are unconfirmed.

In TagPro Next, there will be a standalone client that uses UDP, which will reduce lag.

It also looks like you might have some graphics freezing happening.

On Mon, Sep 21, 2015 at 9:06 PM, ifactor1 notifications@github.com
wrote:

https://streamable.com/z1wf This is the result of a less than .1% overall packet loss. I was trying to stay north of the flag but glitched out right for a few seconds. I believe this is because events are sent when keys are pressed and released, and the release event is getting dropped by my connection.
I suggest updating which keys are currently pressed every event.

I'll eventually fix my lag, but this could potentially help others as well. The packet loss is not noticeable anywhere else.

Reply to this email directly or view it on GitHub:
#260

@ifactor1
Copy link
Author

That happens like once every 10 minutes, the rest of the time it's perfect, no graphics issues steady 60.

I still see the rest of the players move around find, and looking in wireshark I can see all the other events firing after the dropped release event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants