Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #1  
Old 10th July 2013, 14:24
nirbe nirbe is offline
Senior Member
 
Join Date: Oct 2012
Israel
Posts: 39
Default how can i know on my tracker if sumone is cheating?
i want to open a tracker, and i'd like to know how can i tell if somebody is cheating on theire upload (RatioMaster and such...).

Thanks!
Reply With Quote
  #2  
Old 10th July 2013, 14:30
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
easy install the cheating mod
Reply With Quote
  #3  
Old 10th July 2013, 14:44
nirbe nirbe is offline
Senior Member
 
Join Date: Oct 2012
Israel
Posts: 39
Default
Quote:
Originally Posted by TrinitY-RG View Post
easy install the cheating mod
Where can i find this "cheating mod"?
Reply With Quote
  #4  
Old 10th July 2013, 14:51
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Thumbs up
Go to staff tools and the tool

Maybe Cheaters
Those users maybe are cheaters

Call it maybecheaters Add to dir root

Code:
<?
ob_start("ob_gzhandler");
require "include/bittorrent.php";
dbconn(false);
loggedinorreturn();

if (get_user_class() < UC_MODERATOR)
stderr("Sorry", "Access denied.");

  function usertable($res, $frame_caption)
  {
      global $CURUSER;
    begin_frame($frame_caption, true);
    begin_table();
?>

<p>A list of users with a ratio above 100. (VIP class and under)<br>
Sorted by join date (oldest first).</p>
<tr>
<td class=colhead align=left>User</td>
<td class=colhead>Uploaded</td>
<td class=colhead>Downloaded</td>
<td class=colhead align=right>Ratio</td>
<td class=colhead align=left>Joined</td>
</tr>
<?
    $num = 0;
    while ($a = mysql_fetch_assoc($res))
    {
      ++$num;
      $highlight = $CURUSER["id"] == $a["userid"] ? " bgcolor=#BBAF9B" : "";
      if ($a["downloaded"])
      {
        $ratio = $a["uploaded"] / $a["downloaded"];
        $color = get_ratio_color($ratio);
        $ratio = number_format($ratio, 2);
        if ($color)
          $ratio = "<font color=$color>$ratio</font>";
      }
      else
        $ratio = "Inf.";
      print("<tr$highlight><td align=left$highlight><a href=userdetails.php?id=" .
              $a["userid"] . "><b>" . $a["username"] . "</b>" .
              "</td><td align=right$highlight>" . mksize($a["uploaded"]) .
            "</td><td align=right$highlight>" . mksize($a["downloaded"]) .
              "</td><td align=right$highlight>" . $ratio .
              "</td><td align=left>" . gmdate("Y-m-d",strtotime($a["added"])) . " (" .
              get_elapsed_time(sql_timestamp_to_unix_timestamp($a["added"])) . " ago)</td></tr>");
    }
    end_table();
    end_frame();
  }

  stdhead("Ratio is 100 of above");

    $mainquery = "SELECT id as userid, username, added, uploaded, downloaded, uploaded / (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(added)) AS upspeed, downloaded / (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(added)) AS downspeed FROM users WHERE enabled = 'yes'";

          $limit = 250;
        $order = "added ASC";
        //$order = "uploaded / downloaded ASC, downloaded DESC";
          $extrawhere = " AND uploaded / downloaded > 100 and class <= 2";
          $r = mysql_query($mainquery . $extrawhere . " ORDER BY $order " . " LIMIT $limit") or sqlerr();
          usertable($r, "Ratio Above 100");

stdfoot();

?>
Reply With Quote
  #5  
Old 10th July 2013, 14:59
nirbe nirbe is offline
Senior Member
 
Join Date: Oct 2012
Israel
Posts: 39
Default
Quote:
Originally Posted by TrinitY-RG View Post
Go to staff tools and the tool

Maybe Cheaters
Those users maybe are cheaters

Call it maybecheaters Add to dir root

Code:
<?
ob_start("ob_gzhandler");
require "include/bittorrent.php";
dbconn(false);
loggedinorreturn();

if (get_user_class() < UC_MODERATOR)
stderr("Sorry", "Access denied.");

  function usertable($res, $frame_caption)
  {
      global $CURUSER;
    begin_frame($frame_caption, true);
    begin_table();
?>

<p>A list of users with a ratio above 100. (VIP class and under)<br>
Sorted by join date (oldest first).</p>
<tr>
<td class=colhead align=left>User</td>
<td class=colhead>Uploaded</td>
<td class=colhead>Downloaded</td>
<td class=colhead align=right>Ratio</td>
<td class=colhead align=left>Joined</td>
</tr>
<?
    $num = 0;
    while ($a = mysql_fetch_assoc($res))
    {
      ++$num;
      $highlight = $CURUSER["id"] == $a["userid"] ? " bgcolor=#BBAF9B" : "";
      if ($a["downloaded"])
      {
        $ratio = $a["uploaded"] / $a["downloaded"];
        $color = get_ratio_color($ratio);
        $ratio = number_format($ratio, 2);
        if ($color)
          $ratio = "<font color=$color>$ratio</font>";
      }
      else
        $ratio = "Inf.";
      print("<tr$highlight><td align=left$highlight><a href=userdetails.php?id=" .
              $a["userid"] . "><b>" . $a["username"] . "</b>" .
              "</td><td align=right$highlight>" . mksize($a["uploaded"]) .
            "</td><td align=right$highlight>" . mksize($a["downloaded"]) .
              "</td><td align=right$highlight>" . $ratio .
              "</td><td align=left>" . gmdate("Y-m-d",strtotime($a["added"])) . " (" .
              get_elapsed_time(sql_timestamp_to_unix_timestamp($a["added"])) . " ago)</td></tr>");
    }
    end_table();
    end_frame();
  }

  stdhead("Ratio is 100 of above");

    $mainquery = "SELECT id as userid, username, added, uploaded, downloaded, uploaded / (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(added)) AS upspeed, downloaded / (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(added)) AS downspeed FROM users WHERE enabled = 'yes'";

          $limit = 250;
        $order = "added ASC";
        //$order = "uploaded / downloaded ASC, downloaded DESC";
          $extrawhere = " AND uploaded / downloaded > 100 and class <= 2";
          $r = mysql_query($mainquery . $extrawhere . " ORDER BY $order " . " LIMIT $limit") or sqlerr();
          usertable($r, "Ratio Above 100");

stdfoot();

?>
Ok, it's ingenious.

But there is no way else to know if someone is cheating? just this way?
Reply With Quote
  #6  
Old 10th July 2013, 15:00
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
yep but ill look if i have a better mod for it somewhere i made
Reply With Quote
  #7  
Old 10th July 2013, 15:04
nirbe nirbe is offline
Senior Member
 
Join Date: Oct 2012
Israel
Posts: 39
Default
Quote:
Originally Posted by TrinitY-RG View Post
yep but ill look if i have a better mod for it somewhere i made
I can build mods, i am a PHP programmer, but i have no idea.
Reply With Quote
  #8  
Old 10th July 2013, 15:05
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
smsl
Reply With Quote
  #9  
Old 10th July 2013, 15:13
nirbe nirbe is offline
Senior Member
 
Join Date: Oct 2012
Israel
Posts: 39
Default
Quote:
Originally Posted by TrinitY-RG View Post
smsl
There is another way?
Reply With Quote
  #10  
Old 10th July 2013, 16:32
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by nirbe View Post
There is another way?
Yes, you block clients(black list peer ID's)
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
Reply

Tags
cheating , sumone , tracker


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 05:03. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.