From 070278c4bcda9d980354df6be705bf236fd26839 Mon Sep 17 00:00:00 2001 From: "A. Svensson" Date: Sun, 5 Apr 2015 13:31:36 +0200 Subject: [PATCH] Added note. --- src/gameservers/management/commands/update_server_stats.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gameservers/management/commands/update_server_stats.py b/src/gameservers/management/commands/update_server_stats.py index d8bd7cd..6455167 100755 --- a/src/gameservers/management/commands/update_server_stats.py +++ b/src/gameservers/management/commands/update_server_stats.py @@ -92,6 +92,8 @@ import struct def poll_ss13_server(host, port, timeout=10): + # Thanks to /u/headswe for showing how to poll servers. + # Source: http://www.reddit.com/r/SS13/comments/31b5im/a_bunch_of_graphs_for_all_servers/cq11nld print 'polling:', host, port cmd = '?players' query = '\x00\x83{0}\x00\x00\x00\x00\x00{1}\x00'.format(