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 »

Set-up your lists yet?

It really does help if the details in the script header are read.

Code: Select all

.ap:list bnicks #channel
.ap:list bidents #channel
.ap:add <list> <chan/global> <elements>
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Nor7on
Op
Posts: 185
Joined: Sat Mar 03, 2007 8:05 am
Location: Spain - Barcelona
Contact:

Post by Nor7on »

when run the this script allprot....4.6b7.tcl, its good, but when put .rehash my eggdrop crash.
something wrong ?
i hace eggdrop 1.6.18.

i get this error.

Code: Select all

<)Modo> [07:54] Tcl error in file 'eggdrop.conf':
<)Modo>     while executing
<)Modo> "lrange $apl 2 end"
<)Modo>     (procedure "rd" line 5)
<)Modo>     invoked from within
<)Modo> "rd"
<)Modo>     (procedure "load" line 50)
<)Modo>     invoked from within
<)Modo> "load"
<)Modo>     (in namespace eval "::AllProtection" script line 2585)
<)Modo>     invoked from within
<)Modo> "namespace eval AllProtection {
<)Modo> 
<)Modo> # Basic declarations: (don't touch)
<)Modo> variable declr
<)Modo> foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
<)Modo>     (file "/home/nor7on
<)Modo> [07:54] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
or with set errorInfo.



what happend ?

Code: Select all

<)Modo> Currently:     while executing
<)Modo> Currently: "lrange $apl 2 end"
<)Modo> Currently:     (procedure "rd" line 5)
<)Modo> Currently:     invoked from within
<)Modo> Currently: "rd"
<)Modo> Currently:     (procedure "load" line 50)
<)Modo> Currently:     invoked from within
<)Modo> Currently: "load"
<)Modo> Currently:     (in namespace eval "::AllProtection" script line 2586)
<)Modo> Currently:     invoked from within
<)Modo> Currently: "namespace eval AllProtection {
<)Modo> Currently: 
<)Modo> Currently: # Basic declarations: (don't touch)
<)Modo> Currently: variable declr
<)Modo> Currently: foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
<)Modo> Currently:     (file "scripts/allprotection4.6b7.tcl" line 140)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You did not paste the whole error message. However the problem is with one of the lists you've created (probably manually). Delete the aplists file (in your Eggdrop's scripts/ dir) and try again.
User avatar
Nor7on
Op
Posts: 185
Joined: Sat Mar 03, 2007 8:05 am
Location: Spain - Barcelona
Contact:

Post by Nor7on »

hi.

i reupload the tcl and not edit nothing... and .rehash and my eggdrop crash, i don't edit nothing.

Code: Select all

<)Modo> Currently:     while executing
<)Modo> Currently: "lrange $apl 2 end"
<)Modo> Currently:     (procedure "rd" line 5)
<)Modo> Currently:     invoked from within
<)Modo> Currently: "rd"
<)Modo> Currently:     (procedure "load" line 50)
<)Modo> Currently:     invoked from within
<)Modo> Currently: "load"
<)Modo> Currently:     (in namespace eval "::AllProtection" script line 2567)
<)Modo> Currently:     invoked from within
<)Modo> Currently: "namespace eval AllProtection {
<)Modo> Currently: 
<)Modo> Currently: # Basic declarations: (don't touch)
<)Modo> Currently: variable declr
<)Modo> Currently: foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
<)Modo> Currently:     (file "scripts/allprotection4.6b7.tcl" line 140)
applist.

Code: Select all

set adwords(global) { "*join *" "*plz visit*" }
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

As Sir_Fz asked you, delete the file /scripts/aplists
User avatar
Nor7on
Op
Posts: 185
Joined: Sat Mar 03, 2007 8:05 am
Location: Spain - Barcelona
Contact:

Post by Nor7on »

proc sv {} {
set apf [open scripts/aplists w] <-------- DELET THIS FILE ?
set lists {bchans bnicks bidents bwords adexempts droneexempts bctcrs adwords
ptextl ptextc pnotil pnotic pctcpf}
foreach list $lists {
variable $list
foreach {apc apbc} [array get $list] {
if {$apc != "global" && $apbc == {}} {continue}
regsub -all {\s{1,}} $apbc " " apbc
puts $apf "$list $apc [string trim $apbc]"

------------------------------------

proc rd {} {
if {[file exists scripts/aplists]} { <--- AND THIS TOO ??
foreach apl [split [string tolower [read [set apf [open scripts/aplists]]]] \n][close $apf] {
upvar [namespace current]::[lindex [split $apl] 0] apt
set apt([set p [lindex [split $apl] 1]]) [set e [lrange $apl 2 end]]
if {[regexp {^\d+:\d+$} [join $e]]} {set apt($p) [join $e]}

OR what ?
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

There is a file called "aplists", present in the directory /scripts. This is the directory where all scripts are, including allprotection4.6b7.tcl. Delete the "aplists" file, dont change anything in allprotection4.6b7.tcl for now.
User avatar
LivingSouL
Voice
Posts: 15
Joined: Fri May 04, 2007 11:30 am
Location: Davao
Contact:

Post by LivingSouL »

Hello,

I'm not sure why the "**join **" string is considered as advertising already? even you just mention the word "join" you will get banned. Please help on this.

Code: Select all

[11:54] * blah naa man gud naga join diri dthen lahi ang NICK og Ident to avoid lang, ayaw lang paepekto, dont be sensitive, let us help together ang understand
[11:54] * blah was kicked by Davao (Advertising detected. (**join **) :: [Thu Nov 15 04:54:11 2007] - Banned 0 minutes ·571·)
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

LivingSouL wrote:Hello,

I'm not sure why the "**join **" string is considered as advertising already? even you just mention the word "join" you will get banned. Please help on this.

Code: Select all

[11:54] * blah naa man gud naga join diri dthen lahi ang NICK og Ident to avoid lang, ayaw lang paepekto, dont be sensitive, let us help together ang understand
[11:54] * blah was kicked by Davao (Advertising detected. (**join **) :: [Thu Nov 15 04:54:11 2007] - Banned 0 minutes ·571·)
If you read the information in the script header you can solve this yourself.

And why "join" is considered advertising? Think on it!
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Code: Select all

Hello,

I'm not sure why the "**join **" string is considered as advertising already? even you just mention the word "join" you will get banned. Please help on this. 
Well because usually offenders try to make pub for their channel by using "join" followed by the name of some channel. I prefer to have that word in my adwords list. Anyway, the word "*join *" come by defaut in the script just as an example. Dont you know that you can easily add or delete any adword just from the partyline ?

In the partyline :

Code: Select all

.ap:rem adwords global "*join *"
User avatar
Nor7on
Op
Posts: 185
Joined: Sat Mar 03, 2007 8:05 am
Location: Spain - Barcelona
Contact:

Post by Nor7on »

i get something wrong, when somebody part of channel, my eggdrop put BAN.

*** Mirella^ ( ~Spain@142.Red-88-23-52.staticIP.rima-tde.net ) Sale Del Canal #chan
* Modo pone modo: +b *!*@142.Red-88-23-52.staticIP.rima-tde.net

but when unload allprotection.4.6b7.tcl don't put ban to users.

and my config its:

Code: Select all

<Nor7on> .chaninfo #madrid
<)Modo> Settings for dynamic channel #Madrid:
<)Modo> Protect modes (chanmode): +tn
<)Modo> Idle Kick after (idle-kick): DON'T!
<)Modo> stopnethack: DON'T!
<)Modo> aop-delay: 0:0
<)Modo> revenge-mode: 0
<)Modo> ban-time: 0
<)Modo> exempt-time: 60
<)Modo> invite-time: 60
<)Modo> To get key (need-key):
<)Modo> chankey #Madrid jojojo
<)Modo> Other modes:
<)Modo>      -inactive       +statuslog      -secret         +shared
<)Modo>      +greet          -seen           +cycle          +dontkickops
<)Modo>      +protectops     +protectfriends -revenge        -revengebot
<)Modo>      -bitch          -autoop         -autovoice      -nodesynch
<)Modo>      -enforcebans    +dynamicbans    +userbans       -autohalfop
<)Modo>      +protecthalfops
<)Modo>      +dynamicexempts +userexempts    +dynamicinvites +userinvites
<)Modo> User defined channel flags:
<)Modo>      -xmaster -xinvite -mc.spamcycle +mc.spamcheck
<)Modo>      +joinpart
<)Modo> User defined channel strings:
<)Modo> ap:level: 100
<)Modo> ap:textl: 0:0
<)Modo> ap:textc: 0:0
<)Modo> ap:notcl: {1:1 0 kb 2}
<)Modo> ap:notcc: 0:0
<)Modo> ap:caps: {70:25 0 k:kb 2}
<)Modo> ap:repeatl: {3:3 0 k:kb 2}
<)Modo> ap:repeatc: 0:0
<)Modo> ap:codes: {r:35 b:80 u:80 c:80 90 kb 2}
<)Modo> ap:adv: {+ 0 kb 2}
<)Modo> ap:antispam: -
<)Modo> ap:swear: {+ 0 kb 2}
<)Modo> ap:ctcps: {1:1 0 k:kb 2}
<)Modo> ap:massd: {2:1 0 k}
<)Modo> ap:massk: {0:0 0 kb 2}
<)Modo> ap:massb: {0:0 0 kb 2}
<)Modo> ap:limit: 0
<)Modo> ap:cjoin: {3:2 0 k:kb 2}
<)Modo> ap:partmsgs: 0
<)Modo> ap:partmsgc: {r:0 b:0 u:0 c:0 0 v w}
<)Modo> ap:revdoor: {3 0 kb 2}
<)Modo> ap:nickf: 0:0
<)Modo> ap:clones: {3 0 kb 2}
<)Modo> ap:bnicks: {+ 0 kb 11}
<)Modo> ap:drones: {- 0 kb 2}
<)Modo> ap:bidents: {- 0 kb 2}
<)Modo> ap:bchans: {+ 0 kb 2 5}
<)Modo> ap:echans: {0 60 w:kb 2 0}
<)Modo> ap:bctcrs: {- 120 kb 2 0}
<)Modo> ap:ctcpchecks: VERSION
<)Modo> ap:btextl: 0:0
<)Modo> ap:btextc: {400:3 mr 40}
<)Modo> ap:bnotcl: {4:2 mR-k lines.flood 60}
<)Modo> ap:bnotcc: {500:3 mr 60}
<)Modo> ap:bctcp: {4:60 mr 60}
<)Modo> ap:massjoin: {5:3 mr 40}
<)Modo> ap:brevdoor: {5:3 mr 60}
<)Modo> ap:bpartmsg: {5:3 mR-k partmsg.flood 60}
<)Modo> ap:bnickf: {5:30 mR-k nick.flood 60}
<)Modo> ap:bcodes: {25:3 mR-k codes.flood 60}
<)Modo> flood settings: chan ctcp join kick deop nick
<)Modo> number:           10   10   10   10   10    0
<)Modo> time  :            1    1    1    1    1    0
can helpme ?[/quote]
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Maybe this your problem
ap:revdoor: {3 0 kb 2}
In the partyline, try this :
.chanset * ap:revdoor 0 0 kb 2
User avatar
Nor7on
Op
Posts: 185
Joined: Sat Mar 03, 2007 8:05 am
Location: Spain - Barcelona
Contact:

Post by Nor7on »

i put this.

but it continues putting ban.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Nor7on: READ the details in the scripts HEADER.

Allprotection has a revolving door function whereas if a nick cycles the channel within the time you specified a ban will be placed.

Please READ the documentation/current forum posts BEFORE making posts referencing common script functions that are clearly documented. :wink:
# Use .chanset #channel ap:revdoor <seconds> <btime> <pmeth> <btype> (in DCC)
# example: setting this to 3 will make the bot ban whoever joins and parts/quits in 3 or less seconds.

Code: Select all

.chanset #chan ap:revdoor 30 15 kb 3
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Nor7on
Op
Posts: 185
Joined: Sat Mar 03, 2007 8:05 am
Location: Spain - Barcelona
Contact:

Post by Nor7on »

it continues putting ban

Code: Select all

<Nor7on> .chanset * ap:revdoor 30 15 kb 3
<)Modo> Successfully set modes { ap:revdoor { 30 15 kb 3 } } on all channels.
<)Modo> [16:13] #Nor7on# chanset * ap:revdoor { 30 15 kb 3 }
<Nor7on> .chanset #madrid ap:revdoor 30 15 kb 3
<)Modo> Successfully set modes { ap:revdoor { 30 15 kb 3 } } on #Madrid.
<)Modo> [16:13] #Nor7on# chanset #Madrid ap:revdoor { 30 15 kb 3 }
<Nor7on> .rehash
<)Modo> [16:15] #Nor7on# rehash
<)Modo> Rehashing.
*** cocher ( cocher@82.159.2.248.dyn.user.ono.com ) Sale Del Canal #madrid
* Modo pone modo: +b *!*@82.159.2.248.dyn.user.ono.com
*** Mirella^ ( ~Spain@142.Red-88-23-52.staticIP.rima-tde.net ) Sale Del Canal #madrid
* Modo pone modo: +b *!*@142.Red-88-23-52.staticIP.rima-tde.net

i put it in partyline.

Code: Select all

<Nor7on> .chanset * ap:revdoor 0 0 kb 3
<)Modo> Successfully set modes { ap:revdoor { 0 0 kb 3 } } on all channels.
<)Modo> [16:17] #Nor7on# chanset * ap:revdoor { 0 0 kb 3 }
<Nor7on> .chanset #madrid ap:revdoor 0 0 kb 3
<)Modo> Successfully set modes { ap:revdoor { 0 0 kb 3 } } on #Madrid.
<)Modo> [16:17] #Nor7on# chanset #Madrid ap:revdoor { 0 0 kb 3 }
but continues putting ban.

*** Mirella^ ( ~Spain@142.Red-88-23-52.staticIP.rima-tde.net ) Sale Del Canal #madrid
* Modo pone modo: +b *!*@142.Red-88-23-52.staticIP.rima-tde.net

i join my clon Mirella^ for 15 or 4min and when part, put ban. ;/
Post Reply