egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)
Goto page Previous  1, 2, 3 ... 46, 47, 48 ... 88, 89, 90  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
[JoNi]
Voice


Joined: 21 Aug 2007
Posts: 15

PostPosted: Tue Aug 28, 2007 4:57 pm    Post subject: Reply with quote

Allprotection4.b7 gives me an error.

Tcl error [::AllProtection::pubms adv]: can't read "offenders": no such variable
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Aug 28, 2007 6:14 pm    Post subject: Reply with quote

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.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
[JoNi]
Voice


Joined: 21 Aug 2007
Posts: 15

PostPosted: Tue Aug 28, 2007 7:11 pm    Post subject: Reply with quote

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 Very Happy
Back to top
View user's profile Send private message
Aut0Cr0ss
Voice


Joined: 15 Jun 2007
Posts: 19

PostPosted: Wed Sep 12, 2007 7:58 am    Post subject: Reply with quote

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

what about making it kickban the spammer!
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Wed Sep 12, 2007 9:36 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Aut0Cr0ss
Voice


Joined: 15 Jun 2007
Posts: 19

PostPosted: Wed Sep 12, 2007 1:20 pm    Post subject: Reply with quote

Quote:
It does kickban them if they are in the channel.


they are. but it just ban the ip.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Sep 12, 2007 4:31 pm    Post subject: Reply with quote

Aut0Cr0ss wrote:
Quote:
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).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Wed Sep 12, 2007 4:42 pm    Post subject: Reply with quote

Quote:
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.
Back to top
View user's profile Send private message
Aut0Cr0ss
Voice


Joined: 15 Jun 2007
Posts: 19

PostPosted: Wed Sep 12, 2007 9:06 pm    Post subject: Reply with quote

Quote:
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"}
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Sep 13, 2007 3:59 pm    Post subject: Reply with quote

It doesn't matter what you have in the script, what matters is the channel-setting (see .chaninfo #channel).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Hesham
Voice


Joined: 30 Jun 2007
Posts: 6

PostPosted: Thu Sep 13, 2007 8:24 pm    Post subject: Reply with quote

using Eggdrop v1.6.18
using allfloodprotection4.6b7

had this error!
Code:

(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]
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Sep 14, 2007 6:12 am    Post subject: Reply with quote

Either update your Tcl version or replace
Code:
puts $apf "$list $apc [string trim [regsub -all {\s{1,}} $apbc " "]]"

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

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
i.m.offline
Halfop


Joined: 02 Mar 2006
Posts: 74

PostPosted: Thu Sep 20, 2007 2:14 am    Post subject: ban on excess clones!! Reply with quote

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:
ap:clones: {4 35 kb 2}

and yes I have set as well.
Code:
 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]
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Sep 20, 2007 2:40 am    Post subject: Reply with quote

Hello i.m.offline

I have this setting :
Quote:
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.
Back to top
View user's profile Send private message
i.m.offline
Halfop


Joined: 02 Mar 2006
Posts: 74

PostPosted: Thu Sep 20, 2007 2:51 am    Post subject: Reply with quote

Zircon wrote:
Hello i.m.offline

I have this setting :
Quote:
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 Wink
seems I messed up in identd Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 46, 47, 48 ... 88, 89, 90  Next
Page 47 of 90

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber