PDA

View Full Version : [Filled] Lower LEECHER speeds during races


darko
06-21-2004, 12:12 PM
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?

McM
06-21-2004, 12:18 PM
That would be a k00l script... :banana:

neoxed
06-21-2004, 12:19 PM
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.

darko
06-21-2004, 02:22 PM
or it could monitor sitechan :)

but zs is nicer i guess.. something for harm ? :D

EwarWoo
06-29-2004, 07:25 PM
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........

neoxed
06-29-2004, 08:54 PM
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.

EwarWoo
06-30-2004, 02:44 PM
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?

Harm
07-11-2004, 02:32 AM
Added to ioBanana. It has been confirmed to work since pre5.