same share for xx time check script
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

same share for xx time check script

Started by LoTeK_, 18 September, 2005, 20:11:47

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LoTeK_

Hi, I would like to check with a script if an user keep its share always as it is (in bytes) for some time and then warn ops in opchat.
The script should be able to do the following:

- Set max share for checked users to check all user below xxgb to 1b.
- Check only selected profiles.
- Set how much time time a share can be the same before warning opchat.

Is this possible?
If yes, can be eventually used with a client like dcdm?
Thanks.

LoTeK_

Great, but some of these functions are already covered by other scripts I'm using, could you make it a little bit simple?
Can be modified to send a message to opchat only?
(timeban/kick function removed)

Ex:

--Set your profiles here
--[profileidx#] = {s,y,z}
--
--Where:
-- s = (0=check share / 1=bypass check')
-- y = Max days a user may have the same share?
-- z = Max share for the check to be applied

z: all user with at least xxgb share will not be checked by this script.
Thanks.

imby

don't get these scripts, my share doesn't change often. yet my ratio is 40 odd.

LoTeK_

#3
QuoteOriginally posted by imby
don't get these scripts, my share doesn't change often. yet my ratio is 40 odd.

That's the main reason (but not the only) why I have requested only a message to opchat instead of a timeban, and requested a maxshare for the check, because I will check only for users with less than 5gb or 2gb that enter the hub to download from others and will not share what they download, or they use junk share to reach 1gb (my minshare) and then donwload.

LoTeK_

Another reason why I've asked to remove kick/timeban function is because I want the user not to be aware of this, a simple warn will be sent in opchat, user will not know anything.
So I've asked to remove kick/ban function (and other functions concerning pm to user) beacause at this point will be only a waste of resources.
Sorry, I've not understood well your point but if you don't want to mod this script anymore, no problem, just tell me.

LoTeK_

#5
QuoteOriginally posted by Mutor
...offered as a convenience for those users already warned, yet still out of limits. In fact a 20 min timeban isnt very hardcore, should you DECIDE to use it.

I will post a watered down version. This was a mod of an existing script, and is far more than asked for.

Sorry I'm not an english master, so maybe I misunderstood something, what do you mean with the last line?
Thanks for the script, now it's perfect for me :P

SMF spam blocked by CleanTalk