PDA

View Full Version : problem with !statsup


hycks
02-20-2004, 02:50 AM
hi !
humm, i have a small problem with !stasup.
The bot show the stat, but, there aren't good :/

6-:: 4top10 uploaders ::- #01 monkey @ 7.50mb :: #02 ioFTPD @ 0.00mb :: #03 u1 @ 0.00mb :: #04 u2 @ 0.00mb :: #05 u3 @ 0.00mb :: #06 u4 @ 0.00mb :: #%pos07 %name07 @ %total07 :: #%p

i think its about cookies.

i have this :
[b]:[b]:- #%pos01 %name01 @ %total01 :: #%pos02 %name02 @ %total02 :: #%pos03 %name03 @ %total03 :: #%pos04 %name04 @ %total04 :: #%pos05 %name05 @ %total05 :: #%pos06 %name06 @ %total06 :: #%pos07 %name07 @ %total07 :: #%pos08 %name08 @ %total08 :: #%pos09 %name09 @ %total09 :: #%pos10 %name10 @ %total10"


what the good cookies ?

Mouton
02-20-2004, 11:31 AM
use the default one. don't touch it.

maybe ur using diff. stats section, and the bot do SITE STATS allup instead of SITE STATS all SECTION 0
..? Check in your .tcl... search for SITE STATS

hycks
02-20-2004, 01:07 PM
ok so, in my .tcl i have

set status [catch { set ee [::ftp::Quote $ioss(ftp) SITE stats ALLUP SECTION 0] } result]

set status [catch { set ee [::ftp::Quote $ioss(ftp) SITE STATS ALLDN SECTION 0] } result]

set status [catch { set ee [::ftp::Quote $ioss(ftp) SITE STATS MONTHUP COUNT 9999 SECTION 0] } result]


To active the stat, i must put at 1 the site stats ?

Harm
02-20-2004, 01:14 PM
What does the bot say in the partyline when you use !statsup ?

hycks
02-21-2004, 05:46 AM
when i type !statsup, the bot does nothing in party-line :/

hycks
02-22-2004, 05:13 AM
is there a solution ? :( i haven't find it alone

Harm
02-22-2004, 05:16 AM
Enable debug and verbose (see faq.txt).
What does it say in the partyline now ?

hycks
02-22-2004, 05:29 AM
humm, now i say this :

[02:19] debug | -> rc=" "
-> msgtext=""
-> state="quote"
[02:19] debug | ---> SITE stats ALLUP SECTION 1
[02:19] debug | -> rc="200"
-> msgtext="+-----------------------------------------+"
-> state="quote_sent"
[02:19] debug control | C: 200-+-----------------------------------------+
[02:19] debug control | C: 200-| Alltime Top Uploaders |
[02:19] debug control | C: 200-+-----------------------------------------+
[02:19] debug control | C: 200-| ## | USER @ GROUP | MBYTES |
[02:19] debug control | C: 200-+----+-------------------------+----------+
[02:19] debug control | C: 200-| 01 | monkey @ Siteops | 1408.6 |
[02:19] debug control | C: 200-| 02 | user1 @ Siteops | 0.0 |
[02:19] debug control | C: 200-| 03 | user2 @ build | 0.0 |
[02:19] debug control | C: 200-| 04 | user3 @ Siteops | 0.0 |
[02:19] debug control | C: 200-| 05 | user4 @ build | 0.0 |
[02:19] debug control | C: 200-| 06 | user @ sitebot | 0.0 |
[02:19] debug control | C: 200-+----+-------------------------+----------+
[02:19] debug control | C: 200 Command successful.

:/

Harm
02-22-2004, 06:19 AM
You have less than 10 users. How do you want the script to be able to display stats for 10 users ?

hycks
02-22-2004, 06:53 AM
lol no its just because i haven't config the number of the stats, where i put the number ?

because i have put a "5" after every "COUNT", and after every "SECTION" i have put to 1.
example :
SITE STATS MONTHUP COUNT 5 SECTION 1

its wright ?

Harm
02-22-2004, 07:42 AM
Why do you want to display 10 users then ?
If you want to display only 5 users, you should use:
"#%pos01 %name01 @ %total01 :: #%pos02 %name02 @ %total02 :: #%pos03 %name03 @ %total03 :: #%pos04 %name04 @ %total04 :: #%pos05 %name05 @ %total05"
instead of
"#%pos01 %name01 @ %total01 :: #%pos02 %name02 @ %total02 :: #%pos03 %name03 @ %total03 :: #%pos04 %name04 @ %total04 :: #%pos05 %name05 @ %total05 :: #%pos06 %name06 @ %total06 :: #%pos07 %name07 @ %total07 :: #%pos08 %name08 @ %total08 :: #%pos09 %name09 @ %total09 :: #%pos10 %name10 @ %total10"

hycks
02-22-2004, 07:54 AM
yes, for that its ok, but, the stats aren't good :/ they are always the same :

[04:43] debug | -> rc=" "
-> msgtext=""
-> state="quote"
[04:43] debug | ---> SITE stats ALLUP SECTION 0
[04:43] debug | -> rc="200"
-> msgtext="+-----------------------------------------+"
-> state="quote_sent"
[04:43] debug control | C: 200-+-----------------------------------------+
[04:43] debug control | C: 200-| Alltime Top Uploaders |
[04:43] debug control | C: 200-+-----------------------------------------+
[04:43] debug control | C: 200-| ## | USER @ GROUP | MBYTES |
[04:43] debug control | C: 200-+----+-------------------------+----------+
[04:43] debug control | C: 200-| 01 | monkey @ Siteops | 7.5 |
[04:43] debug control | C: 200-| 02 | user1 @ Siteops | 0.0 |
[04:43] debug control | C: 200-| 03 | user2 @ build | 0.0 |
[04:43] debug control | C: 200-| 04 | user3 @ Siteops | 0.0 |
[04:43] debug control | C: 200-| 05 | user4 @ build | 0.0 |
[04:43] debug control | C: 200-| 06 | user @ sitebot | 0.0 |
[04:43] debug control | C: 200-+----+-------------------------+----------+
[04:43] debug control | C: 200 Command successful.

and if i put SITE stats ALLUP SECTION 1

he say :

02:19] debug | -> rc=" "
-> msgtext=""
-> state="quote"
[02:19] debug | ---> SITE stats ALLUP SECTION 1
[02:19] debug | -> rc="200"
-> msgtext="+-----------------------------------------+"
-> state="quote_sent"
[02:19] debug control | C: 200-+-----------------------------------------+
[02:19] debug control | C: 200-| Alltime Top Uploaders |
[02:19] debug control | C: 200-+-----------------------------------------+
[02:19] debug control | C: 200-| ## | USER @ GROUP | MBYTES |
[02:19] debug control | C: 200-+----+-------------------------+----------+
[02:19] debug control | C: 200-| 01 | monkey @ Siteops | 1408.6 |
[02:19] debug control | C: 200-| 02 | user1 @ Siteops | 0.0 |
[02:19] debug control | C: 200-| 03 | user2 @ build | 0.0 |
[02:19] debug control | C: 200-| 04 | user3 @ Siteops | 0.0 |
[02:19] debug control | C: 200-| 05 | user4 @ build | 0.0 |
[02:19] debug control | C: 200-| 06 | user @ sitebot | 0.0 |
[02:19] debug control | C: 200-+----+-------------------------+----------+
[02:19] debug control | C: 200 Command successful.


but that not the good stat :/

Harm
02-22-2004, 08:26 AM
What version of ioFTPD are you using ?
What stats section are you using ?

hycks
02-22-2004, 08:37 AM
[14:30:38] [R] site version
[14:30:38] [R] 200-ioFTPD version 5-3-9r
[14:30:38] [R] 200-ioBanana version v19-free
[14:30:38] [R] 200 Command successful.

hum, ah ok, now its good, but i haven't put athe good section, but, if there are many section, how i can do?

Mouton
02-22-2004, 09:31 AM
you can't.
u can only show a single stats section with ioB atm.
U can setup sections to use diff. credits # and the same stats #.

hycks
02-22-2004, 09:41 AM
humm yes, i have think at it, but where and how i configure it ? :/
in the .ioftpd.ini ?

Harm
02-22-2004, 09:49 AM
Indeed, it's in ioFTPD.ini.
Read the documentation (http://www.ioftpd.com/documentation/08-sections.php) to learn what to change and where.

zpr
02-26-2004, 02:07 PM
Originally posted by hycks
[14:30:38] [R] site version
[14:30:38] [R] 200-ioFTPD version 5-3-9r
[14:30:38] [R] 200-ioBanana version v19-free
[14:30:38] [R] 200 Command successful.


why dont u use iob19r then?

looks like 0day version of io...