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.

cloneflood.tcl by awyeah - problem

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
Devilion
Voice
Posts: 7
Joined: Wed May 04, 2005 8:38 am

cloneflood.tcl by awyeah - problem

Post by Devilion »

(12:28:39) (Bot) [12:32] Tcl error in file 'eggdrop.conf':
(12:28:39) (Bot) [12:32] no such channel record
(12:28:39) (Bot) while executing
(12:28:39) (Bot) "channel set $clone_channel flood-join $clone_join_flood "
(12:28:39) (Bot) ("foreach" body line 1)
(12:28:39) (Bot) invoked from within
(12:28:39) (Bot) "foreach clone_channel $clone_working_channels { channel set $clone_channel flood-join $clone_join_flood }"
(12:28:39) (Bot) (file "scripts/cloneflood.tcl" line 812)
(12:28:39) (Bot) invoked from within
(12:28:39) (Bot) "source scripts/cloneflood.tcl"
(12:28:39) (Bot) (file "eggdrop.conf" line 1361)
(12:28:39) (Bot) [12:32] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Can anyone help me with this?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You should contact the script author before posting here, as far as I know he is available.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

no need to do that, enter valid channels on the line where it says:
set clone_working_channels

so stop posting dump bug reports that result from not reading the config of the script.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
Devilion
Voice
Posts: 7
Joined: Wed May 04, 2005 8:38 am

Post by Devilion »

i have read the config and edited it:
#Set the type of channels you would like this script to work on.
#USAGE: [1/2] (1=USER DEFINED CHANNELS, 2=ALL CHANNELS THE BOT IS ON)
#Use '1' for 'user defined channels' (Will detect clone floods only on the channels defined for the script)
#Use '2' for 'all the channels' the bot is on. (Will detect clone floods on every channel the bot is opped on)
set clone_channel_type "1"

###USE THIS ONLY IF YOU HAVE SET THE PREVIOUS SETTING TO '1'###
#Set this if you have set the previous setting to '1' for user defined channels, if not then you do
#not need to configure this option. Set the channels here on which this script would work.
#USAGE: set clone_channels "#channel1 #channel2 #channel3" (separate each element with a space)
set clone_channels "#Devilion #patatje-oorlog.net"
anything wrong there?
User avatar
dotslasher
Halfop
Posts: 62
Joined: Sun Aug 10, 2003 8:10 pm

Post by dotslasher »

its just a guess, but maybe the script cant read the channel #patatje-oorlog.net properly due to the "." or "-" in the channel name, try with another channel and see if that works.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

I cannot reproduce your error with your given settings on the scripts code (btw. it should brake on whatever the channels are called plus case doesnt matter, either). verify you didnt mistype the channels name. use ".status" to get the channel name your bots stores.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

My guess is either you bot is not currently on those channels -- you haven't added them in yet (if you add them then load it should be fine), the ones you have mentioned hence it cannot chanset the settings. I will try to bind event to prerehash next time and check if the bot is on those channels first, which is a better way.

If the problem still exists, find this line of code and DELETE it from the script:

Code: Select all

foreach clone_channel $clone_working_channels { channel set $clone_channel flood-join $clone_join_flood }
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
awesomeawyeah
Voice
Posts: 4
Joined: Sun Jun 26, 2005 8:40 am
Location: irc.awyeah.org
Contact:

Post by awesomeawyeah »

I think I added a fix on this, download and use this, then let me know:
http://www.coresynk.net/tclscripts/scri ... eflood.zip
Post Reply