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.

Flood Protection not working!

Support & discussion of released scripts, and announcements of new releases.
m
maverick88
Voice
Posts: 8
Joined: Fri Aug 31, 2007 9:46 am

Flood Protection not working!

Post by maverick88 »

hey i have the latest eggdrop set up on a linux shell and i cant seem to get flood protection to work at all... I tried allprotection and sentinel but they dont seem to do anything even after i edited them and it says there loaded after .rehash. I tried the in built flood protection and i couldnt get it to work either. i would really like to get allprotection of sentinel to work. Is there some sort of command i need to use to set it on a channel or something? thanx
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

are you refering to sentinel.tcl or to allprotection.tcl? These are two totally seperate and different scripts, and while they provide additional protections for the eggdrop, they are not the only flood protection on an eggdrop, there are many built-in flood protections available, depending on how you have then set. As for the scripts, first you must edit the script itself, then while in dcc chat, usually the is a chanset command that needs to be used in order to activate protections on a per channel basis. If you need more help, please be specific as to what exactly you wish to do, and also give us the output from the .chaninfo command.
m
maverick88
Voice
Posts: 8
Joined: Fri Aug 31, 2007 9:46 am

Post by maverick88 »

ok thank you i am reffering to the scripts. I wish to be to use allprotection.tcl to help manage my channel. I want to be able to set text floods etc. At the moment when i load AllProtection v4.6b7 it keeps making my bot limit the channel to only 15 users. Something that i propably inadvertently set the script to do but something i dont want it to do. Could you guys tell me how to set up text flood protection in allprotection and tell me how to turn of the 15 user limit. Thanx again.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

from allprotection.tcl:

Code: Select all

## 14 ## Channel limit.
#

# Use .chanset #channel ap:limit <limit> (in DCC, 0 to disable)
# Note: this be the number that will be added to the channel's limit.
# Set default limit here:
lappend ap:udefs {ap:limit 8}
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

maverick88 wrote:ok thank you i am reffering to the scripts. I wish to be to use allprotection.tcl to help manage my channel. I want to be able to set text floods etc. At the moment when i load AllProtection v4.6b7 it keeps making my bot limit the channel to only 15 users. Something that i propably inadvertently set the script to do but something i dont want it to do. Could you guys tell me how to set up text flood protection in allprotection and tell me how to turn of the 15 user limit. Thanx again.
Read the comments in the script and you'll be fine.
m
maverick88
Voice
Posts: 8
Joined: Fri Aug 31, 2007 9:46 am

Post by maverick88 »

Hey now i have the problem of everytime i try to load the allprotection script i get an error. With version 4.5 it says in the log invalid command name "%date". I also tried 4.6b7 error extra characters after close quote. Any idea how i can load it? i am running the latest verison of eggdrop. thanx.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
m
maverick88
Voice
Posts: 8
Joined: Fri Aug 31, 2007 9:46 am

Post by maverick88 »

also tried 4.6b7: error extra characters after close quote.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

maverick88 wrote:
also tried 4.6b7: error extra characters after close quote.
Then don't add them!

That error is usually caused by Windows editors or a user inadvertently messing the text.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
m
maverick88
Voice
Posts: 8
Joined: Fri Aug 31, 2007 9:46 am

Post by maverick88 »

OK well i downloaded a fresh copy of allprotection 4.6b7 and loaded it straight away. On .rehash i get the same error:

Currently: extra characters after close-quote
Currently: while compiling
Currently: "set bctcr(wmsg) "Warning: You replied with "%vers" for %rtype request, if you don't change your script you'll be kicked from %chan. You have $bctcr(ca..."
Currently: (in namespace eval "::AllProtection" script line 835)
Currently: invoked from within
Currently: "namespace eval AllProtection {
Currently:
Currently: # Basic declarations: (don't touch)
Currently: variable declr
Currently: foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
Currently: (file "scripts/allprotection4.6b7.tcl" line 140)
Currently: invoked from within
Currently: "source $script"

any ideas?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

You do NOT rehash you restart as they are totally different scripts. :D
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

When you add quotes inside quotes, skip them using the '\' character. For example
set bctcr(wmsg) "Warning: You replied with \"%vers\" for %rtype request, if you don't change your script you'll be kicked from %chan..."
m
maverick88
Voice
Posts: 8
Joined: Fri Aug 31, 2007 9:46 am

Post by maverick88 »

OK i restarted the bot and did what sir_fz said and i get this error now:

[17:54] Tcl error in file 'eggdrop.conf':
[17:54] invalid command name "%date"
while executing
"%date"
(in namespace eval "::AllProtection" script line 61)
invoked from within
"namespace eval AllProtection {

# Basic declarations: (don't touch)
variable declr
foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
(file "scripts/allprotection4.6b7.tcl" line 140)
invoked from within
"source scripts/allprotection4.6b7.tcl"
(file "eggdrop.conf" line 1375)

any more ideas? thanx
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Get a fresh copy of the script and DO NOT do anything other that load it into the bot (restart) and THEN via the command console alter your settings (as per included instructions); there is really no need to physically screw around with the script which apparently you are (hence the error).
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
m
maverick88
Voice
Posts: 8
Joined: Fri Aug 31, 2007 9:46 am

Post by maverick88 »

i downloaded a freash copy did nothing to it .restart the bot and i get the same error... :(. *crys*.
Post Reply