How to check connection to server clusters using powershell or how to do the same thing that the launcher does when logging into Wargaming and Lesta game account. ๐๐ฎ
When throwing pebbles into the water, look at the circles formed by them; otherwise, such throwing will be an empty amusement ๐. What do I liken a good MT/WOT ping to? - To a fast projectile hitting the target.
Clusters of game servers for โWorld of Tanksโ and โWorld of Tanksโ are distributed in different regions, and each cluster serves a certain set of servers. The game selects the server based on the lowest ping to the cluster. Probably, additional selection parameters are used, and all this happens at the moment of connection. Also, at any time in the game, you can switch to the available list of servers sorted by ping. If you want to solve the problem of choosing the optimal cluster yourself, you will need to check the ping to each server in each cluster, determine the average ping and its variance, and the less these indicators, the more suitable the cluster for the game. For this purpose, I have written a PowerShell script that performs these actions, displays the results in the console as the list is traversed, and selects the optimal cluster based on the final table. The script code is available on GitHub in the public repo. Instructions on how to use and customize it are in the repo README.
sadly dev.to does not allow this fifth hastag for article: #abnormal_programming
Top comments (0)