You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Scheduler: new feature "clear_maintenance" to clear any maintenance flag on startup.
CHANGES:
- Tacview: ignore unknown parameters in the schema validation.
BUGFIX:
- MissionStats: wrong calculation of achievements fixed.
- MissionStats: option to disable the achievements by not providing a SQL
- Competitive: /trueskill history set a global grid on all graphs.
- Greenieboard: initialization script was not amended to the new init_ids.
"sql": "SELECT s.s as init_side, SUM(CASE WHEN m.event = 'S_EVENT_BASE_CAPTURED' THEN 1 ELSE 0 END) AS \"Base Captures\", SUM(CASE WHEN m.event = 'S_EVENT_UNIT_LOST' AND init_cat = 'Airplanes' THEN 1 ELSE 0 END) AS \"Killed Planes\", SUM(CASE WHEN m.event = 'S_EVENT_UNIT_LOST' AND init_cat = 'Helicopters' THEN 1 ELSE 0 END) AS \"Downed Helicopters\", SUM(CASE WHEN m.event = 'S_EVENT_UNIT_LOST' AND init_cat = 'Ground Units' THEN 1 ELSE 0 END) AS \"Ground Shacks\", SUM(CASE WHEN m.event = 'S_EVENT_UNIT_LOST' AND init_cat = 'Ships' THEN 1 ELSE 0 END) AS \"Sunken Ships\", SUM(CASE WHEN m.event = 'S_EVENT_UNIT_LOST' AND init_cat = 'Structures' THEN 1 ELSE 0 END) AS \"Demolished Structures\" FROM (SELECT * FROM missionstats WHERE mission_id = %(mission_id)s) m RIGHT OUTER JOIN generate_series(1,2) s ON CAST(m.init_side AS DECIMAL) = s.s GROUP BY 1"
9
+
"sql": "SELECT s.s as init_side, SUM(CASE WHEN m.event = 'S_EVENT_BASE_CAPTURED' THEN 1 ELSE 0 END) AS \"Base Captures\", SUM(CASE WHEN m.event = 'S_EVENT_KILL' AND target_cat = 'Airplanes' THEN 1 ELSE 0 END) AS \"Killed Planes\", SUM(CASE WHEN m.event = 'S_EVENT_KILL' AND target_cat = 'Helicopters' THEN 1 ELSE 0 END) AS \"Downed Helicopters\", SUM(CASE WHEN m.event = 'S_EVENT_KILL' AND target_cat = 'Ground Units' THEN 1 ELSE 0 END) AS \"Ground Shacks\", SUM(CASE WHEN m.event = 'S_EVENT_KILL' AND target_cat = 'Ships' THEN 1 ELSE 0 END) AS \"Sunken Ships\", SUM(CASE WHEN m.event = 'S_EVENT_KILL' AND target_cat = 'Structures' THEN 1 ELSE 0 END) AS \"Demolished Structures\" FROM (SELECT * FROM missionstats WHERE mission_id = %(mission_id)s) m RIGHT OUTER JOIN generate_series(1,2) s ON CAST(m.init_side AS DECIMAL) = s.s GROUP BY 1"
0 commit comments