SassIRC Flood Protection Module V 1.7
mIRC Code
+ 4 likes
Please Register to submit score.
| Average Score | 7.5 (of 4 scores) |
| Date Added | Jan 24, 2009 |
| Last Updated | Feb 24, 2009 |
| Tags | action advanced flood flyby join notice part protect sassirc text |
Introduction
Flood Types:
| Quote: |
Join Protections: on join/part flood protection (# JoinsParts/In # Seconds) on join flood protection (# Joins/In # Seconds) on part/quit (part/quit message over # characters) Text, Action And Notice Protections: Well ill start off by saying this script will protect against channel and private floods, and you can have different settings for each. It will protect against "Mass messages (# Messages/In # Seconds)" and "Long Messages (# Messages/Bigger Than #/In # Seconds)". |
Channel Lockdown:
The channel lockdown system is made so every channel, can "lockdown" for different time periods and have different modes set on their channel for the "lockdown".( if your not too familiar with channel modes there is a "help" button which explains some channel modes briefly. )
Channel lockdown is done in 5 stages, ill show you a channel "Mass message flood" lockdown.
| Quote: |
[02:10] <~The_Infected> ***** Flood detected, 10 channel messages in 3 seconds. The channel has now gone into lockdown mode for a total of 5 minute(s). Triggered By Rage_Virus. [02:11] * The_Infected sets mode: +iRSK [02:11] * Rage_Virus was kicked by The_Infected (Flooder) [02:13] * The_Infected sets mode: -iSK [02:15] * The_Infected sets mode: -RC [02:16] <~The_Infected> ***** Channel lockdown over. |
These are the channels flood settings that were used in the above example, for a "Mass message flood".
| Quote: |
Number of messages: 10 In seconds: 3 Extra modes needed for lockdown: Lockdown for: 5 minutes Phaze 1: iSK Phaze 2: RC |
These are the five stages of a channel lockdown:
| Quote: |
1: The channel is messaged with what "type" of flood was detected, how long the channel will be in lockdown for, and the nick who triggered the "lockdown". 2: Then "Phaze 1" and "Phaze 2" modes are both set on the channel. 3: The flooder is kicked or kick/banned from the channel with the message, "Flooder" 4: After half of the channels "Lockdown time" Phaze 1 modes are unset 5: After the full lockdown time Phaze 2 modes are unset , and the channel is messaged "***** Channel lockdown over." |
If you do choose to use the kick/ban option, the ban will last for a time you specify.
and as Cheiron pointed out, if you are attacked by a botnet, this could fill your ban list FAST.
i would also like to thank Cheiron for his support/suggestions with this script, it would not have gotten this far without him testing it.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Jan 28, 2009 12:11 pm
Posted on Jan 28, 2009 12:11 pm
ok.. having successfully worked on this with PunkTuReD over the last week to perfect it, i loaded this up onto a fresh brand new mirc v6.35 and set it all up. shunted the script in 4 channels of numbers ranging from 65 - 15 users and set it all up. lots of joins/parts etc happening all over the place, but the script kept its cool. peer resets did upset it a few times but that was to be expected as internet connections of users are not always 100% and i did get a couple of triggers but a simply edit of the number of join/parts in x seconds cured that right away. the user channel modes where found by clicking the help button and i was able to move the help box over to one side so i could still set the options on the main window. good clear explainations as to the channel modes as to what they were and what they did so that was a major bonus.
in actual operation though, i will say now, this script is HEAVY on your pc ram and processor due to what it is being asked to do. i could not get flooded off the channel or off the server for that matter lol.. we did try but the personal protection is fearsome on this script setting ignore on the user responsible on every single communication setting (pcdntk) so you are totally immune from any attack from that user. the ignore i noted was timed also which was a major bonus.
awesome script, worked really really well.. not many issues. job very well done.for me... this is a full 10/10
in actual operation though, i will say now, this script is HEAVY on your pc ram and processor due to what it is being asked to do. i could not get flooded off the channel or off the server for that matter lol.. we did try but the personal protection is fearsome on this script setting ignore on the user responsible on every single communication setting (pcdntk) so you are totally immune from any attack from that user. the ignore i noted was timed also which was a major bonus.
awesome script, worked really really well.. not many issues. job very well done.for me... this is a full 10/10
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Jan 28, 2009 7:06 pm
Posted on Jan 28, 2009 7:06 pm
BTW
There is no "on/off" options for the floods because:
If you dont want to use one of the floods, just leave the edit box blank.
:-)
There is no "on/off" options for the floods because:
If you dont want to use one of the floods, just leave the edit box blank.
:-)
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Jan 29, 2009 2:07 am
Posted on Jan 29, 2009 2:07 am
10/10 Great Work!
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 1:53 am
Posted on Feb 2, 2009 1:53 am
thank you for posting such a code. it looks great but the only thing i want to ask about how come it +kb. I need the script to kick and ban too, can anyone help me? I join on Dalnet servers if this may help.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 2:53 am
Posted on Feb 2, 2009 2:53 am
well itmgt it doesnt have the option to ban, but i will be another release with the option to either
kick/ban
or
kick
kick/ban
or
kick
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 6:33 am
Posted on Feb 2, 2009 6:33 am
PunkTuReD .. you will have a problem there with the kickban option..
chanserv ban list holds 60 names maximum *if* it has been set up generously. chanserv Akick list only holds 20 names maximum. you get a mass attack and bye bye chanserv ban list all on the single attack. and if you have a large ban list there also to begin with, it gonna cause allsorts of issues
chanserv ban list holds 60 names maximum *if* it has been set up generously. chanserv Akick list only holds 20 names maximum. you get a mass attack and bye bye chanserv ban list all on the single attack. and if you have a large ban list there also to begin with, it gonna cause allsorts of issues
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 12:31 pm
Posted on Feb 2, 2009 12:31 pm
they will be 15 minute bans, removed automatically
ban -u900 $chan $nick | kick $chan $nick
ban -u900 $chan $nick | kick $chan $nick
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 12:36 pm
Posted on Feb 2, 2009 12:36 pm
still gonna have an issue with a mass bot attack where you usually get a 20+ attack at once all on proxies.
IF.... IF... you were going to do this.. add it as a switched dialogue option timed ban on/off.
that way you can select/deselect its use
IF.... IF... you were going to do this.. add it as a switched dialogue option timed ban on/off.
that way you can select/deselect its use
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 12:44 pm
Posted on Feb 2, 2009 12:44 pm
yea im throwin it in as a menu option in the dialog for now,
Action to take on Flooder
Kick
Kick/Ban
i do see your point tho, but it would be a nice option to have
Action to take on Flooder
Kick
Kick/Ban
i do see your point tho, but it would be a nice option to have
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 12:51 pm
Posted on Feb 2, 2009 12:51 pm
under ideal situations yes
but the fundamentals behind this script is a flood attack from a botnet more than a single n00b out to be a dwee-o-maxi-noob in channel.
yes it can be added too but with extreme caution as you then start to over complicate an already complex script and then add issues to the smoothness of its running :)
the dialogue option for the on/off though is a good comprimise
but the fundamentals behind this script is a flood attack from a botnet more than a single n00b out to be a dwee-o-maxi-noob in channel.
yes it can be added too but with extreme caution as you then start to over complicate an already complex script and then add issues to the smoothness of its running :)
the dialogue option for the on/off though is a good comprimise
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 1:43 pm
Posted on Feb 2, 2009 1:43 pm
ok added the option for kick/ban
it lasts 15 minutes
and each channel can have a different setting
kick
or
kick/ban
it lasts 15 minutes
and each channel can have a different setting
kick
or
kick/ban
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 2:04 pm
Posted on Feb 2, 2009 2:04 pm
it took me a good while to find the option for the kick / kickban as i was expecting to find it on the actual dialogue itself. what i discovered after a while was that on the top of the dialogue is a menu marked options... if you click on that, it will show you either kick ... or kick/ban as the option. having set it i tested it with settings in place and sure to its word off it goes as said :)
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 2:06 pm
Posted on Feb 2, 2009 2:06 pm
yea ill work it into the dialog, just nt sure where yet lol
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 2:21 pm
Posted on Feb 2, 2009 2:21 pm
underneath the add channel section. the Protected switch there goes from protected to unprotected. you could add another mini dialogue " channel kick / channel kickban " button
that would be ideal i think
that would be ideal i think
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 2:49 pm
Posted on Feb 2, 2009 2:49 pm
ok for now since i was already working on it and didnt see your suggestion
so its on the main dialog
and you can set your own ban time :-)
so its on the main dialog
and you can set your own ban time :-)
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 3:13 pm
Posted on Feb 2, 2009 3:13 pm
that looks alright actually.. only one minor over look... the time box on the kickban should only become active when that option is selected, not the kick. no point having a timed kick heh...
nice touchup should see that looking fine
nice touchup should see that looking fine
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 3:23 pm
Posted on Feb 2, 2009 3:23 pm
all set
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 3:30 pm
Posted on Feb 2, 2009 3:30 pm
thats got it :) nice one
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 2, 2009 7:59 pm
Posted on Feb 2, 2009 7:59 pm
Looks good. I'll try it.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 4, 2009 4:06 am
Posted on Feb 4, 2009 4:06 am
ok.. after seveal weeks of testing this script now, it looks like we got no more issues with bugs etc :)
huge thanks for PunkTuReD for his patience and sleepless nights recoding. there is just the one word of warning still with this script...
as it is Hash table based, this will use an obscene amount of power from the processor and ram to run and may lock your mirc up (mirc not responding message) a good few times in busy channels (i found this on channels with more than 40 in them) as you use it. i would recommend no less than a gig of ram as an absolute minimum (my test lappy has 700meg and by hell did it lock) also processor... ideally dual core (my celeron d 330 on the lappy just could not cut the mustard with 70-90% usuage in heavy channels just on mirc alone)
also.. if you shut down the pc / quit mirc totally and reload, then you will have to re-enter all the values from scratch i noticed. so be warned.
the plus side is that it works extremely fast and well now and to this date i have not been flooded off the server. i took a full 2 min flood attack direct at me whilst in 4 channels (15 - 75 users in each) and had 3 extra mirc's running and i was not flooded off or lost any of the connections
huge thanks for PunkTuReD for his patience and sleepless nights recoding. there is just the one word of warning still with this script...
as it is Hash table based, this will use an obscene amount of power from the processor and ram to run and may lock your mirc up (mirc not responding message) a good few times in busy channels (i found this on channels with more than 40 in them) as you use it. i would recommend no less than a gig of ram as an absolute minimum (my test lappy has 700meg and by hell did it lock) also processor... ideally dual core (my celeron d 330 on the lappy just could not cut the mustard with 70-90% usuage in heavy channels just on mirc alone)
also.. if you shut down the pc / quit mirc totally and reload, then you will have to re-enter all the values from scratch i noticed. so be warned.
the plus side is that it works extremely fast and well now and to this date i have not been flooded off the server. i took a full 2 min flood attack direct at me whilst in 4 channels (15 - 75 users in each) and had 3 extra mirc's running and i was not flooded off or lost any of the connections
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 4, 2009 5:39 am
Posted on Feb 4, 2009 5:39 am
you only have to keep inputting your setting cos you havent updated lol
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 7, 2009 5:10 am
Posted on Feb 7, 2009 5:10 am
Kick/Kick+Ban setting are not save on version 1.6
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 7, 2009 5:14 am
Posted on Feb 7, 2009 5:14 am
mine works fine.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 4:21 am
Posted on Feb 16, 2009 4:21 am
it takes a bit of fidling to get the settings right for the kick / kickban but it does work Mhz. ideally you should be running mirc 6.35 for this script as the older ones will have issues with the coding used.
PunkTuReD and i have been toying with a beta 1.7 version atm that allows selective immunity from triggering to either halfops, ops, or both depending on the settings selected.
it has been a lot of trial and error but the beta 1.7 is looking good and runs well. no errors that i can find and i have tried lol... only issue we have atm is the radio buttons. but with a bit of fiddling this is overcome anyway with the script. the bugfix may or may not be fixable but it is not vital to the script as it will work with some patience. Maybe RusselB if he gets a look at this comment may want to have a look and a ponder over.
otherwise i think the beta 1.7 can be released and the introduction here edited just to show how to set the immunity and the way to do it.
PunkTuReD and i have been toying with a beta 1.7 version atm that allows selective immunity from triggering to either halfops, ops, or both depending on the settings selected.
it has been a lot of trial and error but the beta 1.7 is looking good and runs well. no errors that i can find and i have tried lol... only issue we have atm is the radio buttons. but with a bit of fiddling this is overcome anyway with the script. the bugfix may or may not be fixable but it is not vital to the script as it will work with some patience. Maybe RusselB if he gets a look at this comment may want to have a look and a ponder over.
otherwise i think the beta 1.7 can be released and the introduction here edited just to show how to set the immunity and the way to do it.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 9:09 am
Posted on Feb 16, 2009 9:09 am
nice ^^;
11/10 :P
11/10 :P
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 1:42 pm
Posted on Feb 16, 2009 1:42 pm
well i can rate it 200/10 its perfect
but i need help in one thing i have in my chanel Chanel Server (CS) abd i want mode to be through it like i want to replace /mode $chan +mr to be .msg CS mode #chan +mr
cause i am always idle so if i get flood it give me u r not chanel operator even i have access i bet to chanel mode i must be up @ so can u tell me how to change it
and also it will be tootaly perfect if u added clone kicker on it
but i need help in one thing i have in my chanel Chanel Server (CS) abd i want mode to be through it like i want to replace /mode $chan +mr to be .msg CS mode #chan +mr
cause i am always idle so if i get flood it give me u r not chanel operator even i have access i bet to chanel mode i must be up @ so can u tell me how to change it
and also it will be tootaly perfect if u added clone kicker on it
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 3:05 pm
Posted on Feb 16, 2009 3:05 pm
You would be better off getting project x clone detector as a seperate item for that. As for via channel issue you cannot change modes regardless unless you are Aop or higher
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 4:25 pm
Posted on Feb 16, 2009 4:25 pm
Cheiron i am an op in chanel but i am always idle
we have bot this bot deop any op not active for 15 minutes
so all what i need is to replace /mode #chan +mr and ban -u
to .msg cs mode #chan +mr or .msg cs ban .......
we have bot this bot deop any op not active for 15 minutes
so all what i need is to replace /mode #chan +mr and ban -u
to .msg cs mode #chan +mr or .msg cs ban .......
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 4:35 pm
Posted on Feb 16, 2009 4:35 pm
This script is designed to be run on a bot. Either that or edit the deop feature to halt if nick is you. That is going to be your easiest option.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 4:40 pm
Posted on Feb 16, 2009 4:40 pm
cherion sorry i am not that good on script
can u give me more explain
can u give me more explain
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 6:33 pm
Posted on Feb 16, 2009 6:33 pm
this script here that PunkTuReD and i have been working on has been written to ideally go on a channel bot. it is not something that can be easily altered due to its complexity. as for a deop after a certain amount of time script.. all you need to do is include something like if($nick == $me) {halt} else <restofscripthere> sort of thing so that when the timer expires on your nick it halts.. but on any other op it will continue to run and deop them. but for that.. post your deop script into the forum under mirc snippet requests and ask for an edit to make it ignore you. this is not the place to be talking about that here lol..
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 16, 2009 9:13 pm
Posted on Feb 16, 2009 9:13 pm
Cheiron, can you help me with something. Im noobish at the scripting business =\
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 17, 2009 2:59 am
Posted on Feb 17, 2009 2:59 am
http://www.hawkee.com/phpBB2/viewforum.php?f=9
shunt your question there.. that is where snippet requests are asked
shunt your question there.. that is where snippet requests are asked
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 24, 2009 2:44 am
Posted on Feb 24, 2009 2:44 am
updated to include immunity for Op and HalfOp
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 24, 2009 4:04 am
Posted on Feb 24, 2009 4:04 am
I love this,well done to you two,I was looking for something like this! 10/10.as b otserv can be a pain to get to work.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 24, 2009 4:50 am
Posted on Feb 24, 2009 4:50 am
cheers Warrior1968
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 24, 2009 8:12 am
Posted on Feb 24, 2009 8:12 am
ok.. loaded that update up on the desktop now that i have it back. the check buttons work and show instantly alot better than the radio buttons previously used. nice minor upgrade there PunkTuReD
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 24, 2009 8:42 am
Posted on Feb 24, 2009 8:42 am
cheers m8
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 24, 2009 10:08 pm
Posted on Feb 24, 2009 10:08 pm
edited: i forgot to change the dialog title to 1.7
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 25, 2009 3:09 am
Posted on Feb 25, 2009 3:09 am
yeah i noticed that lol.. i did it on mine when i upgraded.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 25, 2009 4:31 pm
Posted on Feb 25, 2009 4:31 pm
Cheiron/Punkterd: I dont see the part where you set it +RC (Or does chanserv does this automatic?)
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 25, 2009 4:49 pm
Posted on Feb 25, 2009 4:49 pm
you set the modes you want in the Phaze 1 and Phaze 2 boxes. you need both boxes to have modes in them as it works on a split timer. eg.. if you set lock down for 4 mins.. phaze1 box mode/s are unset after 2 mins and then phaze2 box unsets and clears lockdown after the 4 mins..
the help box will open a new dialogue to show you what modes are what for when you come to select them.. also DO NOT use the + symbol on the modes.. just the modes .. eg Phaze1: iKSM
Phaze2: RC
the help box will open a new dialogue to show you what modes are what for when you come to select them.. also DO NOT use the + symbol on the modes.. just the modes .. eg Phaze1: iKSM
Phaze2: RC
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 27, 2009 8:49 pm
Posted on Feb 27, 2009 8:49 pm
dam nice code Ive been looking for something like this for my new script. Excellent work 10/10
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 27, 2009 9:28 pm
Posted on Feb 27, 2009 9:28 pm
ty irchainscriptz,
i do plan on redoing it.
New Design:
Main dialog:
text explaining the flood type, and a button to open a new dialog to set settings for that flood type.
more "immunity" opions.
more flood types, well it is getting into just channel protection too.
Nick Change Flood
Clones Kick/ban: youll be able to specify the number of clones
Error Checks:
Like the bug if you specify a +/- when adding to phaze1 and phaze2.
Check to see if the client using the script is actually an Op or not.
atm i cant think of any other bugs that will stop it working
if you find some let me know.
also if you have any other suggestions, just suggest and i might add it.
i do plan on redoing it.
New Design:
Main dialog:
text explaining the flood type, and a button to open a new dialog to set settings for that flood type.
more "immunity" opions.
more flood types, well it is getting into just channel protection too.
Nick Change Flood
Clones Kick/ban: youll be able to specify the number of clones
Error Checks:
Like the bug if you specify a +/- when adding to phaze1 and phaze2.
Check to see if the client using the script is actually an Op or not.
atm i cant think of any other bugs that will stop it working
if you find some let me know.
also if you have any other suggestions, just suggest and i might add it.
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Feb 28, 2009 2:09 am
Posted on Feb 28, 2009 2:09 am
i will pm you later PunkTuReD on those updates for i have just what you need
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Jul 16, 2009 11:14 pm
Posted on Jul 16, 2009 11:14 pm
If I have the bot set mode +m on a channel for a lockdown shouldnt it -m when the lockdown is over?
mIRC Snippet:
SassIRC Flood Protection Module V 1.7
Posted on Jul 19, 2009 9:37 am
Posted on Jul 19, 2009 9:37 am
yes it should.
what server are you on?
shw me if you can,
your flood settings and modes you set.
an example from the channel would be good.
what server are you on?
shw me if you can,
your flood settings and modes you set.
an example from the channel would be good.













