<?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/20820" />

	<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>2020-10-29T14:53:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[iller]]></name></author>
		<updated>2020-10-29T14:53:10-04:00</updated>

		<published>2020-10-29T14:53:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109093#p109093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109093#p109093"/>
		<title type="html"><![CDATA[cbc_functions.tcl errors upon loading.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109093#p109093"><![CDATA[
Copy the /lib/random from the script to /usr/lib/ then it works<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8649">iller</a> — Thu Oct 29, 2020 2:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scattywatty]]></name></author>
		<updated>2020-10-18T21:22:28-04:00</updated>

		<published>2020-10-18T21:22:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109082#p109082</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109082#p109082"/>
		<title type="html"><![CDATA[cbc_functions.tcl errors upon loading.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109082#p109082"><![CDATA[
I copied the lib dir that was in the cbc_fucntions portion of the script, not from the main tcllib directory...I believe I need to compile the eggdrop with the tcllib option as you mentioned.  I'll try that and reply back.  Thank you CrazyCat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12886">scattywatty</a> — Sun Oct 18, 2020 9:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-10-18T17:48:34-04:00</updated>

		<published>2020-10-18T17:48:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109081#p109081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109081#p109081"/>
		<title type="html"><![CDATA[cbc_functions.tcl errors upon loading.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109081#p109081"><![CDATA[
Why did you copy the tcllib directory ? It is shared, and I don't think you compile your eggdrop with the --tcllib-dir option.<br>mt_rand is a part of the random package, I'm not sure this package is in tcllib, so you have to downoload this package and add it in a place the eggdrop can find it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Oct 18, 2020 5:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scattywatty]]></name></author>
		<updated>2020-10-18T11:25:11-04:00</updated>

		<published>2020-10-18T11:25:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109080#p109080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109080#p109080"/>
		<title type="html"><![CDATA[cbc_functions.tcl errors upon loading.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109080#p109080"><![CDATA[
running eggdrop 1.8.4 and have the latest tcllib installed, not sure if it's correct in doing so, but copied the lib dir to a new lib dir under my eggdrop install, I load the script and get mt_rand module not found.  any better instructions on enabling this successfully? debian 10 is OS<br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12886">scattywatty</a> — Sun Oct 18, 2020 11:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stomppa]]></name></author>
		<updated>2020-07-19T16:22:49-04:00</updated>

		<published>2020-07-19T16:22:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108754#p108754</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108754#p108754"/>
		<title type="html"><![CDATA[cbc_functions.tcl errors upon loading.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108754#p108754"><![CDATA[
yep. I seem to have solved the issue by installing the latest version to tcllib.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12880">stomppa</a> — Sun Jul 19, 2020 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-07-19T15:25:19-04:00</updated>

		<published>2020-07-19T15:25:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108753#p108753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108753#p108753"/>
		<title type="html"><![CDATA[cbc_functions.tcl errors upon loading.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108753#p108753"><![CDATA[
Did you enable blowfish in your eggdrop.conf ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Jul 19, 2020 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stomppa]]></name></author>
		<updated>2020-07-19T14:24:00-04:00</updated>

		<published>2020-07-19T14:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108752#p108752</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108752#p108752"/>
		<title type="html"><![CDATA[cbc_functions.tcl errors upon loading.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108752#p108752"><![CDATA[
Currently using eggdrop v1.9.0 with tcl 8.6.<br><br>Trying to load cbc_functions.tcl from the Mircryption package and encountering the following issue. The script readme says to place their provided lib folder into the /eggdrop/lib directory, but i don't see any such directory in my current eggdrop directory. <br><br>It also says the blowfish package cannot be found but other scripts that also use blowfish have no problem loading. Perhaps I'm missing something. Any help would be greatly appreciated.<blockquote class="uncited"><div>McEggdrop TCL Helper Functions - settings file loaded.<br>McEggdrop TCL Helper Functions v1.00.29 loaded (replyencrypt noplainreply meowreply automagicon).<br>Tcl error in file 'testdrop.conf':<br>can't find package blowfish<br>    while executing<br>"package require blowfish"<br>    (file "scripts/cbc_functions.tcl" line 14)<br>    invoked from within<br>"source scripts/cbc_functions.tcl"<br>    (file "testdrop.conf" line 1652)<br>* CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)</div></blockquote>contents of the .tcl below.<div class="codebox"><p>Code: </p><pre><code>################################################################################## CBC FUNCTIONS v1.0 for Mircryption 1.11+ by B0unTy © 2005# require TCL 8.4.x+## using : Blowfish Module v1.3 from sourceforge tcllib#         Base64 Module v2.3.1 from sourceforge tcllib#         mt_rand Module v1.0.0 from Frank Pilhofer## updated nov 4, 2006 - bugfix by Ripclaw for cbc_decrypt###################################################################################### REQUIRED PACKAGES FOR CBC FUNCTIONS ####package require blowfishpackage require base64package require mt_rand#### CBC ENCRYPTION FUNCTION ####proc cbc_encrypt {key text} {mt::seed [expr int(rand()*1000000)]set iv [string range [mt::rand] end-7 end]set cbc [::base64::encode -maxlen 0 "$iv[::blowfish::blowfish -mode cbc -dir enc -iv $iv -key $key -- $text]"]return $cbc}#### CBC DECRYPTION FUNCTION ####proc cbc_decrypt {key text} {set x [::base64::decode [string range $text 0 end]] binary scan [::blowfish::blowfish -mode cbc -dir dec -iv [string range $x 0 7] -key $key -- [string range $x 8 end]] A* plainreturn "$plain"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12880">stomppa</a> — Sun Jul 19, 2020 2:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
