Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-02-2004, 01:37 PM   #1
rage2001
Junior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 20
Default iobanana and free space cmd

I noticed in the partyline that about every 20-25 seconds the bot checks for free space... I was wondering if there was a way that we could change this to that it checks say every 600 seconds or something like that... I found the section in the code where it is.. it is in the following method:

proc ftp_ctrl {}

But I am unsure of what to change. To tell you the truth, I don't even need the bot checking for free space, since the site is only used for nfo files.... nothing else... So if you can tell me how to change the time between checks... or to get rid of it all together, it would be awesome... I am using v20rc1 of iob.

Thanks
rage
rage2001 is offline   Reply With Quote
Old 06-02-2004, 01:51 PM   #2
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

find the timer event thats calls that proc
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 06-02-2004, 02:14 PM   #3
rage2001
Junior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 20
Default

yeah I notice it in another method called:

proc backupdate {} {
global ioBvar
incr ioBvar(idlestamp)
ftp_ctrl
set curtimers [utimers]
if {![regexp "backupdate" $curtimers]} {
utimer 30 backupdate
}
}

I am assuming ftp_ctrl does more then just checks space.. .so i dont think I can delete it from there can i?
rage2001 is offline   Reply With Quote
Old 06-02-2004, 03:16 PM   #4
rage2001
Junior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 20
Default

I guess I got it done now... I deleted the ftp_ctrl out of the last proc I posted. Seems to be working so far, with no other problems so far...

Thanks for the hint tuff!
rage2001 is offline   Reply With Quote
Old 06-03-2004, 03:03 AM   #5
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

If you want your sitebot to timeout all the time ...
Harm is offline   Reply With Quote
Old 06-03-2004, 12:52 PM   #6
rage2001
Junior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 20
Default

Really. I havent had it on long enough to notice it timeout yet... well Harm.. is there anyway I can do what I want to do? Even if I could change it from every 30 seconds or so to another time limit?

By saying that the bot would timeout all the time, would you mean that the site free command is preventing the bot from timing out by doing that command? os is there something elsein the ftp_ctrl proc?

rage
rage2001 is offline   Reply With Quote
Old 06-04-2004, 12:58 AM   #7
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

There's something else in the ftp_ctrl proc.
This part of ioBanana.tcl isn't only checking free space but sends SITE NOOP every 90seconds as well (and a few other things).
Harm is offline   Reply With Quote
Reply

Tags
bot, change, checks, free, space

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 04:39 AM.

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