Select best cluster of game-servers connection using PowerShell like the Wargaming launcher does. 🚀🎮

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


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top