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

Increase MAX_SERVERS to make sure that "find best route" feature will work properly #12

Open
zalon opened this issue Jun 10, 2023 · 0 comments

Comments

@zalon
Copy link

zalon commented Jun 10, 2023

During a past GetQuad, I noticed that the "find best route" feature from ezQuake wasn't working as good as it used to. While investigating I noticed that qwfwd has a hardcoded limit of 512 servers, which it can hold from the master servers.

When GetQuad was live, there was 662 active servers and when I was testing, there was 700+.

This means that you gotta be pretty lucky that the qwfwds you need, holds the ping information for the servers you need to connect to, let alone the chain feature.

#define MAX_SERVERS 512 // we will not add more than that servers to our list, just for some sanity

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