Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 12-17-2003, 08:25 PM   #46
rocafella
Junior Member
 
Join Date: Oct 2003
Posts: 7
Default

Any plans to optimize ioBanana? Of all current zipscripts for ioFTPD, I find ioBanana to be the most resource consuming script...I had to remove it from my faster sites and ioBanana lagged far to much during ~120mbit races.

Its a good script, just needs some major optimizations to speed things up.
rocafella is offline  
Old 12-19-2003, 03:55 AM   #47
Jog
Member
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 83
Default

autovoice TOP10 ... it works only on the announcechannel .. the primary one but not on the section channels.
does it'll be implemented?

does it can be disabled?

v19 rocks!
Jog is offline  
Old 12-19-2003, 06:53 AM   #48
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Jog: that's an idea

rocafella: can you be a little bit more precise.
Harm is offline  
Old 12-19-2003, 11:19 AM   #49
Jog
Member
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 83
Default

Quote:
Originally posted by Harm
Jog: that's an idea
ok .. so on a ring i had to disable it by hands and on an other one i had to set to autovoice on all channel ...

when i made the changes i'll give it to you so u can implent on next version of ioB
Jog is offline  
Old 12-25-2003, 01:23 AM   #50
rocafella
Junior Member
 
Join Date: Oct 2003
Posts: 7
Default

Quote:
Originally posted by Harm
rocafella: can you be a little bit more precise.
Quote:
Originally posted by rocafella
Any plans to optimize ioBanana? Of all current zipscripts for ioFTPD, I find ioBanana to be the most resource consuming script...I had to remove it from my faster sites and ioBanana lagged far to much during ~120mbit races.
well...simply put; iobanana is slow and uses a lot more resources then current zipscripts...just wondering if theres any plans to optimize it, always new features added but not much to boost its speed.
rocafella is offline  
Old 12-25-2003, 03:26 AM   #51
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

rocafella: You're only using other words to say the same thing.
"Hey! It's slow here..." What do you thing I can do with that ?

Stop criticizing and say something usefull.
What cpu do you have ? How much memory ? ...
You could even do some comparison with other zipscripts on the same computer.


Everyone: Merry Xmas. :banana:
Harm is offline  
Old 12-29-2003, 03:57 AM   #52
rocafella
Junior Member
 
Join Date: Oct 2003
Posts: 7
Default

Quote:
Originally posted by Harm
rocafella: You're only using other words to say the same thing.
"Hey! It's slow here..." What do you thing I can do with that ?

Stop criticizing and say something usefull.
What cpu do you have ? How much memory ? ...
You could even do some comparison with other zipscripts on the same computer.:
I'm not critizing, I was just wondering if any optimizations could be done to speed up ioBanana.

And yes, I have compared ioB to other zipscripts, ioZS and php_psio, both are faster and less cpu consuming...I really like ioBanana; that is why I was hoping there could be a few speed improvements...
rocafella is offline  
Old 12-29-2003, 10:12 AM   #53
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

It's slower because it does about 10,000 more things than all other zipscripts. The more features u have, the slower it will be. If you want a faster zipscript, you'll need to settle for one that doesn't include a dupecheck, check for .nfo and imdb, etc.

You should disable the compute stats on each file option too. I warned ppl that this would be cpu consuming.
Mouton is offline  
Old 01-18-2004, 01:08 PM   #54
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Just FYI, here's how the bitrate is fetched in ioB, for cbr and vbr MP3.

Code:
int CMP3Info::getBitrate() {

    if (VBitRate) {

        // get average frame size by deviding fileSize by the number of frames
        float medFrameSize = (float)fileSize / (float)getNumberOfFrames();
        
        /* Now using the formula for FrameSizes which looks different,
           depending on which mpeg version we're using, for mpeg v1:
        
           FrameSize = 12 * BitRate / SampleRate + Padding (if there is padding)

           for mpeg v2 the same thing is:

           FrameSize = 144 * BitRate / SampleRate + Padding (if there is padding)

           remember that bitrate is in kbps and sample rate in Hz, so we need to
           multiply our BitRate with 1000.

           For our purpose, just getting the average frame size, will make the
           padding obsolete, so our formula looks like:

           FrameSize = (mpeg1?12:144) * 1000 * BitRate / SampleRate;
        */

        return (int)( 
                     ( medFrameSize * (float)header.getFrequency() ) / 
                     ( 1000.0 * ( (header.getLayerIndex()==3) ? 12.0 : 144.0))
                    );

    }
    else return header.getBitrate();

}
Mouton is offline  
Old 01-29-2004, 10:51 AM   #55
Razor
Member
 
Join Date: Mar 2003
Posts: 75
Default ioB, option to disable complete/halfway announc

is there any way i can disable these for a specified section?
Razor is offline  
Old 01-29-2004, 10:52 AM   #56
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

You can disable those announces for all sections but not for a specific section.
Harm is offline  
Old 01-30-2004, 07:23 AM   #57
Razor
Member
 
Join Date: Mar 2003
Posts: 75
Default

yeh i know..

will that option come? or not.. is possible with project-zs...
Razor is offline  
Old 02-10-2004, 12:54 AM   #58
icefuzion
Member
ioFTPD Foundation User
 
Join Date: Jan 2002
Posts: 37
Default

Yeah this is a feature that would be cool to have...


Disable Complete/Halfway for specific Sections. Since right now you can only disable newdir per section.
icefuzion is offline  
Old 07-02-2004, 04:29 AM   #59
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

Quote:
# Groups excluded from monthly quota
Is possible to have also
Code:
# Users excluded from monthly quota
-That would be nice because certain fillers I would not want to have quota enforced on. Thx.
PopWeasel is offline  
Old 07-03-2004, 10:35 PM   #60
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

Nevermind, you can disregard that if you want; I figured out a different way to do what I wanted.
PopWeasel is offline  
Closed Thread

Tags
commands, irc, pretime, site, upload

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 06:10 PM.

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