Jump to content

Chat, GUID, Stats and Mapstats Logger[1.1.0.1][BF3]


ImportBot

Recommended Posts

  • Replies 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    1934

Originally Posted by Froz3nTundra*:

 

I recently wiped my server and started anew, created new db, password, user name etc are all correct and I'm able to log into phpMyAdmin just fine but now my plugin gives this error:

 

[17:04:53 07] Error in Tablebuilder:

[17:04:53 07] Index #0

[17:04:53 09] Message: [MySQL][ODBC 5.1 Driver]Access denied for user 'gng

'@'xxx.xxx.xxx.xxx' (using password: YES)

[17:04:53 09] Native: 1045

[17:04:53 09] Source:

[17:04:53 09] SQL: HY000

[17:04:53 09] Index #1

[17:04:53 09] Message: [MySQL][ODBC 5.1 Driver]Access denied for user 'gng

'@'xxx.xxx.xxx.xxx' (using password: YES)

[17:04:53 09] Native: 1045

[17:04:53 09] Source:

[17:04:53 10] SQL: HY000

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Froz3nTundra*:

 

Ok, I see that while I've posted, a new version was put up, 0.0.1.3 beta. Now, there is no included bf3.def file, I'm assuming this is moot with the current procon version 1.1.3.1. Also, in the change log, it says this:

 

Add the machine running the plugin to the remote mysql access host list.

Will throw a permissions error if not done

 

 

Now where can I find this list?

 

Edit: I've got it all working once again, must've glitched somewhere but thanks.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Working great XpKiller.

 

Thanks a lot!

 

You have put a lot of work into this. When will you no longer considered it BETA? I think you have fixed up every bug we have thrown at you.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by halli42*:

 

how can i define the interval the stats update? so far, they only update by the end of the round... but i want "real time stats", or every 30 seconds or something like that....

 

 

thank you guys!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by asra1l*:

 

hi, i tried the plugin and it will crash the procon layer as soon as i set it to enabled.

any idea what might cause a crash like that? i can't find any information in my local logfiles, and i have no access to the layer logfiles...

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Waterboyeee*:

 

New error:

 

[22:13:19 86] Error: SQLQuery:System.InvalidOperationException: No data exists for the row/column.

at System.Data.Odbc.OdbcDataReader.GetValue(Int32 i)

at System.Data.Odbc.OdbcDataReader.GetValues(Object[] values)

at System.Data.ProviderBase.DataReaderContainer.Commo nLanguageSubsetDataReader.GetValues(Object[] values)

at System.Data.ProviderBase.SchemaMapping.LoadDataRow ()

at System.Data.Common.DataAdapter.FillLoadDataRow(Sch emaMapping mapping)

at System.Data.Common.DataAdapter.FillFromReader(Data Set dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)

at System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)

at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)

at PRoConEvents.CChatGUIDStatsLoggerBF3.SQLquery(Odbc Command selectQuery)

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

New version 1.0.0.0

 

Alternative Connection handling is available This could fix some errors.

Threading has been improve now using Threadpools

 

 

 

Changelog:

[1.0.0.0]

Added a new mode how the plugin handle the DB Connection now

It force the plugin to close the connection after query. This may help to eliminate those sqlquerys bugs (System.InvalidOperationException...).

The Option is called: Close Connection after each request?

The default value is NO. Try Yes if you got errors

Not beta anymore due the main function are working now

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by halli42*:

 

Realtime stats are not that easy as you might think and has drawback for website. (caching dont work that well anymore)

 

Maybe in future releases

It don't has to be realtime, but maybe an interval of like 60/120 seconds. Can i define that somewhere?

 

 

thx

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by gabipaci*:

 

New todos:

Join/leave History for Players

investigate Playertime (it should be correct hmm lets see if i find something)

realtime tracking of playerdata( no stats just name, guid, ip)

Have any news for here?

 

Our server stats about 60% finished :smile:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

Status:

Join/leave History for Players --> Working on a efficient tabledesign

investigate Playertime --> should be fixed in 1.0.0.0 was a error in roundstart detection

realtime tracking of playerdata( no stats just name, guid, ip) --> Working on a efficient way to write to db properly some redesign is needed.

* Restored post. It could be that the author is no longer active.
Link to comment

im very happy when you post me this code im to stupid to do this

Here it is!

<_php

//DATABASE INFORMATION

$db['host']      =' '; //your DB details
$db['uname']   =' ';
$db['pass']      =' ';
$db['name']      =' ';

//DATABASE ACCESS

mysql_connect($db['host'], $db['uname'], $db['pass']);
mysql_select_db("$db[name]") or die ("<b><center><br/><br/>Unable to access database. Please notify administrator.</center></b>");

//PAGE CONTENT

//CONTENT TABLE

echo "<br/><br/><table width='100%'>";

//LEFT SPACER

echo "<tr><td width='5%'>";
echo "</td><td>";

//END LEFT SPACER

//CENTER CONTENT

echo "<table width='100%' class='tablebg'>";
echo "<tr><td class='row1'>";
      
//CENTER SEARCH BLOCK

echo "<table align='left' width='100%' border='0'>";
echo "<tr>";
echo "<td width='30%' text-align='left'>";
echo "<form action='stats.php' method='post'>";
echo "    <font color='#EEEEEE'>Player Name:</font> ";
echo "<input type='text' name='player_name' /> ";
echo "<input type='submit' name='search_player' value='Search' class='button2' style='cursor: pointer;'/>";
echo "</form>";
echo "</td><td width='25%' text-align='center'>";
echo "</td><td width='15%' text-align='center'>";
echo "<form action='stats.php' method='post'>";
echo "<input type='submit' name='suspicious_players' value='Search for Suspicious Players...' class='button2' style='cursor: pointer;'/>";
echo "</form>";
echo "</td><td width='15%' text-align='center'>";
echo "<form action='stats.php' method='post'>";
echo "<input type='submit' name='banned_players' value='View All Banned Players...' class='button2' style='cursor: pointer;'/>";
echo "</form>";
echo "</td><td width='15%' text-align='center'>";
echo "<form action='stats.php' method='post'>";
echo "<input type='submit' name='top25_players' value='View Top 25 Players...' class='button2' style='cursor: pointer;'/>";
echo "</form>";
echo "</td>";
echo "</tr>";
echo "</table>";
         
//END CENTER SEARCH BLOCK

//SPACER BELOW SEARCH BLOCK

echo "<table width='100%'><tr><td>";
echo "</td></tr><tr><td></td></tr><tr><td></td></tr></table>";

//END SPACER BELOW SEARCH BLOCK

//BEGIN SEARCH PLAYER LOGIC

if($_POST['search_player'])
{
   $player_name = $_POST['player_name'];

//NO RESULTS RETURNED BLOCK

   if ($player_name == null){
      
      echo "<table width='100%' class='container' border='0'>";
      echo "<tr><td class='row1'>";
      echo "<br/><center><font color='#CACACA'>Please enter a player name.</font></center><br/>";
      echo "</td></tr>";
      echo "</table>";

//END NO RESULTS RETURNED BLOCK

   }
   else
   {

//BEGIN GGC-STREAM BAN LIST

      $serverId_16 =  ' '; // your server
      $serverId_32 = ' '; // your server
      $key = ' '; // your GGC-Stream API key
      $type = 'overview';
      $status = 'active';
      $url_16 = "http://api.ggc-stream.com/public/server/banlistmgr/{$serverId_16}/key/{$key}/do/{$type}/status/{$status}";
      $url_32 = "http://api.ggc-stream.com/public/server/banlistmgr/{$serverId_32}/key/{$key}/do/{$type}/status/{$status}";
      $outputRaw_16 = file_get_contents($url_16);
      $outputRaw_32 = file_get_contents($url_32);
      $output_16 = json_decode($outputRaw_16, true);
      $output_32 = json_decode($outputRaw_32, true);

//END GGC-STREAM BAN LIST

//BEGIN PLAYER NAME'S TITLE BLOCK

      echo "<table width='100%' class='container' border='0'>";
      echo "<tr><td class='row1'>";
      echo "<br/><center><b class='genmed'><font color='#99CCFF'>Statistics Data for $player_name</font></b></center><br/>";
      echo "</td></tr>";
      echo "</table>";

//END PLAYER NAME'S TITLE BLOCK

   echo "<br />";

//BEGIN 16-SLOT RESULTS BLOCK

      echo "<table width='100%' class='container' border='0'>";
      echo "<tr><td class='row1'>";

      $player_data16_query = "SELECT tpd.SoldierName, tpd.PBGUID, tps.Score, tps.Kills, tps.Deaths, tps.Suicide, tps.TKs, tps.Playtime, tps.Headshots, tps.Rounds, tps.Killstreak, tps.Deathstreak FROM tbl_playerstats_16 tps INNER JOIN tbl_server_player_16 tsp ON tsp.StatsID = tps.StatsID INNER JOIN tbl_playerdata_16 tpd ON tsp.PlayerID = tpd.PlayerID WHERE SoldierName = '$player_name'";
      $player_data16_result = mysql_query($player_data16_query);

      if(mysql_num_rows($player_data16_result)==0)
         {

            echo "<br/><center>No player data found for 16-slot B2K map squad rush server.</center><br/>";

         }
         else
         {

            echo "<br/><b class='genmed'><font color='#99CCFF'>16-slot B2K map squad rush server:</font></b><br/><br/>";
            
            while($player_data16_result_row = mysql_fetch_array($player_data16_result))
            {

               $Score = $player_data16_result_row['Score'];
               $Kills = $player_data16_result_row['Kills'];
               $Deaths = $player_data16_result_row['Deaths'];
               if($Deaths == 0)
               {
               $Deaths = '1';
               }
               $Headshots = $player_data16_result_row['Headshots'];
               $HSrationumber = ($Headshots / $Kills);
               $HSratio = round($HSrationumber, 2);
               $HSpercent = ($HSratio * 100);
               $Rounds = $player_data16_result_row['Rounds'];
               $Killstreak = $player_data16_result_row['Killstreak'];
               $Deathstreak = $player_data16_result_row['Deathstreak'];
               $StatsID = $player_data16_result_row['StatsID'];
               $KDRnumber = ($Kills / $Deaths);
               $KDR = round($KDRnumber, 2);
               $TimePlayednumber = $player_data16_result_row['Playtime'];
               $TimePlayedconvert = (($TimePlayednumber / 60) / 60);
               $TimePlayed = round($TimePlayedconvert, 2);
               $TKs = $player_data16_result_row['TKs'];
               $PBGUID = $player_data16_result_row['PBGUID'];
               $Banned = '0';
               $Reason = 'Not Banned';

               if(is_array($output_16))
               {
                  foreach($output_16 AS $value_16)
                  {
                     $GGC_GUID = $value_16['guid'];
                     if($GGC_GUID == $PBGUID)
                     {
                        $Banned = '1';
                        $Reason = $value_16['message'];
                     }
                  }
               }
               else
               {
                  $Banned = '2';
                  $Reason = 'GGC-Stream failed to respond';
               }

               if(is_array($output_32))
               {
                  foreach($output_32 AS $value_32)
                  {
                     $GGC_GUID = $value_32['guid'];
                     if($GGC_GUID == $PBGUID)
                     {
                        $Banned = '1';
                        $Reason = $value_32['message'];
                     }
                  }
               }
               else
               {
                  $Banned = '2';
                  $Reason = 'GGC-Stream failed to respond';
               }

//BEGIN 16-SLOT STATS INFORMATION

//BEGIN POPUP BAN REASON

               echo "<script type='text/javascript'>";
               echo "function show_alert()";
               echo "{";
               echo "alert('Reason: $Reason');";
               echo "}";
               echo "</script>";

//END POPUP BAN REASON

               echo "<table width='100%' border='0' class='container'>";
               echo "<tr>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Score:</font> $Score</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Rounds:</font> $Rounds</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Played:</font> $TimePlayed h</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Kills:</font> $Kills</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Deaths:</font> $Deaths</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>KDR:</font> $KDR</td>";
               echo "</tr>";
               echo "<tr>";
               if ($Banned == '1')
               {
                  echo "<td width='16%' style='text-align: left;cursor:hand;'>    <font color='#CACACA'>Status:</font> <input type='button' onclick='show_alert()' value='Banned' class='button2' style='color:#CC3333;text-align:center;font-weight:bold;cursor: pointer;'/></td>";
               }
               if ($Banned == '0')
               {
                  echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Status:</font> <input type='button' onclick='show_alert()' value='Not Banned' class='button2' style='text-align:center;font-weight:bold;cursor: pointer;'/></td>";
               }
               if ($Banned == '2')
               {
                  echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Status:</font> <input type='button' onclick='show_alert()' value='Unknown' class='button2' style='text-align:center;font-weight:bold;cursor: pointer;'/></td>";
               }
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Headshots:</font> $Headshots</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>HS Ratio:</font> $HSpercent%</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Killstreak:</font> $Killstreak</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Deathstreak:</font> $Deathstreak</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>TKs:</font> $TKs</td>";
               echo "</tr>";
               echo "</table><br/>";

//END 16-SLOT STATS INFORMATION

            }
         }

echo "</td></tr>";
echo "</table>";

//END 16-SLOT RESULTS BLOCK

   echo "<br />";

//BEGIN 32-SLOT RESULTS BLOCK

      echo "<table width='100%' class='container' border='0'>";
      echo "<tr><td class='row1'>";

      $player_data32_query = "SELECT tpd.SoldierName, tpd.PBGUID, tps.Score, tps.Kills, tps.Deaths, tps.Suicide, tps.TKs, tps.Playtime, tps.Headshots, tps.Rounds, tps.Killstreak, tps.Deathstreak FROM tbl_playerstats_32 tps INNER JOIN tbl_server_player_32 tsp ON tsp.StatsID = tps.StatsID INNER JOIN tbl_playerdata_32 tpd ON tsp.PlayerID = tpd.PlayerID WHERE SoldierName = '$player_name'";
      $player_data32_result = mysql_query($player_data32_query);

      if(mysql_num_rows($player_data32_result)==0)
         {

            echo "<br/><center>No player data found for 16-slot standard map squad rush server.</center><br/>";

         }
         else
         {

            echo "<br/><b class='genmed'><font color='#99CCFF'>16-slot standard map squad rush server:</font></b><br/><br/>";
            
            while($player_data32_result_row = mysql_fetch_array($player_data32_result))
            {

               $Score = $player_data32_result_row['Score'];
               $Kills = $player_data32_result_row['Kills'];
               $Deaths = $player_data32_result_row['Deaths'];
               if($Deaths == 0)
               {
               $Deaths = '1';
               }
               $Headshots = $player_data32_result_row['Headshots'];
               $HSrationumber = ($Headshots / $Kills);
               $HSratio = round($HSrationumber, 2);
               $HSpercent = ($HSratio * 100);
               $Rounds = $player_data32_result_row['Rounds'];
               $Killstreak = $player_data32_result_row['Killstreak'];
               $Deathstreak = $player_data32_result_row['Deathstreak'];
               $StatsID = $player_data32_result_row['StatsID'];
               $KDRnumber = ($Kills / $Deaths);
               $KDR = round($KDRnumber, 2);
               $TimePlayednumber = $player_data32_result_row['Playtime'];
               $TimePlayedconvert = (($TimePlayednumber / 60) / 60);
               $TimePlayed = round($TimePlayedconvert, 2);
               $TKs = $player_data32_result_row['TKs'];
               $PBGUID = $player_data32_result_row['PBGUID'];
               $Banned = '0';
               $Reason = 'Not Banned';

               if(is_array($output_16))
               {
                  foreach($output_16 AS $value_16)
                  {
                     $GGC_GUID = $value_16['guid'];
                     if($GGC_GUID == $PBGUID)
                     {
                        $Banned = '1';
                        $Reason = $value_16['message'];
                     }
                  }
               }
               else
               {
                  $Banned = '2';
                  $Reason = 'GGC-Stream failed to respond';
               }

               if(is_array($output_32))
               {
                  foreach($output_32 AS $value_32)
                  {
                     $GGC_GUID = $value_32['guid'];
                     if($GGC_GUID == $PBGUID)
                     {
                        $Banned = '1';
                        $Reason = $value_32['message'];
                     }
                  }
               }
               else
               {
                  $Banned = '2';
                  $Reason = 'GGC-Stream failed to respond';
               }

//BEGIN 32-SLOT STATS INFORMATION

//BEGIN POPUP BAN REASON

               echo "<script type='text/javascript'>";
               echo "function show_alert()";
               echo "{";
               echo "alert('Reason: $Reason');";
               echo "}";
               echo "</script>";

//END POPUP BAN REASON

               echo "<table width='100%' border='0' class='container'>";
               echo "<tr>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Score:</font> $Score</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Rounds:</font> $Rounds</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Played:</font> $TimePlayed h</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Kills:</font> $Kills</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Deaths:</font> $Deaths</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>KDR:</font> $KDR</td>";
               echo "</tr>";
               echo "<tr>";
               if ($Banned == '1')
               {
                  echo "<td width='16%' style='text-align: left;cursor:hand;'>    <font color='#CACACA'>Status:</font> <input type='button' onclick='show_alert()' value='Banned' class='button2' style='color:#CC3333;text-align:center;font-weight:bold;cursor: pointer;'/></td>";
               }
               if ($Banned == '0')
               {
                  echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Status:</font> <input type='button' onclick='show_alert()' value='Not Banned' class='button2' style='text-align:center;font-weight:bold;cursor: pointer;'/></td>";
               }
               if ($Banned == '2')
               {
                  echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Status:</font> <input type='button' onclick='show_alert()' value='Unknown' class='button2' style='text-align:center;font-weight:bold;cursor: pointer;'/></td>";
               }
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Headshots:</font> $Headshots</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>HS Ratio:</font> $HSpercent%</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Killstreak:</font> $Killstreak</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>Deathstreak:</font> $Deathstreak</td>";
               echo "<td width='16%' style='text-align: left;'>    <font color='#CACACA'>TKs:</font> $TKs</td>";
               echo "</tr>";
               echo "</table><br/>";

//END 32-SLOT STATS INFORMATION

            }
         }

echo "</td></tr>";
echo "</table>";

//END 32-SLOT RESULTS BLOCK

   echo "<br />";

//BEGIN EXTERNAL STATS BLOCK

echo "<table width='100%' class='container' border='0'>";
echo "<tr>";
echo "<tr><td class='row1'>";
echo "<br/><center><a href='http://bf3stats.com/stats_pc/$player_name' target='_blank'>Check $player_name's stats at www.BF3stats.com</a></center><br/>";
echo "</td></tr>";
echo "</table>";

//END EXTERNAL STATS BLOCK

   echo "<br />";

//BEGIN GGC-Stream BLOCK

echo "<table width='100%' class='container' border='0'>";
echo "<tr>";
echo "<tr><td class='row1'>";
echo "<br/><center><a href='http://www.ggc-stream.com/user/36027/ty_ger07' target='_blank'>Ban data by www.GGC-Stream.com</a></center><br/>";
echo "</td></tr>";
echo "</table>";

//END GGC-Stream BLOCK

   }
}

//END SEARCH PLAYER LOGIC

//BEGIN SUSPICIOUS PLAYER LOGIC

if($_POST['suspicious_players'])
{

//BEGIN GGC-STREAM BAN LIST

   $serverId_16 =  ' '; // your server
   $serverId_32 =  ' '; // your server
   $key = ' '; // your GGC-Stream API key
   $type = 'overview';
   $status = 'active';
   $url_16 = "http://api.ggc-stream.com/public/server/banlistmgr/{$serverId_16}/key/{$key}/do/{$type}/status/{$status}";
   $url_32 = "http://api.ggc-stream.com/public/server/banlistmgr/{$serverId_32}/key/{$key}/do/{$type}/status/{$status}";
   $outputRaw_16 = file_get_contents($url_16);
   $outputRaw_32 = file_get_contents($url_32);
   $output_16 = json_decode($outputRaw_16, true);
   $output_32 = json_decode($outputRaw_32, true);

//END GGC-STREAM BAN LIST

//BEGIN TITLE BLOCK

   echo "<table width='100%' class='container' border='0'>";
   echo "<tr><td class='row1'>";
   echo "<br/><center><b class='genmed'><font color='#99CCFF'>Suspicious Players</font></b></center><br/>";
   echo "</td></tr>";
   echo "</table>";

//END TITLE BLOCK

   echo "<br />";

//BEGIN 16-SLOT RESULTS BLOCK

   echo "<table width='100%' class='container' border='0'>";
   echo "<tr><td class='row1'>";
   echo "<br/><b class='genmed'><font color='#99CCFF'>16-slot B2K map squad rush server:</font></b><br/><br/>";

   $suspicious_players16_query = "SELECT tpd.SoldierName, tpd.PBGUID, tps.Score, tps.Kills, tps.Deaths, (tps.Kills/tps.Deaths) AS KDR, tps.Headshots, (tps.Headshots/tps.Kills) AS HSratio ,tps.Suicide, tps.TKs, tps.Playtime, tps.Rounds, tps.Killstreak, tps.Deathstreak FROM tbl_playerstats_16 tps INNER JOIN tbl_server_player_16 tsp ON tsp.StatsID = tps.StatsID INNER JOIN tbl_playerdata_16 tpd ON tsp.PlayerID = tpd.PlayerID WHERE (tsp.ServerID = 1 AND (tps.Kills/tps.Deaths) > 2.0 AND (tps.Headshots/tps.Kills) > 0.6 AND tps.Kills > 20 AND tps.Rounds > 1) OR (tsp.ServerID = 1 AND (tps.Kills/tps.Deaths) > 5.0 AND tps.Kills > 30 AND tps.Rounds > 1) OR (tsp.ServerID = 1 AND (tps.Kills/(tps.Deaths+1)) > 1.0 AND (tps.Headshots/tps.Kills) > 0.75 AND tps.Rounds > 1 AND tps.Kills > 15) ORDER BY HSratio DESC";
   $suspicious_players16_result = mysql_query($suspicious_players16_query);

   while($suspicious_players16_row = mysql_fetch_array($suspicious_players16_result))
   {

      $Kills = $suspicious_players16_row['Kills'];
      $Deaths = $suspicious_players16_row['Deaths'];
      if($Deaths == 0)
      {
      $Deaths = '1';
      }
      $KDRnumber = ($Kills / $Deaths);
      $KDR = round($KDRnumber, 2);
      $Headshots = $suspicious_players16_row['Headshots'];
      $HSrationumber = ($Headshots / $Kills);
      $HSratio = round($HSrationumber, 2);
      $HSpercent = ($HSratio * 100);
      $Rounds = $suspicious_players16_row['Rounds'];
      $StatsID = $suspicious_players16_row['StatsID'];
      $SoldierName = $suspicious_players16_row['SoldierName'];
      $PBGUID = $suspicious_players16_row['PBGUID'];
      $Banned = '0';

      if(is_array($output_16))
      {
         foreach($output_16 AS $value_16)
         {
            $GGC_GUID = $value_16['guid'];
            if($GGC_GUID == $PBGUID)
            {
               $Banned = '1';
            }
         }
      }
      else
      {
         $Banned = '2';
      }

      if(is_array($output_32))
      {
         foreach($output_32 AS $value_32)
         {
            $GGC_GUID = $value_32['guid'];
            if($GGC_GUID == $PBGUID)
            {
               $Banned = '1';
            }
         }
      }
      else
      {
         $Banned = '2';
      }

//BEGIN SUSPICIOUS PLAYER NAME BLOCK

      echo "<br/><table width='100%' border='0' class='container'>";
      echo "<tr>";
      echo "<th colspan='3' style='text-align: left;'>";
      echo "<form action='stats.php' method='post'>";
      echo "<input type='hidden' name='player_name' value='$SoldierName'/> ";
      echo "<input type='submit' name='search_player' style='color:#99CCFF;width:140px;text-align:center;font-weight:bold;cursor: pointer;' value='$SoldierName' class='button2'/> <font color='#8E8E8E' size='1'>click name for stats</font>";
      echo "</form>";
      echo "</th></tr>";
      echo "<tr>";
      echo "<td width='33%' style='text-align: left;' class='row1'>    <font color='#CACACA'>KDR:</font> $KDR</td>";
      echo "<td width='33%' style='text-align: left;' class='row1'>    <font color='#CACACA'>Headshot Ratio:</font> $HSpercent%</td>";
      if ($Banned == '1')
      {
         echo "<td width='33%' style='text-align: left;cursor:hand;' class='row1'>    <font color='#CACACA'>Status:</font> <font color='#CC3333'>Banned</font></td>";
      }
      if ($Banned == '0')
      {
         echo "<td width='33%' style='text-align: left;' class='row1'>    <font color='#CACACA'>Status:</font> Not Banned</td>";
      }
      if ($Banned == '2')
      {
         echo "<td width='33%' style='text-align: left;' class='row1'>    <font color='#CACACA'>Status:</font> Unknown</td>";
      }
      echo "</tr>";      
      echo "</table>";

//END SUSPICIOUS PLAYER NAME BLOCK

   }

   echo "</td></tr>";
   echo "</table>";

//END 16-SLOT RESULTS BLOCK

   echo "<br />";

//BEGIN 32-SLOT RESULTS BLOCK

   echo "<table width='100%' class='container' border='0'>";
   echo "<tr><td class='row1'>";
   echo "<br/><b class='genmed'><font color='#99CCFF'>16-slot standard map squad rush server:</font></b><br/><br/>";

   $suspicious_players32_query = "SELECT tpd.SoldierName, tpd.PBGUID, tps.Score, tps.Kills, tps.Deaths, (tps.Kills/tps.Deaths) AS KDR, tps.Headshots, (tps.Headshots/tps.Kills) AS HSratio ,tps.Suicide, tps.TKs, tps.Playtime, tps.Rounds, tps.Killstreak, tps.Deathstreak FROM tbl_playerstats_32 tps INNER JOIN tbl_server_player_32 tsp ON tsp.StatsID = tps.StatsID INNER JOIN tbl_playerdata_32 tpd ON tsp.PlayerID = tpd.PlayerID WHERE (tsp.ServerID = 1 AND (tps.Kills/tps.Deaths) > 2.0 AND (tps.Headshots/tps.Kills) > 0.6 AND tps.Kills > 20 AND tps.Rounds > 1) OR (tsp.ServerID = 1 AND (tps.Kills/tps.Deaths) > 5.0 AND tps.Kills > 30 AND tps.Rounds > 1) OR (tsp.ServerID = 1 AND (tps.Kills/(tps.Deaths+1)) > 1.0 AND (tps.Headshots/tps.Kills) > 0.75 AND tps.Rounds > 1 AND tps.Kills > 15) ORDER BY HSratio DESC";
   $suspicious_players32_result = mysql_query($suspicious_players32_query);

   while($suspicious_players32_row = mysql_fetch_array($suspicious_players32_result))
   {

      $Kills = $suspicious_players32_row['Kills'];
      $Deaths = $suspicious_players32_row['Deaths'];
      if($Deaths == 0)
      {
      $Deaths = '1';
      }
      $KDRnumber = ($Kills / $Deaths);
      $KDR = round($KDRnumber, 2);
      $Headshots = $suspicious_players32_row['Headshots'];
      $HSrationumber = ($Headshots / $Kills);
      $HSratio = round($HSrationumber, 2);
      $HSpercent = ($HSratio * 100);
      $Rounds = $suspicious_players32_row['Rounds'];
      $StatsID = $suspicious_players32_row['StatsID'];
      $SoldierName = $suspicious_players32_row['SoldierName'];
      $PBGUID = $suspicious_players32_row['PBGUID'];
      $Banned = '0';

      if(is_array($output_16))
      {
         foreach($output_16 AS $value_16)
         {
            $GGC_GUID = $value_16['guid'];
            if($GGC_GUID == $PBGUID)
            {
               $Banned = '1';
            }
         }
      }
      else
      {
         $Banned = '2';
      }

      if(is_array($output_32))
      {
         foreach($output_32 AS $value_32)
         {
            $GGC_GUID = $value_32['guid'];
            if($GGC_GUID == $PBGUID)
            {
               $Banned = '1';
            }
         }
      }
      else
      {
         $Banned = '2';
      }

//BEGIN SUSPICIOUS PLAYER NAME BLOCK

      echo "<br/><table width='100%' border='0' class='container'>";
      echo "<tr>";
      echo "<th colspan='3' style='text-align: left;'>";
      echo "<form action='stats.php' method='post'>";
      echo "<input type='hidden' name='player_name' value='$SoldierName'/> ";
      echo "<input type='submit' name='search_player' style='color:#99CCFF;width:140px;text-align:center;font-weight:bold;cursor: pointer;' value='$SoldierName' class='button2'/> <font color='#8E8E8E' size='1'>click name for stats</font>";
      echo "</form>";
      echo "</th></tr>";
      echo "<tr>";
      echo "<td width='33%' style='text-align: left;' class='row1'>    <font color='#CACACA'>KDR:</font> $KDR</td>";
      echo "<td width='33%' style='text-align: left;' class='row1'>    <font color='#CACACA'>Headshot Ratio:</font> $HSpercent%</td>";
      if ($Banned == '1')
      {
         echo "<td width='33%' style='text-align: left;cursor:hand;' class='row1'>    <font color='#CACACA'>Status:</font> <font color='#CC3333'>Banned</font></td>";
      }
      if ($Banned == '0')
      {
         echo "<td width='33%' style='text-align: left;' class='row1'>    <font color='#CACACA'>Status:</font> Not Banned</td>";
      }
      if ($Banned == '2')
      {
         echo "<td width='33%' style='text-align: left;' class='row1'>    <font color='#CACACA'>Status:</font> Unknown</td>";
      }
      echo "</tr>";      
      echo "</table>";

//END SUSPICIOUS PLAYER NAME BLOCK

   }

   echo "</td></tr>";
   echo "</table>";

//END 32-SLOT RESULTS BLOCK

   echo "<br />";

//BEGIN SUSPICIOUS EXPLANATION BLOCK

   echo "<table width='100%' class='container' border='0'>";
   echo "<tr>";
   echo "<tr><td class='row1'>";
   echo "<br/>";
   echo "<center><b class='genmed'>Just because a player shows up on the list as being suspicious does not necessarily mean they are cheating.</b><br />";
   echo "The search algorithm makes sure that there is an appropriate sample size used before marking the player as suspicious.</center>";
   echo "<br/>";
   echo "</td></tr>";
   echo "</table>";

//END SUSPICIOUS EXPLANATION BLOCK

//BEGIN GGC-Stream BLOCK

echo "<table width='100%' class='container' border='0'>";
echo "<tr>";
echo "<tr><td class='row1'>";
echo "<br/><center><a href='http://www.ggc-stream.com/user/36027/ty_ger07' target='_blank'>Ban data by www.GGC-Stream.com</a></center><br/>";
echo "</td></tr>";
echo "</table>";

//END GGC-Stream BLOCK

}

//END SUSPICIOUS PLAYER LOGIC

//BEGIN BANNED PLAYER LOGIC

if($_POST['banned_players'])
{

//BEGIN GGC-STREAM BAN LIST

   $serverId_16 =  ' '; // your server
   $serverId_32 =  ' '; // your server
   $key = ' '; // your GGC-Stream API key
   $type = 'overview';
   $status = 'active';
   $url_16 = "http://api.ggc-stream.com/public/server/banlistmgr/{$serverId_16}/key/{$key}/do/{$type}/status/{$status}";
   $url_32 = "http://api.ggc-stream.com/public/server/banlistmgr/{$serverId_32}/key/{$key}/do/{$type}/status/{$status}";
   $outputRaw_16 = file_get_contents($url_16);
   $outputRaw_32 = file_get_contents($url_32);
   $output_16 = json_decode($outputRaw_16, true);
   $output_32 = json_decode($outputRaw_32, true);

//END GGC-STREAM BAN LIST

//BEGIN TITLE BLOCK

   echo "<table width='100%' class='container' border='0'>";
   echo "<tr><td class='row1'>";
   echo "<br/><center><b class='genmed'><font color='#99CCFF'>Banned Players</font></b></center><br/>";
   echo "</td></tr>";
   echo "</table>";

//END TITLE BLOCK

   echo "<br />";
   
   if(is_array($output_16) AND is_array($output_32))
   {

//BEGIN 16-SLOT RESULTS BLOCK

   echo "<table width='100%' class='container' border='0'>";
   echo "<tr><td class='row1'>";
   echo "<br/><b class='genmed'><font color='#99CCFF'>16-slot B2K map squad rush server:</font></b><br/><br/>";

   $suspicious_players16_query = "SELECT tpd.SoldierName, tpd.PBGUID, tps.Score, tps.Kills, tps.Deaths, (tps.Kills/tps.Deaths) AS KDR, tps.Headshots, (tps.Headshots/tps.Kills) AS HSratio ,tps.Suicide, tps.TKs, tps.Playtime, tps.Rounds, tps.Killstreak, tps.Deathstreak FROM tbl_playerstats_16 tps INNER JOIN tbl_server_player_16 tsp ON tsp.StatsID = tps.StatsID INNER JOIN tbl_playerdata_16 tpd ON tsp.PlayerID = tpd.PlayerID WHERE 1 ORDER BY tpd.SoldierName ASC";
   $suspicious_players16_result = mysql_query($suspicious_players16_query);

   while($suspicious_players16_row = mysql_fetch_array($suspicious_players16_result))
   {

      $SoldierName = $suspicious_players16_row['SoldierName'];
      $PBGUID = $suspicious_players16_row['PBGUID'];
      $Banned = '0';
      $Reason = 'unknown';

      if(is_array($output_16))
      {
         foreach($output_16 AS $value_16)
         {
            $GGC_GUID = $value_16['guid'];
            if($GGC_GUID == $PBGUID)
            {
               $Banned = '1';
               $Reason = $value_16['message'];
            }
         }
      }
      else
      {
         $Banned = '2';
      }

      if(is_array($output_32))
      {
         foreach($output_32 AS $value_32)
         {
            $GGC_GUID = $value_32['guid'];
            if($GGC_GUID == $PBGUID)
            {
               $Banned = '1';
               $Reason = $value_32['message'];
            }
         }
      }
      else
      {
         $Banned = '2';
      }

//BEGIN BANNED PLAYER NAME BLOCK

      if ($Banned == '1')
      {
         echo "<br/><table width='100%' border='0' class='container'>";
         echo "<tr>";
         echo "<th colspan='3' style='text-align: left;'>";
         echo "<form action='stats.php' method='post'>";
         echo "<input type='hidden' name='player_name' value='$SoldierName'/> ";
         echo "<input type='submit' name='search_player' style='color:#99CCFF;width:140px;text-align:center;font-weight:bold;cursor: pointer;' value='$SoldierName' class='button2'/> <font color='#8E8E8E' size='1'>click name for stats</font>";
         echo "</form>";
         echo "</th></tr>";
         echo "<tr>";
         echo "<td width='25%' style='text-align: left;cursor:hand;' class='row1'>    <font color='#CACACA'>Status:</font> <font color='#CC3333'>Banned</font></td>";
         echo "<td width='75%' style='text-align: left;cursor:hand;' class='row1'>    <font color='#CACACA'>Reason:</font> $Reason</td>";
         echo "</tr>";      
         echo "</table>";
      }

//END BANNED PLAYER NAME BLOCK

   }

   echo "</td></tr>";
   echo "</table>";

//END 16-SLOT RESULTS BLOCK

   echo "<br />";

//BEGIN 32-SLOT RESULTS BLOCK

   echo "<table width='100%' class='container' border='0'>";
   echo "<tr><td class='row1'>";
   echo "<br/><b class='genmed'><font color='#99CCFF'>16-slot standard map squad rush server:</font></b><br/><br/>";

   $suspicious_players32_query = "SELECT tpd.SoldierName, tpd.PBGUID, tps.Score, tps.Kills, tps.Deaths, (tps.Kills/tps.Deaths) AS KDR, tps.Headshots, (tps.Headshots/tps.Kills) AS HSratio ,tps.Suicide, tps.TKs, tps.Playtime, tps.Rounds, tps.Killstreak, tps.Deathstreak FROM tbl_playerstats_32 tps INNER JOIN tbl_server_player_32 tsp ON tsp.StatsID = tps.StatsID INNER JOIN tbl_playerdata_32 tpd ON tsp.PlayerID = tpd.PlayerID WHERE 1 ORDER BY tpd.SoldierName ASC";
   $suspicious_players32_result = mysql_query($suspicious_players32_query);

   while($suspicious_players32_row = mysql_fetch_array($suspicious_players32_result))
   {

      $SoldierName = $suspicious_players32_row['SoldierName'];
      $PBGUID = $suspicious_players32_row['PBGUID'];
      $Banned = '0';
      $Reason = 'unknown';

      if(is_array($output_16))
      {
         foreach($output_16 AS $value_16)
         {
            $GGC_GUID = $value_16['guid'];
            if($GGC_GUID == $PBGUID)
            {
               $Banned = '1';
               $Reason = $value_16['message'];
            }
         }
      }
      else
      {
         $Banned = '2';
      }

      if(is_array($output_32))
      {
         foreach($output_32 AS $value_32)
         {
            $GGC_GUID = $value_32['guid'];
            if($GGC_GUID == $PBGUID)
            {
               $Banned = '1';
               $Reason = $value_32['message'];
            }
         }
      }
      else
      {
         $Banned = '2';
      }

//BEGIN BANNED PLAYER NAME BLOCK

      if ($Banned == '1')
      {
         echo "<br/><table width='100%' border='0' class='container'>";
         echo "<tr>";
         echo "<th colspan='3' style='text-align: left;'>";
         echo "<form action='stats.php' method='post'>";
         echo "<input type='hidden' name='player_name' value='$SoldierName'/> ";
         echo "<input type='submit' name='search_player' style='color:#99CCFF;width:140px;text-align:center;font-weight:bold;cursor: pointer;' value='$SoldierName' class='button2'/> <font color='#8E8E8E' size='1'>click name for stats</font>";
         echo "</form>";
         echo "</th></tr>";
         echo "<tr>";
         echo "<td width='25%' style='text-align: left;cursor:hand;' class='row1'>    <font color='#CACACA'>Status:</font> <font color='#CC3333'>Banned</font></td>";
         echo "<td width='75%' style='text-align: left;cursor:hand;' class='row1'>    <font color='#CACACA'>Reason:</font> $Reason</td>";
         echo "</tr>";      
         echo "</table>";
      }

//END BANNED PLAYER NAME BLOCK

   }

   echo "</td></tr>";
   echo "</table>";

//END 32-SLOT RESULTS BLOCK

   echo "<br />";
   
   }
   else
   {

      echo "<table width='100%' class='container' border='0'>";
      echo "<tr><td class='row1'>";
      echo "<br/><center>GGC-Stream failed to respond</center><br/>";
      echo "</td></tr>";
      echo "</table>";
      echo "<br />";
   }

//BEGIN GGC-Stream BLOCK

echo "<table width='100%' class='container' border='0'>";
echo "<tr>";
echo "<tr><td class='row1'>";
echo "<br/><center><a href='http://www.ggc-stream.com/user/36027/ty_ger07' target='_blank'>Ban data by www.GGC-Stream.com</a></center><br/>";
echo "</td></tr>";
echo "</table>";

//END GGC-Stream BLOCK

}

//END BANNED PLAYER LOGIC

if(($_POST['top25_players']) OR !(($_POST['search_player']) OR ($_POST['suspicious_players']) OR ($_POST['banned_players']) OR ($_POST['banned_players'])))
{

//BEGIN STATISTICS EXPLAINATION

echo "<br/>";
echo "<table width='100%' class='container' border='0'>";
echo "<tr><td class='row1'>";
echo "<br/>";
echo "<center>";
echo "All statistics data is relayed from our game servers at the end of each round and displayed on this page real-time for each page request.";
echo "</center>";
echo "<br/>";
echo "</td></tr>";
echo "</table>";

//END STATISTICS EXPLAINATION

//BEGIN TOP PLAYERS CENTER BLOCK

echo "<br/>";
echo "<table width='100%' border='0'>";
echo "<tr>";

//BEGIN TOP PLAYERS CENTER BLOCK LEFT BLOCK

echo "<td valign='top'>";

//BEGIN TOP-25 16-SLOT BLOCK

echo "<table width='100%' class='tablebg' border='0'>";
echo "<tr>";
echo "<th>Top 25 Players for 16-slot B2K map squad rush server</th>";
echo "</tr>";
echo "<tr>";
echo "<td class='row1'><br/>";

$count = 0;
$playerstats_16_query  = "SELECT tpd.SoldierName, tps.Score, tps.Kills, tps.Deaths, tps.Suicide, tps.TKs, tps.Playtime, tps.Headshots, tps.Rounds, tps.Killstreak, tps.Deathstreak FROM tbl_playerstats_16 tps INNER JOIN tbl_server_player_16 tsp ON tsp.StatsID = tps.StatsID INNER JOIN tbl_playerdata_16 tpd ON tsp.PlayerID = tpd.PlayerID WHERE tsp.ServerID = 1 ORDER BY Score DESC LIMIT 25";
$playerstats_16_result = mysql_query($playerstats_16_query);

while($playerstats_16_row = mysql_fetch_array($playerstats_16_result))
{

   $Score = $playerstats_16_row['Score'];
   $SoldierName = $playerstats_16_row['SoldierName'];
   $count = ($count + 1);

//BEGIN PLAYER NAME POSITION BLOCK

   echo "<table width='100%' border='0' class='container'>";
   echo "<tr>";
   echo "<th style='text-align: left;'>";
   echo "<form action='stats.php' method='post'>";
   echo "<input type='hidden' name='player_name' value='$SoldierName'/> ";
   echo "$count: <input type='submit' name='search_player' style='color:#99CCFF;width:140px;text-align:center;font-weight:bold;cursor: pointer;' value='$SoldierName' class='button2'/> <font color='#8E8E8E' size='1'>click name for stats</font>";
   echo "</form>";
   echo "</th></tr>";
   echo "<tr>";
   echo "<td width='100%' style='text-align: left;' class='row1'>      <font color='#CACACA'>Score:</font> $Score</td>";
   echo "</tr>";      
   echo "</table><br/>";

//END PLAYER NAME POSITION BLOCK

}

echo "</td>";
echo "</tr>";
echo "</table>";

//END TOP-25 16-SLOT BLOCK

echo "</td>";

//END TOP PLAYERS CENTER BLOCK LEFT BLOCK

//BEGIN TOP PLAYERS CENTER BLOCK MIDDLE SPACER

echo "<td width='1%'></td>";

//END TOP PLAYERS CENTER BLOCK MIDDLE SPACER

//BEGIN TOP PLAYERS CENTER BLOCK RIGHT BLOCK

echo "<td valign='top'>";

//BEGIN TOP-25 32-SLOT BLOCK

echo "<table width='100%' class='tablebg' border='0'>";
echo "<tr>";
echo "<th>Top 25 Players for 16-slot standard map squad rush server</th>";
echo "</tr>";
echo "<tr>";
echo "<td class='row1'><br/>";

$count = 0;
$playerstats_32_query  = "SELECT tpd.SoldierName, tps.Score, tps.Kills, tps.Deaths, tps.Suicide, tps.TKs, tps.Playtime, tps.Headshots, tps.Rounds, tps.Killstreak, tps.Deathstreak FROM tbl_playerstats_32 tps INNER JOIN tbl_server_player_32 tsp ON tsp.StatsID = tps.StatsID INNER JOIN tbl_playerdata_32 tpd ON tsp.PlayerID = tpd.PlayerID WHERE tsp.ServerID = 1 ORDER BY Score DESC LIMIT 25";
$playerstats_32_result = mysql_query($playerstats_32_query);

while($playerstats_32_row = mysql_fetch_array($playerstats_32_result))
{

   $Score = $playerstats_32_row['Score'];
   $SoldierName = $playerstats_32_row['SoldierName'];
   $count = ($count + 1);

//BEGIN PLAYER NAME POSITION BLOCK

   echo "<table width='100%' border='0' class='container'>";
   echo "<tr>";
   echo "<th style='text-align: left;'>";
   echo "<form action='stats.php' method='post'>";
   echo "<input type='hidden' name='player_name' value='$SoldierName'/> ";
   echo "$count: <input type='submit' name='search_player' style='color:#99CCFF;width:140px;text-align:center;font-weight:bold;cursor: pointer;' value='$SoldierName' class='button2'/> <font color='#8E8E8E' size='1'>click name for stats</font>";
   echo "</form>";
   echo "</th></tr>";
   echo "<tr>";
   echo "<td width='100%' style='text-align: left;' class='row1'>      <font color='#CACACA'>Score:</font> $Score</td>";
   echo "</tr>";      
   echo "</table><br/>";

//END PLAYER NAME POSITION BLOCK

}

echo "</td>";
echo "</tr>";
echo "</table>";

//END TOP-25 32-SLOT BLOCK

echo "</td></tr>";

//END TOP PLAYERS CENTER BLOCK RIGHT BLOCK

echo "</table>";

//END TOP PLAYERS CENTER BLOCK
}

echo "</td></tr></table>";
echo "</td>";

//END CENTER CONTENT BLOCK

//BEGIN RIGHT SPACER BLOCK

echo "<td width='5%'></td>";

//END RIGHT SPACER BLOCK

echo "</tr>";
echo "</table>";

//END CONTENT TABLE

echo "<br/><br/>";

_>

But it won't do you very much good as it is. At the very least you would have to add your stats database information and your GGC-Stream server ID and API key.

 

If you don't have two game servers, you will have to edit one server out. Or, if you don't use table suffixes, you will have to remove the table suffixes from the queries in the code. If you don't have GGC-Stream enabled for your server(s), you will have to remove the GGC-Stream stuff.

 

In other words, it works for me, but it would have to be modified for the specific user. I can't just give you a copy and paste solution.

Edited by maxdralle
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by krov7*:

 

Hi, the only problem I'm having with this plugin is that I can't seem to get the welcome message to work! =/ Anyone else having this problem? Please help! I have Enable welcomestats off, and Yell Welcome Message(not the stats) on. Even If I had Enable welcomestats on, those don't display when a player connects. Any ideas why? Thanks!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hi, the only problem I'm having with this plugin is that I can't seem to get the welcome message to work! =/ Anyone else having this problem? Please help! I have Enable welcomestats off, and Yell Welcome Message(not the stats) on. Even If I had Enable welcomestats on, those don't display when a player connects. Any ideas why? Thanks!

I got it to work by increasing the time before the welcome stats are displayed. I increased it to 90 seconds. It seems that it starts counting from the time the player starts to load the map and if they don't finish loading into the game before the message display time expires, the message is never displayed.

 

:smile:

 

Works fine when set to 90 seconds.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PaprTargt*:

 

I tried this plugin today and it crashes my server dead as a doornail, no errors really, just calls Chatguid something or other and I have to restart Procon and disable you plugin before it crashes again. Any ideas?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

@PaprTargt

 

Turn on logging (plugin logs) the plugin post every error there.

Make sure that you have enter all connection (host, user, password, database) data before enabling the plugin.

Procon all errors are catched by the plugin but i dont know why but procon react very badly to ODBC errors.(Often one is enough)

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by krov7*:

 

I got it to work by increasing the time before the welcome stats are displayed. I increased it to 90 seconds. It seems that it starts counting from the time the player starts to load the map and if they don't finish loading into the game before the message display time expires, the message is never displayed.

 

:smile:

 

Works fine when set to 90 seconds.

Hmm.. I tried that, and it only popped up once; I'm still not getting welcome messages when people connect. Anyone else have this problem already and know the answer to it? Thanks
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by gabipaci*:

 

Hi!

 

One more useful idea:

Admin action logger to database

Logging all admin activity with admin name, action, player name, reason, and by procon or by ingame chat command.

Can u do this?

 

Regards, Gabor

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by leibhold*:

 

Hi!

 

One more useful idea:

Admin action logger to database

Logging all admin activity with admin name, action, player name, reason, and by procon or by ingame chat command.

Can u do this?

 

Regards, Gabor

Not possible - procon doesnt report that
* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.