I am planning on making a patch which will allow players which have a specific admin flag to override server max ping restrictions.
This is a really big problem for me because I live in China and my ping is so high I can't even join my own clan server.
Please feel free to post any comments.
Now for the technical part:
Since g_admin is implemented in the qvm, the server code will need to ask the qvm whether to accept the player or not. The problem is that the ping is checked
before the qvm is called with ClientConnect. I have thought of the following solutions:
1) Append the player's ping to the arguments to the ClientConnect VMCall. This has the disadvantage of having to remove normal ping checks, and if the qvm does not have ping check in it, there will be no ping checks at all.
2) Create a dedicated CheckPing VMCall. This has the disadvantage of being harder to code, slower and bulky, but a regular ping check can still be done if the VMCall doesn't exist, because it will return -1, which can't be done with the previous method.
Please post any suggestions you may have.
Thank you in advance.