This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
[
[JoNi]
Voice
Posts: 15
Joined: Tue Aug 21, 2007 9:08 am

Post by [JoNi] »

Allprotection4.b7 gives me an error.

Tcl error [::AllProtection::pubms adv]: can't read "offenders": no such variable
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

I guess I should upload my edited version of the script which has all these little bugs fixed. However for a fast fix, read my 11th post here.
[
[JoNi]
Voice
Posts: 15
Joined: Tue Aug 21, 2007 9:08 am

Post by [JoNi] »

Sir_Fz wrote:I guess I should upload my edited version of the script which has all these little bugs fixed. However for a fast fix, read my 11th post here.
thanks :D
A
Aut0Cr0ss
Voice
Posts: 19
Joined: Fri Jun 15, 2007 9:01 pm

Post by Aut0Cr0ss »

when The Anti-spam bot detect an spammer. Bot just ban the spammer ip.

what about making it kickban the spammer!
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Aut0Cr0ss wrote:when The Anti-spam bot detect an spammer. Bot just ban the spammer ip.

what about making it kickban the spammer!
It does kickban them if they are in the channel.
A
Aut0Cr0ss
Voice
Posts: 19
Joined: Fri Jun 15, 2007 9:01 pm

Post by Aut0Cr0ss »

It does kickban them if they are in the channel.
they are. but it just ban the ip.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Aut0Cr0ss wrote:
It does kickban them if they are in the channel.
they are. but it just ban the ip.
If you have kb in your punishment method, then it kick-bans the spammer (if it's not in the channel then the bot only bans its IP).
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

they are. but it just ban the ip.
I think it s becoz u have in your settings for ap:adv, u have the punishment type "b" which is Ban, instead of "kb" which is KickBan

Try this in the paryline, i think it s gonna work :
.chanset #channel ap:adv + ban-time kb ban-type

Of course, u specify ur own #channel, ban-time and ban-type.
A
Aut0Cr0ss
Voice
Posts: 19
Joined: Fri Jun 15, 2007 9:01 pm

Post by Aut0Cr0ss »

If you have kb in your punishment method, then it kick-bans the spammer (if it's not in the channel then the bot only bans its IP).
I left it as default.

lappend ap:udefs {ap:adv "+ 180 kb 2"}
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

It doesn't matter what you have in the script, what matters is the channel-setting (see .chaninfo #channel).
H
Hesham
Voice
Posts: 6
Joined: Sat Jun 30, 2007 10:00 pm

Post by Hesham »

using Eggdrop v1.6.18
using allfloodprotection4.6b7

had this error!

Code: Select all

(02:16:10) <(ChanSrv> [00:19] Creating ap:bcodes (type 3)
(02:16:10) <(ChanSrv> [00:19] Tcl error in file 'eggdrop.conf':
(02:16:10) <(ChanSrv> [00:19] wrong # args: should be "regsub ?switches? exp string subSpec varName"
(02:16:10) <(ChanSrv>     while executing
(02:16:10) <(ChanSrv> "regsub -all {\s{1,}} $apbc " ""
(02:16:10) <(ChanSrv>     (procedure "sv" line 9)
(02:16:10) <(ChanSrv>     invoked from within
(02:16:10) <(ChanSrv> "sv"
(02:16:10) <(ChanSrv>     (procedure "rd" line 8)
(02:16:10) <(ChanSrv>     invoked from within
(02:16:10) <(ChanSrv> "rd"
(02:16:10) <(ChanSrv>     (procedure "load" line 50)
(02:16:10) <(ChanSrv>     invoked from within
(02:16:10) <(ChanSrv> "load"
(02:16:10) <(ChanSrv>     (in namespace eval "::AllProtection" script line 2567)
(02:16:10) <(ChanSrv>     invoked from within
(02:16:10) <(ChanSrv> "namespace eval AllProtection {
(02:16:10) <(ChanSrv> 
(02:16:10) <(ChanSrv> # Basic declarations: (don't touch)
(02:16:10) <(ChanSrv> variable declr
(02:16:10) <(ChanSrv> foreach declr {textl text
(02:16:10) <(ChanSrv> [00:19] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
[/code]
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Either update your Tcl version or replace

Code: Select all

puts $apf "$list $apc [string trim [regsub -all {\s{1,}} $apbc " "]]"
with

Code: Select all

regsub -all {\s{1,}} $apbc " " apbc
puts $apf "$list $apc [string trim $apbc]"
i
i.m.offline
Halfop
Posts: 74
Joined: Thu Mar 02, 2006 11:47 am

ban on excess clones!!

Post by i.m.offline »

I certainly have noticed that my bot is not kicking excess clones in the channel. I couldn't figure out why is that happening, can't see any error either on partyline.
My bot's excess clones setting is

Code: Select all

ap:clones: {4 35 kb 2} 
and yes I have set as well.

Code: Select all

 set cbcd(check) 1 
I tried to join 3/4/5/6 clones but nothing. Please suggest me, what could have been wrong :s[/code]
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Hello i.m.offline

I have this setting :
ap:clones: {4 1440 kb 2}
and it s fully working. If they are 4 clones or more, the bot ban their address and kick ALL of them. Maybe your clones are having the +f flag.
i
i.m.offline
Halfop
Posts: 74
Joined: Thu Mar 02, 2006 11:47 am

Post by i.m.offline »

Zircon wrote:Hello i.m.offline

I have this setting :
ap:clones: {4 1440 kb 2}
and it s fully working. If they are 4 clones or more, the bot ban their address and kick ALL of them. Maybe your clones are having the +f flag.
Thanks mate for the suggestion. sorted out. Thanks again ;)
seems I messed up in identd :)
Post Reply