Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 11-29-2003, 04:10 PM   #46
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Two small questions...

In the racestats message:

Code:
226-.---------------------------------------------------------------------------.
226-|                                Race Stats                                 |
226-|---------------------------------------------------------------------------|
226-|   -- Users --                    |       |         |             |        |
226-| #01 someguy        @ SiteOps     | 009 F |  119 MB |  10252 KB/s |  62.5% | 
226-| #02 neoxed         @ SiteOps     | 005 F |   72 MB |   9444 KB/s |  37.5% | 
226-|---------------------------------------------------------------------------|
226-|   -- Groups --                   |       |         |             |        |
226-| #01 SiteOps                      | 014 F |  191 MB |   9933 KB/s | 100.0% |
226-|---------------------------------------------------------------------------|
226-|                           Totals | 014 F |  191 MB |    235 KB/s | 100.0% |
226-|---------------------------------------------------------------------------|
226-| Race Duration:   13 mins 48 secs  | Race Completion: 014 of 014 F = 100%  |
226-| Dir Creation:  03-11-29 13:46:36  | Last Dir Update: 03-11-29 14:00:24    |
226-'---------------------------------------------------------------------------'
Why is Total speed so much lower, wouldn't it just be an average between the racers?

And secondly, for the STATS announce...

STATS: "/Apps/Some.Release-Blah" "GroupsStats:"
STATS: "/Apps/Some.Release-Blah" "UsersStats:"

Could you the ability to customize the GroupStats and UsersStats part in a message file

stats.msg
userstats=UserTop:
groupstats=GroupTop:

Since I would like to change it from GroupStats to GroupTop etc..

neoxed is offline  
Old 11-29-2003, 07:28 PM   #47
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

As you can see, in this case, race duration is '13 mins 48 secs'. This is calculated using the difference between current time (on release complete) and dir creation time.
Then, total speed is calculated using the size of the whole release divided by this time.

(191 * 1024) / (13*60 + 48) = 235 kB/s

Users speeds are calculated using their upload speeds stored in the .ioFTPD.banana file.

Thus, when the dir is created a long time before the files are uploaded, you have such racestats.

PS: 'UserStats:' and 'GroupStats:' messages are hardcoded.
Harm is offline  
Old 11-29-2003, 07:41 PM   #48
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Ah alright, that makes sense.

Quote:
Originally posted by Harm
PS: 'UserStats:' and 'GroupStats:' messages are hardcoded.
Yah, thats why I asking if there could be an option in an upcoming version to change them.
neoxed is offline  
Old 12-10-2003, 05:08 AM   #49
Jog
Member
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 83
Default

ioB v19

banned_dir=.*100%*

doesn't allow this dir:

100.abc.def.ghi.etc.etc.etc.xyz-ABC

why?

regexpr?
Jog is offline  
Old 12-10-2003, 05:50 AM   #50
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

In your case, the correct regular expression is:
Code:
banned_dir=.*100%.*
PS: you might want to edit your post to remove the release name.
Harm is offline  
Old 12-10-2003, 06:11 AM   #51
Jog
Member
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 83
Default

Quote:
Originally posted by Harm
In your case, the correct regular expression is:
Code:
banned_dir=.*100%.*
Thx a lot .. it works good!
i hate regexpr .. they are very powerful but so undermining for me !!
Jog is offline  
Old 12-11-2003, 05:45 AM   #52
wrycat_2
Member
 
Join Date: Feb 2003
Posts: 60
Default 2 questions about announcements

hi, i have two questions about chanannounce.

Using ioFTPD 5.3.9r, ioBanana v.19, ioA v.8.1

1. Is it possible to send a single announce , for instance the "complete" announce, to a second channel?

2. i have set the extract_nfo_zip= option to 1. But the unzipped NFOs are not announced in chan. The NFO announce is only working for seperately uploaded NFOs. Is this a misconfiguration in my setup, or does ioBanana not announce the extracted NFOs?
wrycat_2 is offline  
Old 12-11-2003, 11:35 AM   #53
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

wrycat:
1. Unless you know tcl, you can't send only one type of announce to another channel.

2. At the moment, you can only announce urls from zipped nfos.
Harm is offline  
Old 12-11-2003, 12:01 PM   #54
wrycat_2
Member
 
Join Date: Feb 2003
Posts: 60
Default

Quote:
Originally posted by Harm
wrycat:
1. Unless you know tcl, you can't send only one type of announce to another channel.

2. At the moment, you can only announce urls from zipped nfos.
to 1: Ok i expected this. Maybe someone is able to write a hack for ioBanana to make this possible? Or i will have to do it myself

to 2. I'm wondering if it would be that hard to announce the zipped NFO if you alredy can read the Link inside this NFO. Would be great if you could add support for zipped NFOs in future release.

Thanks for answering.
wrycat_2 is offline  
Old 12-15-2003, 08:12 PM   #55
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

I got this on irc when i wipe something:
<BotNick> -XXXX- [Appz-US] - Admin@2 wiped %path/%release MB (18 files, 250 dirs)

The numbers are not at the good place (i think only 18 is ath the good place.

Here's the wipe announce of my skin used in iobanana:
Code:
"-$ioss(sitename)- \[%section\] - [b]%user[b]@%group wiped %pwd/[b]%wiped[b] %size MB ([b]%files[b] files, [b]%dirs[b] dirs)"
Can someone tell me what's wrong. I'm using ioA WIPE command. With ioBanana included WIPE command, it makes me Operation successful and does nothing.
Config: ioFTPD 5.3.9r + ioA1.0.2 + ioBanana v19 (registered)

Thanx
Mr_X is offline  
Old 12-15-2003, 09:12 PM   #56
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Quote:
Originally posted by Mr_X
I got this on irc when i wipe something:
<BotNick> -XXXX- [Appz-US] - Admin@2 wiped %path/%release MB (18 files, 250 dirs)

The numbers are not at the good place (i think only 18 is ath the good place.
U need the right ioA log lines in ioA.cfg (see upper in this thread for ioA 1.x lines)
Mouton is offline  
Old 12-26-2003, 12:25 PM   #57
beast00
Junior Member
 
Join Date: Aug 2003
Posts: 16
Default

i use ioFTPD5.3.9u + iobanana19 + ioA104

when i use this trigger in the site.chnnel. bot says under..

------------------------------------------------
<@beast00> !free all
<@bot> [FREE SPACE]
<@bot> Total : 0.00mb/1200.00gb
<@beast00> !free DVD-R
---------> not reply from bot...
------------------------------------------------
in the skin.
------------------------------------------------
set ioss(t_free_header) "\[FREE SPACE\]" ;# No cookie available
set ioss(t_free_body) "%areas has [b]%freespace[b] free" ;# Available cookies: %ares %freespace
set ioss(t_free_footer) "Total : %totalfree/%totalspace" ;# Available cookies: %totalfree %totalspace
# For !free <section>
set ioss(t_free_area) "\[%area\] + has [b]%freespace[b] free" ;# Available cookies: %area %freespace
set ioss(t_free_area_invalid) "\[%area\] - not a valid section" ;# Available cookies: %area
------------------------------------------------

on partyline, bot doesn't tell me anything.

how do i do to solve it?

help.me. thx. evey1.

happy new year~!
beast00 is offline  
Old 12-26-2003, 02:56 PM   #58
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

u need to create free.msg in text/ftp
rAWfOX is offline  
Old 12-26-2003, 03:04 PM   #59
beast00
Junior Member
 
Join Date: Aug 2003
Posts: 16
Default

Quote:
Originally posted by rAWfOX
u need to create free.msg in text/ftp
i already make free.msg.

like this.
[Free: %.[free($path)(mega)]MB]-[sitename]

but don't working.

anyway thank u.
beast00 is offline  
Old 12-26-2003, 04:07 PM   #60
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

You need the SITE FREE ftp command too.
If you haven't created it yet, open the readme, there are explanations there.
Harm is offline  
Closed Thread

Tags
ftp, result, reveals, search, status

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
FlashFXP 3 upgrade and FlashFXP.ini palmtree General Discussion 11 11-10-2004 04:57 PM


All times are GMT -5. The time now is 11:12 AM.

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