Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-21-2004, 12:12 PM   #1
darko
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2004
Posts: 74
Default [Filled] Lower LEECHER speeds during races

i have a HD (half duplex) site so i dont want leechers eating up all bw during races.

i'd like a script that:

- notices when races start (with sections if possible so for ex.: only divx/dvdr/games)
- sets speed for =LEECHERS to 100kbps (temp)
- notices when race is done
- sets speed back to original setting

this would be VERY cool.
im afaid i'm not skilled to code it myself tho ;/
maybe somebody else?
darko is offline   Reply With Quote
Old 06-21-2004, 12:18 PM   #2
McM
Junior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 3
Default

That would be a k00l script... :banana:
McM is offline   Reply With Quote
Old 06-21-2004, 12:19 PM   #3
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

How would the script know when a race starts? This would be zipscript dependent, since only the zipscript knows when the race starts. I think a simple "!change =LeechersGroup SPEEDLIMIT xxx" may work..but it would have to be added to the zipscript.
neoxed is offline   Reply With Quote
Old 06-21-2004, 02:22 PM   #4
darko
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2004
Posts: 74
Default

or it could monitor sitechan

but zs is nicer i guess.. something for harm ?
darko is offline   Reply With Quote
Old 06-29-2004, 07:25 PM   #5
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

Do changes take effect immediately or after next login aka gl with speed limit? I think its after login which makes it more of an issue.
Script would have to limit speed, kick 'em off site, end of race remove limit and kick 'em off site again.
Otherwise would just affect them next time they login........
EwarWoo is offline   Reply With Quote
Old 06-29-2004, 08:54 PM   #6
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally posted by EwarWoo
Do changes take effect immediately or after next login aka gl with speed limit? I think its after login which makes it more of an issue.
Rehash works as well, and you can rehash ioFTPD from SHmem.
neoxed is offline   Reply With Quote
Old 06-30-2004, 02:44 PM   #7
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

Quote:
Originally posted by NeoXed
Rehash works as well, and you can rehash ioFTPD from SHmem.
Yeah, but are you talking global speed limit rather than per user speed limits?
EwarWoo is offline   Reply With Quote
Old 07-11-2004, 02:32 AM   #8
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Added to ioBanana. It has been confirmed to work since pre5.
Harm is offline   Reply With Quote
Reply

Tags
back, notices, races, sets, speed

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 09:08 AM.

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