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

"connect time" isn't set correctly when clients connect #164

Closed
efess opened this issue Jan 24, 2023 · 0 comments
Closed

"connect time" isn't set correctly when clients connect #164

efess opened this issue Jan 24, 2023 · 0 comments

Comments

@efess
Copy link

efess commented Jan 24, 2023

When you use the "status" command, or query a server via qstat - one of the fields returned is "connect time" which, which would indicate how long a client has been connected. In FTE server, this value is incorrect. Sometimes it seems to reflect the time the server was started, in other cases, I can't really tell what the value means. In the following screenshot, I just connected a client under the name of test:

image

Note - it says I've been connected for 15 hours.

It seems to boil down to the fact cl->connection_started isn't set correctly when the client joins.

In the original quake, this used to be set when a QSocket was created for a client in the network code:
https://github.com/id-Software/Quake/blob/master/WinQuake/net_main.c#L129

@eukara eukara closed this as completed in f8962b6 Apr 17, 2023
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

1 participant