| View previous topic :: View next topic |
| Author |
Message |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Mar 03, 2009 3:16 am Post subject: |
|
|
@FireWarrior
The problem is with your ap:antispam channel-settings, It is not enabled on any of your channels. Notice the "-" in
| Quote: | | <TestBot> [07:45] Setting validation: 1 :: Setting: - |
Setting is actually the first +/- in your ap:antispam channel-setting. My guess is that you edited it in the script to "+" but did not use .chanset to change the channel-setting? (use .chaninfo #channel to view it's settings).
@willyw
I'm glad it worked and thanks for your elaboration as well as your appreciation  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
FireWarrior Voice
Joined: 28 Oct 2008 Posts: 19
|
Posted: Wed Mar 04, 2009 12:22 am Post subject: Many Thanks! |
|
|
Hi and Hello Opposing.
After reading your reply, I carefully retraced my steps and fixed my error. Now the antispam bot is working fine.
I’m really grateful and obliged for your patience and help.
My apologies for bugging you so much and for so long, but in these past few days I’ve learnt more about eggdrops and tcl scripts than I have in the past two years. I owe this to you.
Wish you all the best.
Regards. |
|
| Back to top |
|
 |
halloaizq Voice
Joined: 27 Aug 2007 Posts: 24
|
Posted: Tue Mar 17, 2009 8:49 am Post subject: Anti Spambot |
|
|
[Tue 20:41:39] * Parts: Puteri^Salju (Rss@72.20.32.66)
[Tue 20:41:39] * Joins: Puteri^Salju (Rss@72.20.32.66)
how to set this spambot cycle the channel with specific time .. like part from channel and then rejoin back after 5 minutes or else ?so spammer can't detect so easy .. TQ _________________ : halloaizq : |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Mar 17, 2009 9:31 am Post subject: |
|
|
at line 1846
| Code: | ...
putdcc $antispam(idx) "part $c"
putdcc $antispam(idx) "join $c"
... |
Replace
| Code: | | putdcc $antispam(idx) "join $c" |
with
| Code: | | timer 5 [list putdcc $antispam(idx) "join $c"] |
so it will join back after 5 minutes.
Edit: However this may cause some errors in case the socket disconnected and the idx is not valid anymore... _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
evildude Voice
Joined: 03 Feb 2004 Posts: 24
|
Posted: Tue Mar 17, 2009 12:31 pm Post subject: |
|
|
Is there a way to kick/ban an offender of btextc and/or btextl in addition to setting the channel modes?
{ap:btextc "550:3 mR-k chars.flood 60"}
{ap:btextl "15:7 mR-k lines.flood 60"}
I apologize if I have missed something but it doesn't seem to be a way to do that. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Mar 17, 2009 2:32 pm Post subject: |
|
|
These protections are intended for mass botnet floods where locking the channel is a priority. However, you can fiddle around with the normal settings (textc and textl) and can have it do the banning during mass floods. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
halloaizq Voice
Joined: 27 Aug 2007 Posts: 24
|
Posted: Tue Mar 17, 2009 11:30 pm Post subject: |
|
|
| Sir_Fz wrote: | at line 1846
| Code: | ...
putdcc $antispam(idx) "part $c"
putdcc $antispam(idx) "join $c"
... |
Replace
| Code: | | putdcc $antispam(idx) "join $c" |
with
| Code: | | timer 5 [list putdcc $antispam(idx) "join $c"] |
so it will join back after 5 minutes.
Edit: However this may cause some errors in case the socket disconnected and the idx is not valid anymore... |
Yeah .. finally .. TQ vm bro .. bro another question .. how to set this spambot change nick with i specified when joining that channel? _________________ : halloaizq : |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Mar 18, 2009 2:56 pm Post subject: |
|
|
You want it to change its nick from a predefined list before it rejoins channels? _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
halloaizq Voice
Joined: 27 Aug 2007 Posts: 24
|
Posted: Thu Mar 19, 2009 5:05 am Post subject: |
|
|
| Sir_Fz wrote: | | You want it to change its nick from a predefined list before it rejoins channels? |
yes .. so how? _________________ : halloaizq : |
|
| Back to top |
|
 |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Fri Mar 27, 2009 11:40 am Post subject: |
|
|
I have a question.
On channel flood the eggdrop (server undernet) the eggdrop sets mode +m only. What do i need to change in the script or telnet, so the eggdrop will set mode +mir ? |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Mar 27, 2009 11:55 pm Post subject: |
|
|
Just want to confirm something:
Regarding reverse, bold, underline, and color -
| Code: |
ap:codes: {r:350 b:350 u:350 c:350 30 w:k 2}
|
should we want to disable any of these, the correct (safe) way to accomplish it, is to set those options to 0 ?
Like this:
| Code: |
ap:codes: {r:0 b:0 u:0 c:0 30 w:k 2}
|
Is this correct?
A setting of zero won't cause the bot to trigger on any such posts, since they would exceed the setting?
I think we've been doing it the other way - setting them to very high numbers to keep the bot from triggering. I don't remember why, so I thought I'd double check here.
Thanks
p.s. And the same questions for ap:partmsgc too. Thanks. |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Mar 28, 2009 12:06 am Post subject: |
|
|
| Quote: |
AP: Private botnet flood detected. Temporarly stopped answering recieved data.
|
Occasionally, I see that in partyline. Our bot is not part of a botnet.
What sort of thing is causing it, and what do I need to adjust?
For what it is worth, I found that I can cause it by sending
from a nick that is not in the bot's userfile.
Thanks |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Mar 28, 2009 6:32 pm Post subject: |
|
|
| halloaizq wrote: | | Sir_Fz wrote: | | You want it to change its nick from a predefined list before it rejoins channels? |
yes .. so how? |
Alright, you'll first need to create a list of nicknames:
| Code: | ...
# AntiSpamBot basic settings
# You can edit all these settings as you wish
# example: set antispam(nick) AntiSpamBot
set antispam(nick) $altnick
set antispam(altnick) ${altnick}1
# ADD HERE
set antispam(nicks) {
nick1
nick2
nick3
}
... |
And apply the following changes:
| Code: | ...
putlog "\002AP\002: AntiSpamBot: Cycling $c..."
# ADD:
if {![info exists blabla]} {
set blabla 1
putdcc $antispam(idx) "nick [lindex $antispam(nicks) [rand [llength $antispam(nicks)]]]"
}
putdcc $antispam(idx) "part $c"
# REPLACE: putdcc $antispam(idx) "join $c" WITH:
timer 5 [list putdcc $antispam(idx) "join $c"]
... |
Edit: Added missing close-bracket _________________ Follow me on GitHub
- Opposing
Public Tcl scripts
Last edited by Sir_Fz on Sat Apr 04, 2009 6:45 am; edited 1 time in total |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Mar 28, 2009 6:33 pm Post subject: |
|
|
| Danik wrote: | I have a question.
On channel flood the eggdrop (server undernet) the eggdrop sets mode +m only. What do i need to change in the script or telnet, so the eggdrop will set mode +mir ? |
Depending on which botnet flood protection setting. For example, for mass text floods the setting would be:
| Quote: | | .chanset #channel ap:btextl 15:7 mir 60 |
where "mir" are the lock-modes. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Mar 28, 2009 6:33 pm Post subject: |
|
|
| willyw wrote: | should we want to disable any of these, the correct (safe) way to accomplish it, is to set those options to 0 ?
Like this:
| Code: | | ap:codes: {r:0 b:0 u:0 c:0 30 w:k 2} |
Is this correct? |
Yes.
| willyw wrote: | | Quote: | | AP: Private botnet flood detected. Temporarly stopped answering recieved data. |
Occasionally, I see that in partyline. Our bot is not part of a botnet.
What sort of thing is causing it, and what do I need to adjust? |
This is triggered for private flood protections (i.e. when the bot is flooded in private). These settings are edited in the "PRIVATE PROTECTIONS" section of the script. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|