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

	<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>2005-07-02T20:30:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dataforce]]></name></author>
		<updated>2005-07-02T20:30:43-04:00</updated>

		<published>2005-07-02T20:30:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51692#p51692</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51692#p51692"/>
		<title type="html"><![CDATA[Query about &quot;setudef str&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51692#p51692"><![CDATA[
Strangely:<br><br>Other names seem to work fine, and renameing the udef made it work :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6334">Dataforce</a> — Sat Jul 02, 2005 8:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-02T10:48:23-04:00</updated>

		<published>2005-07-02T10:48:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51664#p51664</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51664#p51664"/>
		<title type="html"><![CDATA[Query about &quot;setudef str&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51664#p51664"><![CDATA[
well then it might have something to do with truncating parameters of [channel add]; barring a patch in Tcl itself, you can't do anything about it<br><br>I'd recommend redesigning your script in such way it no longer requires such lengthy udefs<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jul 02, 2005 10:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dataforce]]></name></author>
		<updated>2005-07-02T10:05:10-04:00</updated>

		<published>2005-07-02T10:05:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51660#p51660</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51660#p51660"/>
		<title type="html"><![CDATA[Query about &quot;setudef str&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51660#p51660"><![CDATA[
At first I thought the same, so i recoded the encryption i use, and now when i store this:<blockquote class="uncited"><div>bcibegceidbbbehbpagbkaoedamacbgbpboemalebbfbibkfhecaeanalbhanah<br>ajamekbpbdaggkbagpehchffacbhbmboedafcbbdagaaakekabaceldgagfhbc<br>bcengiabceecdkakagageeehaabkaefcbefgejagakbhehbgenajaefdfbajacbd<br>abbdajegegbhalbafbagefbhalbdabbiagakagaafabhamalaefbenaiadanbnap<br>aeecekacacelbmbmehbdaceibmbmeeecanabadfhfkegeagdbghdamacbgb<br>pboemalebbfbibkfhecaeanalbhanahajamekbpbmadbpajagalfmbkchapak<br>andhebahabbpeghpfggge</div></blockquote>after rehashing, it now only has this:<blockquote class="uncited"><div>bcibegceidbbbehbpagbkaoedamacbgbpboemalebbfbibkfhecaeanalbhanah<br>ajamekbpbdaggkbagpehchffacbhbmboedafcbbdagaaakekabaceldgagfhbc<br>bcengiabceecdkakagageeehaabkaefcbefgejagakbhehbgenajaefdfbajacbd<br>abbdajegegbhalbafbagefbhalbdabbiagakagaafabhamalaefbenaiadanbnap<br>aeecekacace</div></blockquote>(all on one line, i split it up so as not to mess up the layout)<br><br><br>Interestingly, the channels file itself has the full string, but when using channel get , it only returns the truncated string<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6334">Dataforce</a> — Sat Jul 02, 2005 10:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-02T02:41:19-04:00</updated>

		<published>2005-07-02T02:41:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51645#p51645</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51645#p51645"/>
		<title type="html"><![CDATA[Query about &quot;setudef str&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51645#p51645"><![CDATA[
nope, there's no limit<br><br>my guess is your encrypted udef string contains ^Z character, which is EOF (end-of-file) terminator for the Tcl_EvalFile() function that eggdrop uses to read and interpret a Tcl script (the chanfile is actually a script, just like eggdrop.conf)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jul 02, 2005 2:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dataforce]]></name></author>
		<updated>2005-07-02T00:37:06-04:00</updated>

		<published>2005-07-02T00:37:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51640#p51640</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51640#p51640"/>
		<title type="html"><![CDATA[Query about &quot;setudef str&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51640#p51640"><![CDATA[
Is there a limit to the length of a string when storing it in a udef-str ?<br><br>The strings seem to be randomly truncated when i rehash the bot. (its storing a 400 char long encrypted string)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6334">Dataforce</a> — Sat Jul 02, 2005 12:37 am</p><hr />
]]></content>
	</entry>
	</feed>
