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
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

I had that with another script I tested some time ago; seems there's an inability to setup settings for dynamically allocated channels.

Do the following (via Command Console) and paste the results:

Code: Select all

.set errorInfo
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Oh yeah, that's the known eggdrop bug (forgot about it). I have the script loaded on eggdrop1.6.18+rc1. I'll try to fix this as soon as possible, for now you can download the new eggdrop and use the script (don't worry, I faced no bugs with the new eggdrop). Another alternative would be loading the script after the eggdrop loads (either source it via .tcl or .rehash).
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Sir_Fz wrote:Oh yeah, that's the known eggdrop bug (forgot about it).
what's the bug?
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

demond wrote:
Sir_Fz wrote:Oh yeah, that's the known eggdrop bug (forgot about it).
what's the bug?
You, out of all people, should know very well about this bug :P (long udefs causing errors while being read from the .chan file)
R
Romeyo
Voice
Posts: 12
Joined: Tue Nov 01, 2005 10:56 am

Problem with the drone kick message...

Post by Romeyo »

I think i have some problem with the kick message of random drone.. i am using 4.5 of allprotection.tcl.

[22:22:49] ::: mftr was kicked by Poda (Possible random spambot/drone detected. :: [Wed May 24 12:48:08 2006] - Banned nosense(btime) minutes ·53·)

Code: Select all

proc nosense:ban {nick uhost chan} {
 global nosense nosensek
 if {$nosense(pmeth) != 0} {
  punish:method $nosense(pmeth) $nick $uhost $chan [ap:mapr $nosense(kmsg) "random string"] $nosense(wmsg) $nosense(btype) $nosense(btime) $nosense(klmsg) $nosense(ktime) $nosense(ktype) [string tolower $uhost]:nosense
 } {
  if {![info exists nosensek([set nick [string tolower $nick]])]} {
   putquick "KICK $chan $nick :[mapall [ap:mapr $nosense(kmsg) "random string"] $chan nosense(btime)]"
   set nosensek($nick) 1
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Sir_Fz wrote:
demond wrote:
Sir_Fz wrote:Oh yeah, that's the known eggdrop bug (forgot about it).
what's the bug?
You, out of all people, should know very well about this bug :P (long udefs causing errors while being read from the .chan file)
hmm, isn't that fixed in .18?
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

demond wrote:hmm, isn't that fixed in .18?
It very well may be but, as it's only a release candidate many are not using it. So, for all intents and purposes, the bug persists.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Re: Problem with the drone kick message...

Post by Sir_Fz »

Romeyo wrote:I think i have some problem with the kick message of random drone.. i am using 4.5 of allprotection.tcl.

[22:22:49] ::: mftr was kicked by Poda (Possible random spambot/drone detected. :: [Wed May 24 12:48:08 2006] - Banned nosense(btime) minutes ·53·)

Code: Select all

proc nosense:ban {nick uhost chan} {
 global nosense nosensek
 if {$nosense(pmeth) != 0} {
  punish:method $nosense(pmeth) $nick $uhost $chan [ap:mapr $nosense(kmsg) "random string"] $nosense(wmsg) $nosense(btype) $nosense(btime) $nosense(klmsg) $nosense(ktime) $nosense(ktype) [string tolower $uhost]:nosense
 } {
  if {![info exists nosensek([set nick [string tolower $nick]])]} {
   putquick "KICK $chan $nick :[mapall [ap:mapr $nosense(kmsg) "random string"] $chan nosense(btime)]"
   set nosensek($nick) 1
Yeah, that's a little bug (which has been fixed in 4.6), you just need to replace nosense(btime) with $nosense(btime).
demond wrote:hmm, isn't that fixed in .18?
Yes it is fix in .18, that's why I told him to upgrade.
S
Smurff
Voice
Posts: 7
Joined: Wed Feb 09, 2005 6:31 pm

Post by Smurff »

thanks Sir Fz . i have upgraded the bot to 1.6.18 and its working fine.

there is one thing which i wanted to ask you :

Code: Select all

[07:33] *** Nicolasta (~Nicolasta@212.36.206.219) has joined #chatpoint
[07:33] *** Nicolasta has left #chatpoint (Registered)
[07:33] *** Nicolasta (~Nicolasta@nicolasta.users.undernet.org) has joined #chatpoint
[07:33] *** Bot1 sets mode: +m  
[07:33] *** Bot1 sets mode: +r  
[07:33] *** Nicolasta was kicked by Bot1 (Join flood Protection. ?14? CcBot?)
[07:33] *** Bot1 sets mode: +b *!*@nicolasta.users.undernet.org 
ap:cjoin 2:1 ( i have set this as i was using same setting in previous AFP4.5 and as it is said there it is for 2 clones joining in 1 sec NOTE: This triggers on clone join flood, not mass join )

so on undernet this user gets banned when it joins and then does mode +x to hide his ip/host. it shouldn't be considerd as clone join flood.
i have changed this to cjoin 3:1 now just to avoid any such bans by bot.
R
Romeyo
Voice
Posts: 12
Joined: Tue Nov 01, 2005 10:56 am

Re: Problem with the drone kick message...

Post by Romeyo »

Sir_Fz wrote:
Romeyo wrote:I think i have some problem with the kick message of random drone.. i am using 4.5 of allprotection.tcl.

[22:22:49] ::: mftr was kicked by Poda (Possible random spambot/drone detected. :: [Wed May 24 12:48:08 2006] - Banned nosense(btime) minutes ·53·)

Code: Select all

proc nosense:ban {nick uhost chan} {
 global nosense nosensek
 if {$nosense(pmeth) != 0} {
  punish:method $nosense(pmeth) $nick $uhost $chan [ap:mapr $nosense(kmsg) "random string"] $nosense(wmsg) $nosense(btype) $nosense(btime) $nosense(klmsg) $nosense(ktime) $nosense(ktype) [string tolower $uhost]:nosense
 } {
  if {![info exists nosensek([set nick [string tolower $nick]])]} {
   putquick "KICK $chan $nick :[mapall [ap:mapr $nosense(kmsg) "random string"] $chan nosense(btime)]"
   set nosensek($nick) 1
i did that. but still am getting this "random string" in the kick message.. that means the nick is a random string??

Code: Select all

::: mftr was kicked by Poda (Possible random spambot/drone detected. :: [Wed May 24 12:48:08 2006] random string - Banned 0 minutes ·59·)
what that random string means? and 4.6 is still beta or released to public?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Re: Problem with the drone kick message...

Post by De Kus »

Romeyo wrote:i did that. but still am getting this "random string" in the kick message.. that means the nick is a random string??

Code: Select all

mftr
yes.
this is a random string. (no vocals, how are you supposed to pronouce it as a human?)
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Re: Problem with the drone kick message...

Post by Sir_Fz »

Romeyo wrote: i did that. but still am getting this "random string" in the kick message.. that means the nick is a random string??

Code: Select all

::: mftr was kicked by Poda (Possible random spambot/drone detected. :: [Wed May 24 12:48:08 2006] random string - Banned 0 minutes ·59·)
what that random string means? and 4.6 is still beta or released to public?
Instead of
set nosense(kmsg) "Possible random drone detected. $kckcount(form)"
use
set nosense(kmsg) "Possible random drone detected. \[%date\] - Banned %btime minutes ·%kcount·"
This will not include %rate in the kick message which will not display "random string". And yes, 4.6 is a beta version but it seems to have no errors - Use it, you will like it.
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Hi, Iam useing eggdrop1.6.17handlen9 with ALL PROTECTION 4.5 and I get this errors:
[16:00] Tcl error in script for 'timer393':
[16:00] expected integer but got ""
.set errorInfo
[16:00] #tvrsh# set errorInfo
Currently: expected integer but got ""
Currently: while executing
Currently: "incr NumKicks"
Currently: (procedure "getkcount" line 3)
Currently: invoked from within
Currently: "getkcount"
Currently: (procedure "mapall" line 3)
Currently: invoked from within
Currently: "mapall $bnick(kmsg) $chan $bnick(btime)"
Currently: (procedure "bnick:kick" line 8)
Currently: invoked from within
Currently: "$sc $nick [getchanhost $nick $chan] [nick2hand $nick $chan] $chan"
Currently: (procedure "checkbcd:join" line 7)
Currently: invoked from within
Currently: "checkbcd:join"
how to solve this problem?
Thank you.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You probably played with the numkicks file. Delete the file.
User avatar
Domin
Halfop
Posts: 72
Joined: Sat Jun 10, 2006 9:10 am

Post by Domin »

Hi there and thanks for this greate script :-)

Is there any way of disabeling this:

Code: Select all

[15:13:17] * MMradio48 was kicked by Camill4 (Bad word detected. (www.gabor13.com) :: [Sat Jun 10 15:13:16 2006] - Banned 15 minutes ·343·)
Since i dont like the fact that the bot makes another advertisment for the www site after it kicks the user.

Everything else is running greate im using eggdrop 1.6.18RC1 and latest beta of allprotection (v4.6b4)

Edit
Seems i got another problem how do i set the advertisment settings, since i got a few urls to put in there, and the above example shouldt really be taken care of by the advertisment routine, in the 4.5 version there was a section in the script that you couldt add the url/words to but there is no such ting in the beta version perhaps its just missing, or is the ap:add setting missing for it ???


Regards
Domin
Post Reply