Thanks guys pm's are sent now :)
if ($torrent["freeleech"] == 1){
Must be replaced with this one:
if ($user["class"] >= "3" || $torrent["freeleech"] == 1){
$elapsed = ($self['seeder'] == 'yes') ? (gmtime() - $self['ez']) : 0;
before
$upthis = max(0, $uploaded - $self["uploaded"]);
"ArcticWolf, post: 89481":i use this in my announces and it seems to work fine for all the clients on my site..
before$elapsed = ($self['seeder'] == 'yes') ? (gmtime() - $self['ez']) : 0;
$upthis = max(0, $uploaded - $self["uploaded"]);
if ( $_GET[ 'event' ] != 'stopped' )
{
$elapsed = ($self['seeder'] == 'yes') ? $torrentconfig['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;
}
For me in my annonce.php I do like this
if ( $_GET[ 'event' ] != 'stopped' )
{
$elapsed = ($self['seeder'] == 'yes') ? $torrentconfig['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;
}
$upthis = max(0, $uploaded - $self["uploaded"]);
$downthis = max(0, $downloaded - $self["downloaded"]);
"BigMax1, post: 89480":This system works correctly but I encountered a problem with rtorrent that is the default client on almost all seedboxes.
Regardless of which version is, the seed time recorded is exaggerated. Is recorded about 10-12 days after 2 days of seeding and to ban this client I do not think is a suitable option...
Does anyone know another way? Perhaps a change in the code somewhere? Since this system is useless for users who use rtorrent.
"McGyver, post: 89485":no I dont use the that 1 i only use the the i said.But the code you use it too?
For me in my annonce.php I do like this
if ( $_GET[ 'event' ] != 'stopped' )
{
$elapsed = ($self['seeder'] == 'yes') ? $torrentconfig['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;
}
if ( $_GET[ 'event' ] != 'stopped' )
{
$elapsed = ($self['seeder'] == 'yes') ? $torrentconfig['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;
}
$upthis = max(0, $uploaded - $self["uploaded"]);
$downthis = max(0, $downloaded - $self["downloaded"]);
Or can I put them???
sorry for my english
$elapsed = ($self['seeder'] == 'yes') ? $site_config['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;
if ( $_GET[ 'event' ] != 'stopped' )
{
}
"BigMax1, post: 89497":THEN YOU PUT IT IN THE WRONG PLACE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!And ArcticWolf, I'm sorry but your code multiplies extra time added for about 10 times. On my tracker this is the result...
No users online
Torrents
Members
Online