Shoutbox

[Request] Block someone if login too many times for X period of time - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request] Block someone if login too many times for X period of time (/showthread.php?tid=66393)

[Request] Block someone if login too many times for X period of time by MicroWay on 09-18-2006 at 01:14 AM

Hello people,

I have some contacts that keep login and falling down many times... I think that is not a joke: it's only because the very "good" conection... And the person don't stop trying to login. The worst thing is that WLM tost me that the person login and than, just after the firs toast, MLP! tosts me that the same person logout...

So, I am requesting if it's possible to make a simple script that block the contact if he keeps on login X times in, for example, 30 seconds for a Y period of time (this time can be in minutes)... Can someone make it for me, please (I don't know scripting)??? The script don't need to be especific for a user, don't need to adivise the user to stop and is not needed to add a Menu on Plus! icon.

Thanks


RE: [Request] Block someone if login too many times for X period of time by CookieRevised on 09-18-2006 at 01:18 AM

this can be made relativly easly....

My nudge flood protection script should only be modified a little bit (instead of grabbing the nudges, trigger when a contact logs in) and you have what you want... I see if I can do it tomorrow...

EDIT: see my next post below...


RE: RE: [Request] Block someone if login too many times for X period of time by MicroWay on 09-18-2006 at 01:30 AM

quote:
Originally posted by CookieRevised
this can be made relativly easly....

My nudge flood protection script should only be modified a little bit (instead of grabbing the nudges, trigger when a contact logs in) and you have what you want... I see if I can do it tomorrow...


Thank's for your very, extremely fast reply :)
I downloaded you script too (it will be very useful too) and :$ checked the script :) -> I get a "little" confused...
So i'll be waiting for you to make it tomorrow (if you can, as it said).

Thanks again (Y)
RE: [Request] Block someone if login too many times for X period of time by cloudhunter on 09-18-2006 at 01:37 AM

BigBob85 has already got a beta script out that does this :) let me try and track it down for you.

Cloudy

Edit: http://insaneparadox.com/bigbob85/wlm/msgplus/scripts/ATS.plsc

:)


RE: [Request] Block someone if login too many times for X period of time by CookieRevised on 09-18-2006 at 02:05 AM

quote:
Originally posted by cloudhunter
BigBob85 has already got a beta script out that does this :) let me try and track it down for you.

Cloudy

Edit: http://insaneparadox.com/bigbob85/wlm/msgplus/scripts/ATS.plsc

:)
Sorry to say but that does not work as it should:
  • major fault: when another contact signs in than the one being 'monitored', the script will not trigger when the monitored one floods you
  • fault: will block contacts from another messenger user when he/she signs in before the timer has triggered (when contact appears on both user's contactlist).
  • fault: will produce an error when blocking contacts when another user sign in before the timer has triggered (when contact does not appear on second user's contactlist).
  • fault: will produce an error when contact is deleted from list before the timer has triggerd.
  • it can't unblock the contact after a time.



----------------------------------------

Instead, see attached Signin Flood Protection script.
(and also the comments in the script itself).

to alter the flood protection you need to edit four variables in the script:
code:
var floodCount = 3;     // max amount of signins allowed in the time period
var floodTime = 30000;  // period for floodchecking, in milliseconds
var blockTime = 60000;  // period the contact is being blocked, in milliseconds
                        // (-1 = indefinitely time, aka: contacts will not be unblocked automatically)
var blockMessage = true // true = contact will be notified that he is being blocked
                        // false = contact will not be notified


RE: [Request] Block someone if login too many times for X period of time by cloudhunter on 09-18-2006 at 03:42 AM

LOL. Well I should have checked the script out first :P


RE: [Request] Block someone if login too many times for X period of time by MicroWay on 09-18-2006 at 01:14 PM

:D Thanks CookieRevised and Cloudhunter for your help and the script!!!
Now I'm bad (6):P
hehe
:)


(Cool -> Junior Member!!!)


RE: [Request] Block someone if login too many times for X period of time by Nucks on 09-19-2006 at 02:21 AM

Would these work for the plus personalized login toasts?


RE: [Request] Block someone if login too many times for X period of time by cloudhunter on 09-19-2006 at 02:27 AM

quote:
Originally posted by Nucks
Would these work for the plus personalized login toasts?

Yes :) As the script doesn't actually detect the toasts, it detects them signing off and on.

Use cookies script, its better.

Cloudy