Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 23rd February 2008, 19:20
sharky sharky is offline
Member
 
Join Date: Jan 2008
Posts: 12
Default Freeleech with multiplier
YOU MUST HAVE THE FREELEECH MOD INSTALLED IN ORDER TO USE THIS MOD :)

this mod makes your uploadx2 or x4 on freeleech torrents, of course, if the freeleech and the multiplier are set "true"

so, basically..add this in announce .php , beneath the first
Code:
<?
add

Code:
$free = false; //set free on off(generally) 
$double = false; //set 2x multiplier
$four = false; //set 4x multiplier

//WARNING:DO NOT SET BOTH MULTIPLIERS TRUE, ONLY ONE
then, replace this
Code:
else
{
    $upthis = max(0, $uploaded - $self["uploaded"]);
    $downthis = max(0, $downloaded - $self["downloaded"]);

    if ($upthis > 0 || $downthis > 0)
        mysql_query("UPDATE users SET uploaded = uploaded + $upthis, downloaded = downloaded + $downthis WHERE id=$userid") or err("Tracker error 3");
}
}
with
Code:
else
{
    $upthis = max(0, $uploaded - $self["uploaded"]);
    $downthis = max(0, $downloaded - $self["downloaded"]);
    if ($free)
        $downthis = 0;
    if ($double)
        $upthis *= 2;
 if ($four)
        $upthis *= 4;

    if ($upthis > 0 || $downthis > 0)
        mysql_query("UPDATE users SET uploaded = uploaded + $upthis, downloaded = downloaded + $downthis WHERE id=$userid") or err("Tracker error 3");
}
that's it. tested and works
Reply With Quote
The Following User Says Thank You to sharky For This Useful Post:
al-jodtv (28th February 2010)
  #2  
Old 7th March 2008, 19:51
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default Re: Freeleech with multiplier
cheers sharky
Reply With Quote
  #3  
Old 10th March 2008, 16:01
sharky sharky is offline
Member
 
Join Date: Jan 2008
Posts: 12
Default Re: Freeleech with multiplier
anytime mate
Reply With Quote
  #4  
Old 30th April 2008, 22:33
snakebite snakebite is offline
Senior Member
 
Join Date: Apr 2008
Default
Posts: 47
Default Re: Freeleech with multiplier
thnx just what i needed :D
__________________
Go here! ----> "HERE"
Reply With Quote
  #5  
Old 4th May 2008, 18:03
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default Re: Freeleech with multiplier
this is mine so would the freeleech ive added still work?


else
Code:
{
	$upthis = max(0, $uploaded - $self["uploaded"]);
	$downthis = max(0, $downloaded - $self["downloaded"]);
    // Get the last uploaded amount from user account for reference and store it in $last_up
    $rst = mysql_query("SELECT class, uploaded FROM users WHERE id = $userid") or err("Tracker error 5");
    $art = mysql_fetch_array($rst);
    $last_up = $art["uploaded"];
    $class = $art["class"];

	if ($upthis > 0 || $downthis > 0)
 mysql_query("UPDATE users SET uploaded = uploaded + $upthis". ($torrent['free']=='no'?", downloaded = downloaded + $downthis ":' '). "WHERE id=$userid") or err("Tracker error 3");
Reply With Quote
  #6  
Old 17th May 2008, 06:07
Tarix22 Tarix22 is offline
Member
 
Join Date: Feb 2008
Posts: 9
Default Re: Freeleech with multiplier
PLease screeennnnn
Reply With Quote
  #7  
Old 21st May 2008, 19:22
sharky sharky is offline
Member
 
Join Date: Jan 2008
Posts: 12
Default Re: Freeleech with multiplier
What Screen? It's just a mod that doubles/multiplies your upload when freeleech is on. Jeez :blink:
Reply With Quote
  #8  
Old 22nd May 2008, 08:11
Tarix22 Tarix22 is offline
Member
 
Join Date: Feb 2008
Posts: 9
Default Re: Freeleech with multiplier
screeenn please
Reply With Quote
  #9  
Old 22nd May 2008, 14:40
snakebite snakebite is offline
Senior Member
 
Join Date: Apr 2008
Default
Posts: 47
Default Re: Freeleech with multiplier
are you "stupid" tarix22? no offence..
how can he make a screen of double seed or freeleech?
think man..!
__________________
Go here! ----> "HERE"
Reply With Quote
  #10  
Old 25th May 2008, 12:30
djlee's Avatar
djlee djlee is offline
Senior Member
 
Join Date: Mar 2008
Posts: 183
Default Re: Freeleech with multiplier
anymore silly screen plz posts from you and i will have you warned if not banned from the site.. yu did this on TBDEV and now your doing it here .. grow a few brain cells before posting would ya
Reply With Quote
Reply

Tags
freeleech , multiplier

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
TBDEv Freeleech mod ? poiuy6789 TBDev 6 11th June 2013 03:39
freeleech.eu tbdev final 2009 djblackout Community Cafe 0 23rd March 2010 04:42
tbdev.net (netmaniack's edition) 1.5 freeleech.php tunad Community Cafe 0 28th December 2008 14:44
Freeleech tunad Torrent Strike 2 18th November 2008 13:42
FreeLeech vertex Yuna Scatari Edition (YSE) 9 7th September 2008 21:38



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