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 ... 49, 50, 51 ... 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: Sun Oct 28, 2007 6:37 pm    Post subject: Reply with quote

Set-up your lists yet?

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

Code:
.ap:list bnicks #channel
.ap:list bidents #channel

Quote:
.ap:add <list> <chan/global> <elements>

_________________
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
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Wed Nov 14, 2007 9:55 am    Post subject: Reply with quote

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:

<)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:

<)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)
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Nov 14, 2007 6:22 pm    Post subject: Reply with quote

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.
_________________
Follow me on GitHub

- Opposing

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


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Wed Nov 14, 2007 8:43 pm    Post subject: Reply with quote

hi.

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

Code:

<)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:

set adwords(global) { "*join *" "*plz visit*" }
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Wed Nov 14, 2007 9:43 pm    Post subject: Reply with quote

As Sir_Fz asked you, delete the file /scripts/aplists
Back to top
View user's profile Send private message
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Wed Nov 14, 2007 9:56 pm    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Wed Nov 14, 2007 10:04 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
LivingSouL
Voice


Joined: 04 May 2007
Posts: 15
Location: Davao

PostPosted: Thu Nov 15, 2007 12:36 am    Post subject: Reply with quote

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:
[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·)

_________________
http://www.chatx.net
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Alchera
Revered One


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

PostPosted: Thu Nov 15, 2007 2:54 am    Post subject: Reply with quote

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:
[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
Back to top
View user's profile Send private message Visit poster's website
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Nov 15, 2007 3:38 am    Post subject: Reply with quote

Code:
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:
.ap:rem adwords global "*join *"
Back to top
View user's profile Send private message
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Thu Nov 15, 2007 4:51 pm    Post subject: Reply with quote

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:

<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]
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Nov 15, 2007 5:57 pm    Post subject: Reply with quote

Maybe this your problem
Quote:
ap:revdoor: {3 0 kb 2}

In the partyline, try this :
Quote:
.chanset * ap:revdoor 0 0 kb 2
Back to top
View user's profile Send private message
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Thu Nov 15, 2007 6:02 pm    Post subject: Reply with quote

i put this.

but it continues putting ban.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Alchera
Revered One


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

PostPosted: Thu Nov 15, 2007 6:07 pm    Post subject: Reply with quote

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
Quote:
# 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:
.chanset #chan ap:revdoor 30 15 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
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Thu Nov 15, 2007 6:20 pm    Post subject: Reply with quote

it continues putting ban

Code:

<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:

<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. ;/
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
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 ... 49, 50, 51 ... 88, 89, 90  Next
Page 50 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