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 

Flood Protection not working!
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
maverick88
Voice


Joined: 31 Aug 2007
Posts: 8

PostPosted: Fri Aug 31, 2007 9:55 am    Post subject: Flood Protection not working! Reply with quote

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
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Fri Aug 31, 2007 10:13 am    Post subject: Reply with quote

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.
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
maverick88
Voice


Joined: 31 Aug 2007
Posts: 8

PostPosted: Fri Aug 31, 2007 10:53 am    Post subject: Reply with quote

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


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Fri Aug 31, 2007 3:35 pm    Post subject: Reply with quote

from allprotection.tcl:
Code:
## 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}

_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Sep 02, 2007 6:44 am    Post subject: Reply with quote

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

- Opposing

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


Joined: 31 Aug 2007
Posts: 8

PostPosted: Sun Sep 02, 2007 4:04 pm    Post subject: Reply with quote

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


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

PostPosted: Sun Sep 02, 2007 7:41 pm    Post subject: Reply with quote

AllProtection.tcl (Current Beta: v4.6b7)
Upgrade!
_________________
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
maverick88
Voice


Joined: 31 Aug 2007
Posts: 8

PostPosted: Sun Sep 02, 2007 9:29 pm    Post subject: Reply with quote

Quote:
also tried 4.6b7: error extra characters after close quote.
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Sun Sep 02, 2007 10:09 pm    Post subject: Reply with quote

maverick88 wrote:
Quote:
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
Back to top
View user's profile Send private message Visit poster's website
maverick88
Voice


Joined: 31 Aug 2007
Posts: 8

PostPosted: Mon Sep 03, 2007 7:59 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Mon Sep 03, 2007 8:39 pm    Post subject: Reply with quote

You do NOT rehash you restart as they are totally different scripts. Very Happy
_________________
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 Sep 04, 2007 8:56 am    Post subject: Reply with quote

When you add quotes inside quotes, skip them using the '\' character. For example
Quote:
set bctcr(wmsg) "Warning: You replied with \"%vers\" for %rtype request, if you don't change your script you'll be kicked from %chan..."

_________________
Follow me on GitHub

- Opposing

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


Joined: 31 Aug 2007
Posts: 8

PostPosted: Tue Sep 04, 2007 12:03 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Tue Sep 04, 2007 6:17 pm    Post subject: Reply with quote

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


Joined: 31 Aug 2007
Posts: 8

PostPosted: Tue Sep 04, 2007 7:28 pm    Post subject: Reply with quote

i downloaded a freash copy did nothing to it .restart the bot and i get the same error... Sad. *crys*.
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 1, 2  Next
Page 1 of 2

 
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