View Single Post
  #1  
Old 1st February 2010, 23:48
cobrabm cobrabm is offline
Senior Member
 
Join Date: Mar 2008
Posts: 18
Default i have a question
i removed this from announce.php
PHP Code:
if ($uploaded || $downloaded 0) {
    
$upthis max(0$uploaded - @$self["uploaded"]);
    
$downthis max(0$downloaded - @$self["downloaded"]);
    
mysql_query("UPDATE anti_cheat SET uploaded = uploaded + $upthis, downloaded = downloaded + $downthis WHERE user_id = $userid AND torrent_id = $torrentid");
    if (
mysql_affected_rows() == 0) {
        
mysql_query("INSERT INTO anti_cheat (user_id, torrent_id, uploaded, downloaded ) VALUES ( $userid$torrentid$upthis$downthis )");
    }

and from functions.php this
PHP Code:
HANDLE::freq('libs.anticheat''main'); 
have someting ? for affect my tracker

Last edited by cobrabm; 2nd February 2010 at 00:12.
Reply With Quote