Added players to Ping graph, fixed ping table not being created

This commit is contained in:
Rsl1122 2018-07-16 15:32:59 +03:00
parent 6282862438
commit 236121b0e6
2 changed files with 3 additions and 3 deletions

View File

@ -221,7 +221,7 @@ public abstract class SQLDB extends Database {
public Table[] getAllTables() {
return new Table[]{
serverTable, usersTable, userInfoTable, geoInfoTable,
nicknamesTable, sessionsTable, killsTable,
nicknamesTable, sessionsTable, killsTable, pingTable,
commandUseTable, tpsTable, worldTable,
worldTimesTable, securityTable, transferTable
};
@ -235,7 +235,7 @@ public abstract class SQLDB extends Database {
public Table[] getAllTablesInRemoveOrder() {
return new Table[]{
transferTable, geoInfoTable, nicknamesTable, killsTable,
worldTimesTable, sessionsTable, worldTable,
worldTimesTable, sessionsTable, worldTable, pingTable,
userInfoTable, usersTable, commandUseTable,
tpsTable, securityTable, serverTable
};

View File

@ -1431,7 +1431,7 @@
healthGauge('healthGauge', [v.data.healthIndex]);
onlineActivityCalendar('#calendar', v.data.calendar, v.values.firstDay);
horizontalBarChart('countryBarChart', v.data.countryCategories, [series.country], 'Players');
lineChart('pingGraph', [series.avgPing, series.maxPing, series.minPing]);
lineChart('pingGraph', [series.playersOnline, series.avgPing, series.maxPing, series.minPing]);
${sessionTabGraphViewFunctions}
/**/