|
#1
|
|||
|
|||
Wait System
Hi! I have a problem with the wait system. I disabled the wait system but the column of the wait system is still there... Can anyone solve this? Ty
|
#2
|
||||
|
||||
Remove the code. I think its in Bittorrent.php
|
#3
|
|||
|
|||
What code?
|
#4
|
||||
|
||||
Can you post yours announce.php and bittorrent.php
|
#5
|
|||
|
|||
announce.php
[php]<?php define ('IN_ANNOUNCE', true); require_once('./include/core_announce.php'); gzip(); foreach (array('passkey','info_hash','peer_id','event','ip ','localip') as $x) { if(isset($_GET[$x])) $GLOBALS[$x] = '' . $_GET[$x]; } foreach (array('port','downloaded','uploaded','left') as $x) $GLOBALS[$x] = 0 + $_GET[$x]; if (strpos($passkey, '?')) { $tmp = substr($passkey, strpos($passkey, '?')); $passkey = substr($passkey, 0, strpos($passkey, '?')); $tmpname = substr($tmp, 1, strpos($tmp, '=')-1); $tmpvalue = substr($tmp, strpos($tmp, '=')+1); $GLOBALS[$tmpname] = $tmpvalue; } if (get_magic_quotes_gpc()) { $info_hash = stripslashes($info_hash); $peer_id = stripslashes($peer_id); } foreach (array('passkey','info_hash','peer_id','port','dow nloaded','uploaded','left') as $x) if (!isset($x)) err('Missing key: '.$x); foreach (array('info_hash','peer_id') as $x) if (strlen($GLOBALS[$x]) != 20) err('Invalid '.$x.' (' . strlen($GLOBALS[$x]) . ' - ' . urlencode($GLOBALS[$x]) . ')'); if (strlen($passkey) != 32) err('Invalid passkey (' . strlen($passkey) . ' - $passkey)'); $ip = getip(); $rsize = 50; foreach(array('num want', 'numwant', 'num_want') as $k) { if (isset($_GET[$k])) { $rsize = 0 + $_GET[$k]; break; } } $agent = $_SERVER['HTTP_USER_AGENT']; if (!$port || $port > 0xffff) err("Invalid port"); if (!isset($event)) $event = ''; $seeder = ($left == 0) ? 'yes' : 'no'; if (ereg("^ABC\\/ABC", $agent)) err("ABC is Banned."); if (ereg("^0P3R4H", $agent)) err("IBrowser Opera is not a cool BT client."); if (substr($peer_id, 0, 4) == "FUTB") err("FUTB? Fuck You Too."); if (substr($peer_id, 0, 7) == "exbc\0L") err("BitLord 1.0 is Banned."); if (substr($peer_id, 0, 7) == "exbcL") err("BitLord 1.1 is Banned."); if (substr($peer_id, 0, 3) == "-TS") err("TorrentStorm is Banned."); if (substr($peer_id, 0, 5) == "Mbrst") err("Burst! is Banned."); if (substr($peer_id, 0, 3) == "-BB") err("BitBuddy is Banned."); if (substr($peer_id, 0, 3) == "-SZ") err("Shareaza is Banned."); if (substr($peer_id, 0, 5) == "turbo") err("TurboBT is banned."); if (preg_match("/MLDonkey\/([0-9]+).([0-9]+).([0-9]+)*/", $agent, $matches)) err("MLDonkey is not a BT client."); if (preg_match("/ed2k_plugin v([0-9]+\\.[0-9]+).*/", $agent, $matches)) err("eDonkey is not a BT client."); // |
Tags |
system , wait |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wait Time | goood | Torrent Strike | 2 | 24th May 2010 09:18 |
ADJUSTMENT SLOT & Settings WAIT, TS Version 5.6 | Tory | Template Shares | 2 | 19th April 2010 08:23 |
wait time? | mid | Community Cafe | 8 | 29th January 2010 17:55 |
48hrs wait time | rytisp | Torrent Strike | 1 | 15th February 2009 18:00 |
Wait system | trilious | Template Shares | 4 | 19th September 2008 17:32 |