Ping Protocol Example Script

General discussion about Life is Feudal MMO and Life is Feudal: Your Own, The main section and backbone of the forums.
User avatar
BlueFangServers
Alpha Tester
 
Posts: 22
Joined: 04 Sep 2014, 13:49

Ping Protocol Example Script

Post by BlueFangServers » 09 Oct 2014, 14:06

Hi Guys,

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).
Image

Return to General Discussion