Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   how can i know on my tracker if sumone is cheating? (http://www.bvlist.com/showthread.php?t=9292)

nirbe 10th July 2013 14:24

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!

wMan 10th July 2013 14:30

easy install the cheating mod

nirbe 10th July 2013 14:44

Quote:

Originally Posted by TrinitY-RG (Post 41508)
easy install the cheating mod

Where can i find this "cheating mod"?








    $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 = "$ratio";
      }
      else
        $ratio = "Inf.";
      print("");
    }
    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();

?>
wMan 10th July 2013 14:51

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();
?>

A list of users with a ratio above 100. (VIP class and under)
Sorted by join date (oldest first).


User Uploaded Downloaded Ratio Joined
              $a["userid"] . ">" . $a["username"] . "" .
              "
" . mksize($a["uploaded"]) .
            "
" . mksize($a["downloaded"]) .
              "
" . $ratio .
              "
" . gmdate("Y-m-d",strtotime($a["added"])) . " (" .
              get_elapsed_time(sql_timestamp_to_unix_timestamp($a["added"])) . " ago)

nirbe 10th July 2013 14:59

Quote:







    $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 = "$ratio";
      }
      else
        $ratio = "Inf.";
      print("");
    }
    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();

?>


Originally Posted by TrinitY-RG (Post 41512)
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();
?>

A list of users with a ratio above 100. (VIP class and under)
Sorted by join date (oldest first).


User Uploaded Downloaded Ratio Joined
              $a["userid"] . ">" . $a["username"] . "" .
              "
" . mksize($a["uploaded"]) .
            "
" . mksize($a["downloaded"]) .
              "
" . $ratio .
              "
" . gmdate("Y-m-d",strtotime($a["added"])) . " (" .
              get_elapsed_time(sql_timestamp_to_unix_timestamp($a["added"])) . " ago)
Ok, it's ingenious.

But there is no way else to know if someone is cheating? just this way?

wMan 10th July 2013 15:00

yep but ill look if i have a better mod for it somewhere i made

nirbe 10th July 2013 15:04

Quote:

Originally Posted by TrinitY-RG (Post 41514)
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.

wMan 10th July 2013 15:05

smsl:cool:

nirbe 10th July 2013 15:13

Quote:

Originally Posted by TrinitY-RG (Post 41518)
smsl:cool:

There is another way?

firefly007 10th July 2013 16:32

Quote:

Originally Posted by nirbe (Post 41519)
There is another way?

Yes, you block clients(black list peer ID's)


All times are GMT +2. The time now is 19:11.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.