<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/13483" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-06-11T18:43:58-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/13483</id>

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-11T18:43:58-04:00</updated>

		<published>2007-06-11T18:43:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73446#p73446</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73446#p73446"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73446#p73446"><![CDATA[
I've edited my post above and fixed the typo <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jun 11, 2007 6:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Domin]]></name></author>
		<updated>2007-06-11T16:55:02-04:00</updated>

		<published>2007-06-11T16:55:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73439#p73439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73439#p73439"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73439#p73439"><![CDATA[
Yupp, he does great work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";-)" title="Wink"><br><br>I also corrected my bot with all settings posted here, but i am wondering how my bot gets over 11000 lines in the datafile to this:<br><br>[21:36:08] &lt;@MMonitor&gt; Currently I am tracking 506/1500000 nicks, which comprise 454 unique uhosts.  The oldest record is Coldie^St's, which is from 316 days, 2 hours, 4 minutes ago.<br><br>and then when i ran the same command a few hours later:<br><br>[22:51:28] &lt;@MMonitor&gt; Currently I am tracking 536/1500000 nicks, which comprise 479 unique uhosts.  The oldest record is Coldie^St's, which is from 316 days, 3 hours, 20 minutes ago.<br><br>seems rather strange but perhaps im best off starting on a fresh data file :-/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7855">Domin</a> — Mon Jun 11, 2007 4:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2007-06-11T16:42:54-04:00</updated>

		<published>2007-06-11T16:42:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73437#p73437</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73437#p73437"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73437#p73437"><![CDATA[
Hello Domin<br><br>     My fault, i knew that that Sir_Fz meant $inp insted fo $imp, i corrected in my copy of bseen, but forgot to report it here, sorry.<br><br>     By the way, all the problems that appeared when the database reached the maximum of nicks specied in bseen.tcl, all these problems are solved when i followed the suggestions of Sir_Fz. Big Thanks to him  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8115">Zircon</a> — Mon Jun 11, 2007 4:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Domin]]></name></author>
		<updated>2007-06-11T15:34:44-04:00</updated>

		<published>2007-06-11T15:34:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73434#p73434</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73434#p73434"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73434#p73434"><![CDATA[
<blockquote class="uncited"><div>Here it is, the bot crashed due to misuse of list and string commands. [lindex] is being applied over $inp which is a string (apparently), replace<div class="codebox"><p>Code: </p><pre><code>lindex $imp 0</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>lindex [split $imp] 0</code></pre></div>and try loading it again.</div></blockquote>The nearest match i can find to this line is:<br><br>lindex [split $i<strong class="text-strong">n</strong>p] 0<br><br>Thats an n and not an m in that line, just for the noobs like me that spend a long time looking for the other line <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":-P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7855">Domin</a> — Mon Jun 11, 2007 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2007-05-28T01:12:27-04:00</updated>

		<published>2007-05-28T01:12:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73093#p73093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73093#p73093"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73093#p73093"><![CDATA[
Hello Sir_Fz<br> <br>     U were right from the beginning, i did what u advised me, and now i m not having anymore errors in the partyline ! Once again, u find the solution in no time, thanks very much !<br><br>Also, now when i make .seenstats in the party line, i get the right answer, unlike before. Now i m having this : <br><br>&lt;Anti-Flood&gt; Currently I am tracking 6000/6000 nicks, which comprise 4386 unique uhosts.  The oldest record is TALAL7's, which is from 64 days, 2 hours, 37 minutes ago.<br><br>Whick is correct<br><br>Before, it was saying : &lt;Anti-Flood&gt; Currently I am tracking 6121/6000 nicks...etc<br><br>THANKS VERY MUCH <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8115">Zircon</a> — Mon May 28, 2007 1:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-27T19:57:08-04:00</updated>

		<published>2007-05-27T19:57:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73072#p73072</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73072#p73072"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73072#p73072"><![CDATA[
<blockquote class="uncited"><div>That's odd, works for me, latest version is 1.42c.<br><br>However log shows: [22:37] Tcl error in file 'zirc.conf': I would look in to that script, or temp remove it and try seen script again without the modifications, or start seen database from scratch, maybe one nick was listed corrupted it, who knows.</div></blockquote>Zirc.conf is the name of his eggdrop configuration file and has nothing to do with the error (except for loading the script which has the bug).<blockquote class="uncited"><div>Hi all<br><br>The script is working fine, but i m getting this error in the partyline :<br><br>&lt;Anti-Flood&gt; [12:01] Tcl error [bs_trim]: unmatched open brace in list<br><br>When i type .set errorinfo, i get this :<br><br>&lt;Anti-Flood&gt; [12:08] #Owner# set errorInfo<br>&lt;Anti-Flood&gt; Currently: unmatched open brace in list<br>&lt;Anti-Flood&gt; Currently: while executing<br>&lt;Anti-Flood&gt; Currently: "lindex $bs_list([string tolower $b]) 2"<br>&lt;Anti-Flood&gt; Currently: (procedure "bs_lsortcmd" line 1)<br>&lt;Anti-Flood&gt; Currently: invoked from within<br>&lt;Anti-Flood&gt; Currently: "bs_lsortcmd os|r|s labelle24"<br>&lt;Anti-Flood&gt; Currently: (-compare command)<br>&lt;Anti-Flood&gt; Currently: invoked from within<br>&lt;Anti-Flood&gt; Currently: "lsort -increasing -command bs_lsortcmd $list"<br>&lt;Anti-Flood&gt; Currently: (procedure "bs_trim" line 3)<br>&lt;Anti-Flood&gt; Currently: invoked from within<br>&lt;Anti-Flood&gt; Currently: "bs_trim $_time1 $_time2 $_time3 $_time4 $_time5"<br><br>I have to mention that os|r|s and labelle24 re nicks listed in the database.</div></blockquote>Same problem, replace <strong class="text-strong">lindex $bs_list([string tolower $b]) 2</strong> with <strong class="text-strong">lindex [split $bs_list([string tolower $b])] 2</strong><br><br>Edit: You might want to [split] all occurrences of $bs_list in the script.<blockquote class="uncited"><div>bseen.tcl is a great piece of code, and there shouldn't be any errors in it. Maybe you might wanna try this: save the text files containing all the seen data, remove the tcl, then download a fresh copy. Maybe the errors will disappear like magic <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"></div></blockquote>It is a fine piece of code in deed, but it still has the vulnerability of applying list-commands over strings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 27, 2007 7:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-05-27T14:36:15-04:00</updated>

		<published>2007-05-27T14:36:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73060#p73060</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73060#p73060"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73060#p73060"><![CDATA[
bseen.tcl is a great piece of code, and there shouldn't be any errors in it.  Maybe you might wanna try this: save the text files containing all the seen data, remove the tcl, then download a fresh copy.  Maybe the errors will disappear like magic  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun May 27, 2007 2:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2007-05-27T13:15:06-04:00</updated>

		<published>2007-05-27T13:15:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73058#p73058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73058#p73058"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73058#p73058"><![CDATA[
Hi all<br><br>     The script is working fine, but i m getting this error in the partyline :<br><br>&lt;Anti-Flood&gt; [12:01] Tcl error [bs_trim]: unmatched open brace in list<br><br>When i type .set errorinfo, i get this :<br><br>&lt;Anti-Flood&gt; [12:08] #Owner# set errorInfo<br>&lt;Anti-Flood&gt; Currently: unmatched open brace in list<br>&lt;Anti-Flood&gt; Currently:     while executing<br>&lt;Anti-Flood&gt; Currently: "lindex $bs_list([string tolower $b]) 2"<br>&lt;Anti-Flood&gt; Currently:     (procedure "bs_lsortcmd" line 1)<br>&lt;Anti-Flood&gt; Currently:     invoked from within<br>&lt;Anti-Flood&gt; Currently: "bs_lsortcmd os|r|s labelle24"<br>&lt;Anti-Flood&gt; Currently:     (-compare command)<br>&lt;Anti-Flood&gt; Currently:     invoked from within<br>&lt;Anti-Flood&gt; Currently: "lsort -increasing -command bs_lsortcmd $list"<br>&lt;Anti-Flood&gt; Currently:     (procedure "bs_trim" line 3)<br>&lt;Anti-Flood&gt; Currently:     invoked from within<br>&lt;Anti-Flood&gt; Currently: "bs_trim $_time1 $_time2 $_time3 $_time4 $_time5"<br><br>I have to mention that os|r|s and labelle24 re nicks listed in the database.<br><br>Also, when i type .seenstats, i got :<br><br>&lt;Anti-Flood&gt; Currently I am tracking 6121/6000 nicks, which comprise 4470 unique uhosts.  The oldest record is SANGLIER's, which is from 65 days, 23 hours, 5 minutes ago.<br><br>   Since the size of the database is supposed to be 6000 nicks, how come i m having 6121 nicks ?<br><br>   Can some1 explain the reason i m having this error in the partyline ?<br><br>Thank in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8115">Zircon</a> — Sun May 27, 2007 1:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2007-05-26T22:49:13-04:00</updated>

		<published>2007-05-26T22:49:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73046#p73046</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73046#p73046"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73046#p73046"><![CDATA[
That's odd, works for me, latest version is 1.42c.<br><br>However log shows: [22:37] Tcl error in file 'zirc.conf': I would look in to that script, or temp remove it and try seen script again without the modifications, or start seen database from scratch, maybe one nick was listed corrupted it, who knows.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sat May 26, 2007 10:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-13T16:50:38-04:00</updated>

		<published>2007-05-13T16:50:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72748#p72748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72748#p72748"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72748#p72748"><![CDATA[
Bseen is a very popular script, it shouldn't contain such a vulnerability. Perhaps a new version with this fixed should be released?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 13, 2007 4:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2007-05-13T10:14:25-04:00</updated>

		<published>2007-05-13T10:14:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72734#p72734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72734#p72734"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72734#p72734"><![CDATA[
Hello Sir_Fz<br><br>   Thanks for the help. I did what u advised me, and replaced "lindex $inp 0" by "index [split $inp] 0" and then i loaded the script and restarted the bot. The bot didn't crash this time <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>    i did !seen nickname, and it worked, althought when i made the seen with wildcards, like !seen nick*, i got this error in the partyline :<br><br>&lt;Anti-Flood&gt; [08:38] #Owner# set errorInfo<br>&lt;Anti-Flood&gt; Currently: unmatched open brace in list<br>&lt;Anti-Flood&gt; Currently:     while executing<br>&lt;Anti-Flood&gt; Currently: "lindex $bs_list($item) 0"<br>&lt;Anti-Flood&gt; Currently:     (procedure "bs_seenmask" line 21)<br>&lt;Anti-Flood&gt; Currently:     invoked from within<br>&lt;Anti-Flood&gt; Currently: "bs_seenmask $chan $hand $args"<br>&lt;Anti-Flood&gt; Currently:     (procedure "bs_pubreq" line 9)<br>&lt;Anti-Flood&gt; Currently:     invoked from within<br>&lt;Anti-Flood&gt; Currently: "bs_pubreq $nick $uhost $hand $chan $args 1"<br>&lt;Anti-Flood&gt; Currently:     (procedure "bs_pubreq2" line 1)<br>&lt;Anti-Flood&gt; Currently:     invoked from within<br>&lt;Anti-Flood&gt; Currently: "bs_pubreq2 $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"<br><br>So again i replaced in the script every "lindex $bs_list($item)" by "lindex [split $bs_list($item)]", and now it seems fully working.<br><br>Thanks very much for the help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8115">Zircon</a> — Sun May 13, 2007 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-11T18:39:55-04:00</updated>

		<published>2007-05-13T07:40:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72729#p72729</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72729#p72729"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72729#p72729"><![CDATA[
Here it is, the bot crashed due to misuse of list and string commands. [lindex] is being applied over $inp which is a string (apparently), replace<div class="codebox"><p>Code: </p><pre><code>lindex $inp 0</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>lindex [split $inp] 0</code></pre></div>and try loading it again.<br><br>Edit: corrected typo (imp should be inp)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 13, 2007 7:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2007-05-13T00:03:19-04:00</updated>

		<published>2007-05-13T00:03:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72722#p72722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72722#p72722"/>
		<title type="html"><![CDATA[Error Bass's Seen script.  v1.4.2c]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72722#p72722"><![CDATA[
Hi all<br><br>     I m having an error with bseen1.4.2.tcl. I m using this scripts for months now and it was working perfectly. Two hours ago i did .restart in the partyline, and the bot died with this error : <br><br>[22:37] bseen1.4.2c:  -- Bass's SEEN loaded --<br>[22:37]      Loading seen database...<br>[22:37] Tcl error in file 'zirc.conf':<br>[22:37] unmatched open brace in list<br>    while executing<br>"lindex $inp 0"<br>    (procedure "bs_read" line 27)<br>    invoked from within<br>"bs_read"<br>    invoked from within<br>"if {![info exists bs_list] || [array size bs_list] == 0} {putlog "     Loading                                               seen database..." ; bs_read}"<br>    (file "scripts/bseen1.4.2.tcl" line 144)<br>    invoked from within<br>"source scripts/bseen1.4.2.tcl"<br>    (file "zirc.conf" line 1376)<br>[22:37] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<br><br>    When i erase the database of nicks, the bot starts fine, but whe i put it back, i have always this error. Does someone know the reason of this behavior and how to solve it ? i don't want to start a new database and lose the other one.<br><br>Thanks in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8115">Zircon</a> — Sun May 13, 2007 12:03 am</p><hr />
]]></content>
	</entry>
	</feed>
