Block download /search for low sharders /hubs /slots Changed added timeban ect
 

Block download /search for low sharders /hubs /slots Changed added timeban ect

Started by -RICK-, 04 May, 2006, 15:27:01

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

-RICK-

Changed pm part (small bug)

-- TEST SCRIPT ( i know it has to be recoded but this is still a testscript)

-- Zoeken blocken/downloaden onder ** gig of slot/hubsetting // ?block search and downloading when share is under ** GB or hub slots setting
-- Aangevraagd door DaChuck ?// On request by DaChuck
-- -04-04-2006 ? -RICK- 2006
-- Lua 5.0
-- Het script heeft 1 minuut nodig om actief te worden // --script needs 1 minute to get fully active

-RICK-

hehhe yeah otherwise i get compliains :PPPPPPPPP

eyklidis

Hi Rick

I am getting 2 strange errors? :(
1st i log on the hub with zion client 2.02 and i get 2 messages straight away
[12:15:53] *** You are not allowed to download in this hub share 20 GB atleast and Max 10 hubs or 10 Slots to get this function
[12:15:54] *** You are not allowed to download in this hub share 20 GB atleast and Max 10 hubs or 10 Slots to get this function

2nd i search for marley for example with client dc++ 0.674 and getting this
[12:19] <PtokaX> Sorry minimal allowed search length is 1.
[12:19] Syntax ...φάνεια εργασίας\0.3.4.0.dbg\scripts\shavesharev5.lua:73: bad argument #1 to `lower' (string expected, got nil)
Please give me a help or come from here voor lekker koffie drinken? :)
Thanks in advance oOO and i use ptokax 0.3.4.0 dbg :P

-RICK-

the error is solved

and zion is sending unknown data ( i blocked that also) it saves data

you can try to disabel that mark line
174

UnknownArrival = function (user, data)
    if BlockProfiles[user.iProfile][1] == 1 and ((user.iShareSize <= (Minshare*1024*1024*1024)) or (user.iSlots > MaxSlots) or (user.iHubs > MaxHubs)) and Block[user.sName] ~= nil  then
--        user:SendData(msgb)         << this line
        return 1
    end
end



eyklidis

Hi Rick

Sorry for being stupid and late but i was testing it without uncheking the option inside zion client  Send $UserIP for all users :o

The script is working fine and thanks for your fast reply  ;)

SMF spam blocked by CleanTalk