Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #1  
Old 17th October 2012, 21:34
Falconbeer Falconbeer is offline
Member
 
Join Date: Feb 2010
Sweden
Posts: 5
Default some problem with big torrents
hi
i use a older tbdev from 2005 or so and when someone upload a bigger pack and they try to dl it they only get invalide torrentfile, dont know how big torrents it must be to get this error but the last one was 263gb moviepack and its impossible to download it, but iknow we have packs up to 200gb some, so is there a limit in the script i missed? i cant find anything :(
Reply With Quote
  #2  
Old 17th October 2012, 23:22
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Post your download.php
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #3  
Old 17th October 2012, 23:39
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
Quote:
Originally Posted by Falconbeer View Post
hi
i use a older tbdev from 2005 or so and when someone upload a bigger pack and they try to dl it they only get invalide torrentfile, dont know how big torrents it must be to get this error but the last one was 263gb moviepack and its impossible to download it, but iknow we have packs up to 200gb some, so is there a limit in the script i missed? i cant find anything :(

im not being rude but im guessing your pretty active on your to be uploading packs that big and using a source from 2005, have you thought about updating?
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #4  
Old 18th October 2012, 11:57
Falconbeer Falconbeer is offline
Member
 
Join Date: Feb 2010
Sweden
Posts: 5
Default
hi
my download.php looks like this..
daffy it's to much work to change script and vi are only 2000 users on a private tracker.
Code:
<?
require_once("include/bittorrent.php");
dbconn();
parked();
if ($CURUSER["downloadpos"] == 'no')
{
stdmsg("Tyvärr..", "Du kan inte ladda ner torrents! Hör med bryggan varför.");
stdfoot();
exit;
}
if (!preg_match(':^/(\d{1,10})/(.+)\.torrent$:', $_SERVER["PATH_INFO"], $matches))
httperr();
$id = 0 + $matches[1];
if (!$id)
httperr();
$res = mysql_query("SELECT name FROM torrents WHERE id = $id") or sqlerr(__FILE__, __LINE__);
$row = mysql_fetch_assoc($res);
$fn = "$torrent_dir/$id.torrent";
if (!$row || !is_file($fn) || !is_readable($fn))
httperr();
 
mysql_query("UPDATE torrents SET hits = hits + 1 WHERE id = $id");
require_once "include/benc.php";
 
 
if (strlen($CURUSER['passkey']) != 32) {
$CURUSER['passkey'] = md5($CURUSER['username'].get_date_time().$CURUSER['passhash']);
mysql_query("UPDATE users SET passkey='$CURUSER[passkey]' WHERE id=$CURUSER[id]");
}
 
 
$dict = bdec_file($fn, (1024*1024));
$dict['value']['announce']['value'] = $announce_urls[0]."?passkey=$CURUSER[passkey]";//"$DEFAULTBASEURL/announce.php/passkey=$CURUSER[passkey]";
$dict['value']['announce']['string'] = strlen($dict['value']['announce']['value']).":".$dict['value']['announce']['value'];
$dict['value']['announce']['strlen'] = strlen($dict['value']['announce']['string']);
// Remove multiple trackers from torrent
unset($dict['value']['announce-list']);
header("Content-Type: application/x-bittorrent");
print(benc($dict)); 
mysql_query("DELETE from bookmarks WHERE torrentid = $id AND userid = $CURUSER[id] LIMIT 1");
?>
Bump: no one? tbdev 120905 i think its called that i use, and like i say have no need to change script, mine have a lot of mods and translated so change is not an option for me..
so if any know if or where there is a limit so whare is it? upload the the torrent works good, but not download it :(
Reply With Quote
Reply

Tags
big , problem , torrents


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 20:08. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.