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

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue May 23, 2006 6:43 pm Post subject: |
|
|
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:
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue May 23, 2006 7:09 pm Post subject: |
|
|
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). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed May 24, 2006 1:22 am Post subject: |
|
|
| 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] tag when posting logs, code |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed May 24, 2006 12:12 pm Post subject: |
|
|
| 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 (long udefs causing errors while being read from the .chan file) _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Romeyo Voice
Joined: 01 Nov 2005 Posts: 12
|
Posted: Wed May 24, 2006 1:36 pm Post subject: Problem with the drone kick message... |
|
|
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: | 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
|
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu May 25, 2006 3:08 am Post subject: |
|
|
| 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 (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] tag when posting logs, code |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu May 25, 2006 6:21 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri May 26, 2006 5:22 am Post subject: Re: Problem with the drone kick message... |
|
|
| 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: | 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. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Smurff Voice
Joined: 09 Feb 2005 Posts: 7
|
Posted: Fri May 26, 2006 6:35 pm Post subject: |
|
|
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: | [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. |
|
| Back to top |
|
 |
Romeyo Voice
Joined: 01 Nov 2005 Posts: 12
|
Posted: Sun May 28, 2006 4:03 am Post subject: Re: Problem with the drone kick message... |
|
|
[quote="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: | 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: |
::: 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? |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sun May 28, 2006 6:27 am Post subject: Re: Problem with the drone kick message... |
|
|
| Romeyo wrote: | i did that. but still am getting this "random string" in the kick message.. that means the nick is a random string??
|
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... |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun May 28, 2006 3:37 pm Post subject: Re: Problem with the drone kick message... |
|
|
| 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: |
::: 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
| Quote: | | set nosense(kmsg) "Possible random drone detected. $kckcount(form)" |
use
| Quote: | | 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. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
username Op

Joined: 06 Oct 2005 Posts: 196 Location: Russian Federation, Podolsk
|
Posted: Thu Jun 01, 2006 8:04 am Post subject: |
|
|
Hi, Iam useing eggdrop1.6.17handlen9 with ALL PROTECTION 4.5 and I get this errors:
| Quote: | [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
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. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Jun 01, 2006 1:21 pm Post subject: |
|
|
You probably played with the numkicks file. Delete the file. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Domin Halfop

Joined: 10 Jun 2006 Posts: 72
|
Posted: Sat Jun 10, 2006 9:18 am Post subject: |
|
|
Hi there and thanks for this greate script
Is there any way of disabeling this:
| Code: | | [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 |
|
| Back to top |
|
 |
|