We at BlueFangSolutions.com wanted to start contributing back to the community with some simple examples of how you can increase server reliability and up-time by using the ping protocol of the LiF:YO server. The method of using just the Steam Query protocol to query the server was unreliable as the server would crash and still respond to the queries.
The LiF:YO developers introduced a simple ping protocol to help improve stability of the servers and detect a crash more reliably. We implemented this as soon as it was released to help provide even more reliable servers to our customers, it helped us to identified crashed servers and restart them automatically.
Here is an example script of how you could also implement it in Python:
Spoiler
If you guys have questions as to how this works or what a specific line is doing, let us know and we will try to help. Later on we will update this to show how you can check the actual ping time (latency).