-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from randommonk/develop
Bumped version to 4.3. Added jpgraph stats developed by killerEye
- Loading branch information
Showing
49 changed files
with
4,934 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
<?php | ||
include_once('includes/renderer-dm.php'); | ||
include_once('includes/renderer-ctf.php'); | ||
|
||
// Only run script if at least 5 minutes were played | ||
if(($time_gameend-$time_gamestart)>300 && count(array_unique($playernames))>=2) { | ||
|
||
try { | ||
$safe_uid = mysql_real_escape_string($uid); | ||
|
||
prepCTFdata($safe_uid); | ||
|
||
renderScoreGraph($safe_uid); | ||
|
||
// Get relevant data | ||
list($datafrags, $derivfrags, $topFraggers,$counter,$datafragsteam,$derivfragsteam,$topTeams) = parseDMdata($safe_uid); | ||
|
||
renderFragBarsTeams($datafragsteam,$derivfragsteam,$topTeams,$counter); | ||
|
||
if($playernumberofteams == 2) | ||
renderDataPickups($safe_uid); | ||
|
||
} catch (Exception $e) { | ||
|
||
// Do nothing, but simply do not block import | ||
|
||
} | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
<?php | ||
include_once('includes/renderer-dm.php'); | ||
|
||
|
||
// Only run script if at least 5 minutes were played | ||
if(($time_gameend-$time_gamestart)>300 && count(array_unique($playernames))>=2) { | ||
|
||
try { | ||
$safe_uid = mysql_real_escape_string($uid); | ||
|
||
// Get relevant data | ||
list($datafrags, $derivfrags, $topFraggers,$counter,$datafragsteam,$derivfragsteam,$topTeams) = parseDMdata($safe_uid); | ||
|
||
if($playernumberofteams > 1 && count(array_unique($playernames)) > 3 &&($gamename == "Tournament Team Game" || $gamename == "Tournament Team Game (insta)" || $gamename == "2v2v2v2 iTDM")) | ||
renderFragBarsTeams($datafragsteam,$derivfragsteam,$topTeams,$counter); | ||
|
||
renderFragBars($datafrags, $derivfrags, $topFraggers,$counter); | ||
|
||
if(count($playernames) == 2) | ||
renderDataPickups($safe_uid,false,($playerteams[$topFraggers[0]]==0),$topFraggers); | ||
else if($playernumberofteams == 2) | ||
renderDataPickups($safe_uid); | ||
|
||
} catch (Exception $e) { | ||
|
||
// Do nothing, but simply do not block import | ||
|
||
} | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
<?php | ||
include_once('includes/renderer-dom.php'); | ||
include_once('includes/renderer-dm.php'); | ||
|
||
// Only run script if at least 5 minutes were played | ||
if(($time_gameend-$time_gamestart)>300 && count(array_unique($playernames))>=8) { | ||
|
||
$tableTempIdom = generateTempTable($safe_uid); | ||
$ampTimes = generateAmpTimes($safe_uid); | ||
|
||
try { | ||
|
||
renderDataTotal($safe_uid,$tableTempIdom); | ||
renderDataCPs($safe_uid,$tableTempIdom); | ||
|
||
renderDataPickups($safe_uid); | ||
renderAmpBars($safe_uid,$tableTempIdom); | ||
|
||
list($datafrags, $derivfrags, $topFraggers,$counter,$datafragsteam,$derivfragsteam,$topTeams) = parseDMdata($safe_uid); | ||
renderFragBarsTeams($datafragsteam,$derivfragsteam,$topTeams,$counter); | ||
|
||
} catch (Exception $e) { | ||
|
||
// Do nothing, but simply do not block import | ||
|
||
} | ||
|
||
// drop table | ||
mysql_query("DROP TABLE $tableTempIdom") or die(mysql_error()); | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
require_once 'includes/renderer-general-import.php'; | ||
|
||
$safe_uid = mysql_real_escape_string($uid); | ||
|
||
// Get relevant info | ||
$playerinfo = getPlayerTeam($uid); | ||
$playernames = $playerinfo[0]; | ||
$playerteams = $playerinfo[1]; | ||
$playernumberofteams = $playerinfo[2]; | ||
|
||
$time_gameinfo = getGameStartEndRatio($uid); | ||
$time_gamestart = $time_gameinfo[0]; | ||
$time_gameend = $time_gameinfo[1]; | ||
$time_ratio_correction = $time_gameinfo[2]; | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.tooltipster-light { | ||
border-radius: 5px; | ||
border: 1px solid #cccccc; | ||
background: #ededed; | ||
color: #666666; | ||
} | ||
.tooltipster-light .tooltipster-content { | ||
font-family: Arial, sans-serif; | ||
font-size: 14px; | ||
line-height: 16px; | ||
padding: 8px 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.tooltipster-noir { | ||
border-radius: 0px; | ||
border: 3px solid #2c2c2c; | ||
background: #fff; | ||
color: #2c2c2c; | ||
} | ||
.tooltipster-noir .tooltipster-content { | ||
font-family: 'Georgia', serif; | ||
font-size: 14px; | ||
line-height: 16px; | ||
padding: 8px 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.tooltipster-punk { | ||
border-radius: 5px; | ||
border-bottom: 3px solid #f71169; | ||
background: #2a2a2a; | ||
color: #fff; | ||
} | ||
.tooltipster-punk .tooltipster-content { | ||
font-family: 'Courier', monospace; | ||
font-size: 14px; | ||
line-height: 16px; | ||
padding: 8px 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.tooltipster-shadow { | ||
border-radius: 5px; | ||
background: #fff; | ||
box-shadow: 0px 0px 14px rgba(0,0,0,0.3); | ||
color: #2c2c2c; | ||
} | ||
.tooltipster-shadow .tooltipster-content { | ||
font-family: 'Arial', sans-serif; | ||
font-size: 14px; | ||
line-height: 16px; | ||
padding: 8px 10px; | ||
} |
Oops, something went wrong.