Esempio n. 1
0
 def store_settings_to_db(cls):
     config = ServerControl.get_config()
     Db.website_data_set('Game.ini',config['Game.ini'])
     Db.website_data_set('GameUserSettings.ini',config['GameUserSettings.ini'])
     data = Rcon.query_server()
     Db.website_data_set('game_version',data['game_version'])
     out('Settings uploaded to database.')
Esempio n. 2
0
 def store_settings_to_db(cls):
     config = ServerControl.get_config()
     Db.website_data_set('Game.ini', config['Game.ini'])
     Db.website_data_set('GameUserSettings.ini',
                         config['GameUserSettings.ini'])
     data = Rcon.query_server()
     Db.website_data_set('game_version', data['game_version'])
     out('Settings uploaded to database.')
Esempio n. 3
0
 def upload_to_web_players_online(cls, player_list):
     Db.website_data_set('players_online',
                         len(Storage.players_online_steam_name))
Esempio n. 4
0
 def upload_to_web_players_online(cls,player_list):
     Db.website_data_set('players_online', len(Storage.players_online_steam_name))