# -*- coding: utf-8 -*- # Modular system for querying game servers. # # Author: Roman Vasiyarov # License: GPLv3 # $Id$ # # Steam module (written for Wurm Unlimited) # import sys import struct from datetime import datetime NAMES = [ "name", "mapname", "gamedir", "game", "appid", "clients", "clientsmax", "bots", "servertype", "ostype", "private", "vac", # should be last "ping" ] # for struct.unpack FMT = { "name" : "s", "mapname" : "s", "gamedir" : "s", "game" : "s", "appid" : "