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 ... 21, 22, 23 ... 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
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Jun 10, 2006 6:46 pm    Post subject: Reply with quote

I wrote:
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.

The same thing applys for the advertising kick. (I thought that was clear)

As for setting advertisement words, the script automatically detects them but you can add words to be exempted from being considered as advertisement via the .ap:add dcc command. Example:
Quote:
.ap:add adexempts #channel www.mysite.net #mychan

This will exempt www.mysite.net & #mychan from being considered as advertisement on #channel.
_________________
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: Mon Jun 12, 2006 12:02 pm    Post subject: Reply with quote

Ohh, thanks i dident quit get that, but it fixed all my problems Smile

Advertisment isent quit usefulle for me so i just disabled it and the put the adresses/pages in the badword section and use that one instead Smile

Thanks for a greate script.

Regards
Domin
Back to top
View user's profile Send private message
MenzAgitat
Op


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Tue Jul 04, 2006 12:41 pm    Post subject: Reply with quote

I'm using the version 4.6b4 on a quiz channel and when people are saying quickly a lot of numbers, i get this error :
Quote:
Tcl error [::AllProtection::pubms btextl]: wrong # args: should be "putquick arg"


my setting for btextl is :
Quote:
ap:btextl: {15:7 mR-k lines.flood 60}


example of what people say when the error triggers :
Quote:
<nick1> 41
<nick2> 18
<nick3> 6
<nick2> 17
<nick3> 19
<nick1> 12


any idea to fix that ?
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 Jul 05, 2006 4:07 am    Post subject: Reply with quote

What's the output of .set errorInfo?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
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 Jul 07, 2006 10:44 am    Post subject: Reply with quote

AllProtection v4.6b5 released.

Fixed bug in bad chans and clones protections.
Enhanced advertising detection to avoid false detections.

These were the bugs reported. If you know more bugs and still haven't reported them, this is the right time to report them with complete errorInfo if existing.

Enjoy.
_________________
Follow me on GitHub

- Opposing

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


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Sun Jul 09, 2006 5:26 pm    Post subject: Reply with quote

Sir_Fz wrote:
What's the output of .set errorInfo?


I don't know, whenever the bug happens (which is not often because the conditions are not easy to reproduce) I am not looking the quizz channel or I am not in front of my computer, so I can't get the errorinfo.
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: Sun Jul 09, 2006 8:26 pm    Post subject: Reply with quote

Voice the users playing the trivia game. The script does not punish voiced users if set appropriately.

Code:
# Set here any additional exempts, you can use one of the following:
# 0: Neither voices nor halfops are exempted from punishment
# 1: Voices are exempted from punishment
# 2: Halfops are exempted from punishment
# 3: Both halfops and voices are exempted from punishment
set exmptype 3

_________________
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
Alchera
Revered One


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

PostPosted: Mon Jul 10, 2006 7:56 pm    Post subject: Reply with quote

Have just noticed a possible "bug":
Quote:
Anode dEaMoN is on place #25 out of 406.
<-- Darth-Vader has kicked Anode from #homec (Advertising detected. (* #2*) :: [Tue Jul 11 05:47:39 2006] - Banned 30 minutes ·20·)
--> Anode (Anode@I.dare.you.to.packet.me.uk) has joined #homec
* Darth-Vader sets ban on *!*Anode@*.me.uk

The ban should be set first (?), then the kick so the offender cannot re-enter.

Code:
ap:adv: {+ 30 kb 3}

_________________
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: Mon Jul 10, 2006 9:16 pm    Post subject: Reply with quote

That may happen because of the queue, if you want immediate banning then set apqueue(time) to 0. This won't happen occasionally though, depends on the time the command is being issued.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
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: Mon Jul 10, 2006 9:38 pm    Post subject: Reply with quote

Remind me to clean my glasses next time. Laughing

I completely missed that setting. lmao
_________________
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
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Wed Jul 12, 2006 8:01 am    Post subject: Reply with quote

Hmm I searched the threat about this error but I havent found it. What might be the problem causing it. The egg funtionate without any problems, but it would be nice if I do not get this error

Code:

[13:55] <MyEgg> [13:55] #IRCNick# set errorInfo
[13:55] <MyEgg> Currently: no such binding
[13:55] <MyEgg> Currently:     while executing
[13:55] <MyEgg> Currently: "unbind evnt - loaded [namespace current]::install"
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 Jul 12, 2006 8:37 am    Post subject: Reply with quote

That's not a bug/error/problem. It only happens when you .rehash (where that bind is not bound - already been unbound on load) and you never actually see the error since it's being caught (via [catch] command).

That's there to assure that the script is loaded only when all modules are loaded so no possible channel setting errors occur.
_________________
Follow me on GitHub

- Opposing

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


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Thu Jul 20, 2006 3:19 pm    Post subject: Reply with quote

I've got some other problems, still on my quiz channel (I pinpoint that it happens on a quiz channel so you can imagine the context (fast answers from a lot of people, flood, and so on...)).
I am running a windrop v1.6.17.

some errors I get :
Quote:
on clones protection
<Boole> [20:43] AP: Warned Wenesse,anaelle,sanachou on #quizz :Attention : vous avez dépassé le nombre maximum de clones tolérés; enlevez vos clones immédiatement.
<Boole> [20:43] Tcl error in script for 'timer71523':
<Boole> [20:43] invalid command name "::AllProtection::clones"


Quote:
on advertisement protection :
<Boole> [18:53] AP: Warned Wenesse on #quizz :Attention : vous avez activé la protection contre la publicité; la publicité n'est pas autorisée.
<Boole> [18:53] AP: Warned Eileen on #quizz :Attention : vous avez activé la protection contre la publicité; la publicité n'est pas autorisée.
<Boole> [18:53] Tcl error in script for 'timer70684':
<Boole> [18:53] wrong # args: should be "putquick arg"


The .set errorinfo command, which I use immediately after an error each time I can, keeps saying to me that the errorinfo variable does exist.

At the moment, I am still using the AllProtection v4.6b4 and I intent to update to the latest beta (b5) this evening, hoping that these problems will be gone.

(sorry if I my grammar is sometimes a bit strange, I am a french guy Wink )
Back to top
View user's profile Send private message Visit poster's website
MenzAgitat
Op


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Thu Jul 20, 2006 3:32 pm    Post subject: Reply with quote

uhoo when I rode again my bug report I suddenly thought about a detail....
The semicolon I am using in the two quoted warning sentences is interpreted by tcl as a command separator, right ?

I will try \; instead.

If I am right, just ignore my post and shame on me Embarassed
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 Jul 20, 2006 6:30 pm    Post subject: Reply with quote

MenzAgitat wrote:
The .set errorinfo command, which I use immediately after an error each time I can, keeps saying to me that the errorinfo variable does exist.


Quote:
# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set

Restart your bot after doing the above and ".set errorInfo" will be available.
_________________
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
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 ... 21, 22, 23 ... 88, 89, 90  Next
Page 22 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