Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > Harm's scripts

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread
Old 07-08-2006, 03:28 AM   #1
Senior Member
ioFTPD Foundation User
 
LordM's Avatar
 
Join Date: Jul 2005
Location: Germany
Posts: 138
Default Problem with %speed var in halfway announce

I got a little problem with the announce of speed in halfway announce.
The speed isn't shown correctly.

Maybe I added the var the wrong way. I added it into the tcl and skin file like this:

ioBanana.tcl:
Code:
set variables(HALFWAY) "%pwd %release %user %files %size %percent %group %gfiles %gsize %gpercent %speed"

ioB2.skin:
Code:
set announce(HALFWAY) "[b]%section[b] - \[[b][c]%colourHALFWAY[c][b]\] [b]%release[b] is halfway. [b]%user[b] is leading the race at [b]%speed[b]kBps."

Maybe someone can tell me, what I did wrong.

THX in advance!

LordM
LordM is offline   Reply With Quote
Old 08-26-2006, 03:24 AM   #2
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

Perhaps you need it to be logged too...

As far as I can remember, average speed isn't computed on halfway.
Harm is offline   Reply With Quote
Old 08-26-2006, 06:27 PM   #3
Senior Member
ioFTPD Foundation User
 
LordM's Avatar
 
Join Date: Jul 2005
Location: Germany
Posts: 138
Default

No, I wanted to put it there. How do I get it logged?
__________________
I'm using:

ioFTPD 7.7.2
ioNiNJA BETA Stable v0.8.9.6
LordM is offline   Reply With Quote
Old 08-29-2006, 03:15 AM   #4
Junior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 21
Default

Quote:
Originally Posted by Harm
As far as I can remember, average speed isn't computed on halfway.
I remember the same
I tried to add %speed at [halfway] too but %speed is not computed.

@ LordM: You have to change the TCL and the ioFTPd.log i think
Elladan is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 05:27 AM.