Laser Squad Nemesis Tournament Administrator System |
|
|
INFORMATIONAL FUNCTIONSThere are a number of calls which provide xml data in the http response. CURRENT GAMESCall this url, with your admin_id, to get a list of your games still in progress: http://codo-linux1.bytemark.co.uk/GameAdmin/CurrentGames You will get an xml list of games in progress, with data for game_id and current game turn. You must check for errors, as with the start game call. sample xml response: <current_games> FINISHED GAMESCall this url, with your admin_id, to get a list of your finished games: http://codo-linux1.bytemark.co.uk/GameAdmin/FinishedGames You will get an xml list of finished games, with data for game_id and winner. The winner is '1' for player 1, '2' for player 2 or 'd' for drawn. You must check for errors, as with the start game call. sample xml response: <finished_games> MAP LISTYou can call a url to obtain a current list of maps. You should check the map list for valid map names before initiating each game. The maps available for your tournament include all maps in the official pool, plus maps which have been tagged as 'tournament only'. In order to upload your own maps and make them available for your tournament you will need map administrator status. You should apply for this when you need it. Call this url, with your admin_id, to get a list of all available maps: http://codo-linux1.bytemark.co.uk/GameAdmin/Maps sample xml response: <maps> 'tournament_only' is '1' if the map is reserved for tournament games and not in the general pool. 'random_pool' is '1' if the map is included in random map selections for games. CALLBACK FAILURESYou can check a list of callback failures to your callback url for aborted or finished games. Call this url with your admin_id: http://codo-linux1.bytemark.co.uk/GameAdmin/CallbackFailures Sample xml response: <callback_failures>
|