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 ... 20, 21, 22 ... 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
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue May 23, 2006 6:43 pm    Post subject: Reply with quote

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:
.set errorInfo

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue May 23, 2006 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed May 24, 2006 1:22 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed May 24, 2006 12:12 pm    Post subject: Reply with quote

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 Razz (long udefs causing errors while being read from the .chan file)
_________________
Follow me on GitHub

- Opposing

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


Joined: 01 Nov 2005
Posts: 12

PostPosted: Wed May 24, 2006 1:36 pm    Post subject: Problem with the drone kick message... Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu May 25, 2006 3:08 am    Post subject: Reply with quote

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 Razz (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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu May 25, 2006 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri May 26, 2006 5:22 am    Post subject: Re: Problem with the drone kick message... Reply with quote

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
View user's profile Send private message Visit poster's website
Smurff
Voice


Joined: 09 Feb 2005
Posts: 7

PostPosted: Fri May 26, 2006 6:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Romeyo
Voice


Joined: 01 Nov 2005
Posts: 12

PostPosted: Sun May 28, 2006 4:03 am    Post subject: Re: Problem with the drone kick message... Reply with quote

[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
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun May 28, 2006 6:27 am    Post subject: Re: Problem with the drone kick message... Reply with quote

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

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
View user's profile Send private message MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun May 28, 2006 3:37 pm    Post subject: Re: Problem with the drone kick message... Reply with quote

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
View user's profile Send private message Visit poster's website
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Thu Jun 01, 2006 8:04 am    Post subject: Reply with quote

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 Cool
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
View user's profile Send private message Send e-mail Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Jun 01, 2006 1:21 pm    Post subject: Reply with quote

You probably played with the numkicks file. Delete the file.
_________________
Follow me on GitHub

- Opposing

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


Joined: 10 Jun 2006
Posts: 72

PostPosted: Sat Jun 10, 2006 9:18 am    Post subject: Reply with quote

Hi there and thanks for this greate script Smile

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
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 ... 20, 21, 22 ... 88, 89, 90  Next
Page 21 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