Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-02-2005, 02:46 PM   #1
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default [Fixed] !request, !requests and rules

Noticed a few issues with the new version:

If you have affils that pre in more than one area, they are listed multiple times from !affils command

Commands that send you a lot of data from the bot are far too slow for each line - eg !help

!imdb now broken
!quotas doesnt seem to list exempt users / groups anymore
!leechers now !dn
!uploaders now !up
!passed now broken
!google now broken
!undupe now broken

Leading group is [b]%gptop[b] \[%gpmbMB/%gpfilesF/%gppercent%/%gpspeedkBps\]. no longer works on HALFWAY announce.
And sometimes halfway announce appears twice.

!latests lists all folders - eg sample, etc. not just releases.
!requests sends me site rules!
richto is offline   Reply With Quote
Old 10-02-2005, 08:37 PM   #2
scoonydeus
Junior Member
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 13
Default

Hi,

I agree with the !latests command, i think it's can be usefull to rename the cd*, covers, sample etc... log title to NEWSUBDIR: or whatever ...

This will fix the latests command...

If u guys can make a fix...

And to reply to !passed is working for me and undupe i think so... and it's pretty easy tu change the !dn command to !leechers...
scoonydeus is offline   Reply With Quote
Old 10-02-2005, 08:40 PM   #3
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

I just get no response in chan to them
richto is offline   Reply With Quote
Old 10-03-2005, 10:40 AM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Quote:
Originally Posted by scoonydeus
Hi,

I agree with the !latests command, i think it's can be usefull to rename the cd*, covers, sample etc... log title to NEWSUBDIR: or whatever ...

This will fix the latests command...
NEWDIR: is logged by ioFTPD itself everytime it creates a new directory. ioBanana just show them.
Latest just needs an exception list. Maybe there are none atm, or it's just not working. Who knows. Harm or someone with tcl knowledge will fix when they have time.
Mouton is offline   Reply With Quote
Old 10-03-2005, 11:01 AM   #5
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

To fix latest that shows unwanted dirs:
open ioDUPE.itcl and add 3 lines in it:

Code:
proc sitenew {section number} {
global dupe ioB zs
if {[catch {set iolog [open $dupe(iolog) r]}]} {return 0}
set content [split [read $iolog] \r\n]; close $iolog
set newdirs [lsearch -all -inline -glob $content "* NEWDIR: *"]
set pos 0
foreach newdir $newdirs {
	foreach dir $zs(subdirs) {
		if {[string match -nocase "*/$dir" [lindex $newdir 5]]} {set newdirs [lreplace $newdirs $pos $pos]; incr pos -1}
	}
	foreach dir $zs(excluded,dupe) {
		if {[string match $dir [lindex $newdir 5]]} {set newdirs [lreplace $newdirs $pos $pos]; incr pos -1}
	}
	incr pos 1
}
Mouton is offline   Reply With Quote
Old 10-03-2005, 01:54 PM   #6
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Quote:
Originally Posted by richto
Noticed a few issues with the new version:

If you have affils that pre in more than one area, they are listed multiple times from !affils command

Commands that send you a lot of data from the bot are far too slow for each line - eg !help

!imdb now broken
!quotas doesnt seem to list exempt users / groups anymore
!leechers now !dn
!uploaders now !up
!passed now broken
!google now broken
!undupe now broken

Leading group is [b]%gptop[b] \[%gpmbMB/%gpfilesF/%gppercent%/%gpspeedkBps\]. no longer works on HALFWAY announce.
And sometimes halfway announce appears twice.

!latests lists all folders - eg sample, etc. not just releases.
!requests sends me site rules!
Affils are listed multiple times because you've created multiple lines for them. Only one line per affil is required as you can specify as many sections as you want on one Pre_Group_* line.

The bot slows down the reply rate for the irc commands where there are announces going on. This was implemented to avoid flooding the irc server and being killed for this reason.

!imdb isn't broken, it was removed by design. B0unty's standalone imdb script works fine and is well maintained. The same goes for !google.

!quotas (like !trials) doesn't list exempted users by design. Exempted users are supposed to be hidden. Note that !trials lists apprentices which are users that will soon enter their trial period.

What's the problem with the !up and !dn commands ? They're shorter and thus easier to use. This is fully documented btw.

I'm not aware of any issue with !passed and I won't read your mind nor spend a day or two trying to figure out what you're talking about. If you want to see it fixed (or explained), you'll have to give more details. The same goes for !undupe.

These cookies are indeed not available.

If the halfway announce appears twice, it usually means it has been logged twice. Start with denying overwrite and resume in these directories and then provide more details (like excepts of your ioFTPD.log and xferlog) if you want a better explanation. I can't figure out what happens without seeing these.
Harm is offline   Reply With Quote
Old 10-03-2005, 01:55 PM   #7
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

Thanks, !latests one now fixed. And !passed now works (my error)

Cheers for the explanations Harm. We work through and see if anything outstanding, turn debugging on, etc. and try to come back with more info.

nb - im talking about the speed when the bot has no anounces, can I speed it up?
richto is offline   Reply With Quote
Old 10-04-2005, 02:05 PM   #8
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

Found another one -

"Latest" shortcut on site also lists uploads to PRE folder! There doesnt seem to be a setting to ignore it?
richto is offline   Reply With Quote
Old 10-04-2005, 02:25 PM   #9
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

There's of course a setting to exclude some dirs from being listed in the Latest symlink. It's called $zs(excluded,dupe).
Read the faq, there's an article about possible problems with it (and the solution of course).
http://www.inicom.net/forum/showthread.php?t=15531

What do you mean with "slow" ? It takes ~1 second here without other announces in the queue and between 2 and 5 (usually) when there are.
Harm is offline   Reply With Quote
Old 10-06-2005, 07:54 PM   #10
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

HI, It takes nearer 2 seconds per line for me with the bot doing nothing. Can I speed it up?

!request doesnt seem to work - I have set gid, uid, ident etc. eg !approve works though.

!undupe doesnt respond.

!requests sends me the site rules ???

Any ETA on the documentation for the rules format?


Thanks very much.
richto is offline   Reply With Quote
Old 10-07-2005, 04:33 PM   #11
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

It looks a bit high but possible if the bot is lagging. Try to ctcp ping the bot.
Harm is offline   Reply With Quote
Old 10-08-2005, 04:13 AM   #12
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

1.9 Seconds from a connection via a USA bnc (bot is .eu)

Is there not a setting to speed up how long it takes per line?
richto is offline   Reply With Quote
Old 10-08-2005, 07:21 AM   #13
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

nb - I found an !imdb script to add.

Any help with finding an !google, or could you release yours from the old ioB as a seperate .tcl ?
richto is offline   Reply With Quote
Old 10-08-2005, 12:21 PM   #14
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

egghelp.org has several scripts available to search google from irc.
http://www.egghelp.org/tcl.htm
Harm is offline   Reply With Quote
Old 10-08-2005, 12:39 PM   #15
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

Yeah - found one. Cant find a working download for Bountys !imdb script though :-[
richto is offline   Reply With Quote
Reply

Tags
affils, announce, broken, halfway, requests

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:04 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)