Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Yuna Scatari Edition (YSE) (http://www.bvlist.com/forumdisplay.php?f=22)
-   -   BUG:I have a serious problem (http://www.bvlist.com/showthread.php?t=1550)

Jigsaw4 12th December 2008 20:51

BUG:I have a serious problem
 
The problem is that in about 10 minutes when autocleanup is executed I have 0 seeders and 0 leecher and it's updating when I update my client!Plz help me I use this source :YunaScatari.v2.0.PRE7.RC2.1
:sos::sos:

dezza 15th December 2008 20:47

Is cleanup time less than announce-time?

Look in your settings.

Jigsaw4 15th December 2008 21:11

Announce Interval? 1800
Auto Clean Interval? 900

dezza 15th December 2008 21:37

Hmm, it's some time since I fixed this problem and I can't really remember what caused it..

I think you have to update your cleanup.php ..

PHP Code:

        $deadtime deadtime();
        
sql_query("DELETE FROM peers WHERE last_action < FROM_UNIXTIME($deadtime)");
        
$deadtime $deadtime $max_dead_torrent_time;
        
sql_query("UPDATE snatched SET seeder='no' WHERE seeder='yes' AND last_action < FROM_UNIXTIME($deadtime)");
        
sql_query("UPDATE torrents SET visible='no' WHERE visible='yes' AND last_action < $deadtime"); 

This is a snippet of what it should look like .. Rest of it is pure mathematics, follow the code and you will find out why it does like it does, that's how I figured it out .. Subtract the numbers and look at the result ..

Jigsaw4 15th December 2008 21:46

1 Attachment(s)
Here is my cleanup.php .Plz do it for me...THX

dezza 15th December 2008 21:58

Tell the difference yourself lazy ..

I'm not your callsupport .. If you want someone to do it for you pay them ..

Jigsaw4 15th December 2008 22:12

I'm not lazy I just want to make a perfect tracker but I don't know how to do this little thing!And if U don't want to help than other's will help

Kotafi 15th December 2008 22:40

well, u should be able todo those things if your'e thinking of running a tracker.
dezza give you some snippets to look for in the cleanup so maybe try that?

not sure if it works strait up cos mine if diffrent from dezza's

i have it like this:
Code:

        $deadtime = deadtime();
        sql_query("DELETE FROM peers WHERE last_action < $deadtime");
        if ($snatchmod == 'yes') sql_query("UPDATE snatched SET seeder='no' WHERE seeder='yes' AND last_action < FROM_UNIXTIME($deadtime)");
        $deadtime = $deadtime - $max_dead_torrent_time;
        sql_query("UPDATE torrents SET visible='no' WHERE visible='yes' AND last_action < $deadtime");


Jigsaw4 16th December 2008 08:35

It's not working....


All times are GMT +2. The time now is 23:07.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.