Statistics: Posted by ckitching — 27 Mar 2015, 11:05
Statistics: Posted by Vee — 26 Mar 2015, 22:51
Statistics: Posted by ZLO_RD — 26 Mar 2015, 17:11
Statistics: Posted by Vee — 26 Mar 2015, 11:46
(SELECT mapid
FROM game_stats
INNER JOIN game_player_stats
ON game_player_stats.gameid = game_stats.id
WHERE playerid = ?
LIMIT 5)
UNION DISTINCT
(SELECT mapid
FROM game_stats
INNER JOIN game_player_stats
ON game_player_stats.gameid = game_stats.id
WHERE playerid = ?
LIMIT 5);
Statistics: Posted by Sheeo — 26 Mar 2015, 02:02
Statistics: Posted by speed2 — 26 Mar 2015, 01:02
Statistics: Posted by Sheeo — 26 Mar 2015, 00:19
Statistics: Posted by Vee — 25 Mar 2015, 16:52
Statistics: Posted by ZLO_RD — 25 Mar 2015, 16:43
def choose_ladder_map_pool(self, player1, player2):
lucky_player = [player1,player2][random.randint(0,1)]
maps = self.getSelectedLadderMaps(lucky_player.id)
missing_maps = 15 - len(maps)
if missing_maps > 0:
maps += self.getPopularLadderMaps(missing_maps)[:missing_maps]
return maps
Statistics: Posted by Vee — 25 Mar 2015, 13:41