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

	<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>2004-04-29T21:28:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Caribou]]></name></author>
		<updated>2004-04-29T21:28:36-04:00</updated>

		<published>2004-04-29T21:28:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35980#p35980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35980#p35980"/>
		<title type="html"><![CDATA[Fatal errors who totally messed up my bot :/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35980#p35980"><![CDATA[
Thanks i will try this, i still don't understand why it crashed, just a little, i have so much to learn <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>Oh and i will come back if i got the same problem again, and will paste more codes of my personal script, maybe i did more mistake <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> <br><br>Thanks for your help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4823">Caribou</a> — Thu Apr 29, 2004 9:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-04-29T13:55:07-04:00</updated>

		<published>2004-04-29T13:55:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35974#p35974</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35974#p35974"/>
		<title type="html"><![CDATA[Fatal errors who totally messed up my bot :/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35974#p35974"><![CDATA[
You are opening two instances of the file when you go to write it... one with your catch clause, and then another below it... also you can't close a file that hasn't been opened due to error, so you may as well just make it:<br><div class="codebox"><p>Code: </p><pre><code>proc write:data { arg } {  if {![catch {set fileId [open data.txt w]}]} {    puts $fileId "$arg"    close $fileId   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Apr 29, 2004 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Caribou]]></name></author>
		<updated>2004-04-29T11:34:12-04:00</updated>

		<published>2004-04-29T11:34:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35972#p35972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35972#p35972"/>
		<title type="html"><![CDATA[Fatal errors who totally messed up my bot :/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35972#p35972"><![CDATA[
Hello guys <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Well i just launched my bot 2days ago on a shell, hes still in tryout but i fixed many bugs, i have to thanks your guys cause if i made it, it was with your helps when i needed.<br><br>But today an ultimate bug messed up the bot, it was impossible to join him on dcc chat after this, were afk, others ops were lost, they just replaced him by an mIRC bot.<br><br>When i came back i checked on logs, and i found thoses errors :<br><br>this one is not the most important but i wanna know what does it mean ?<br>[13:39] Tcl error [pub:ans]: list element in quotes followed by "&lt;" instead of space<br><br>there are those errors who crashed the bot<br>[13:44] Tcl error [pub:ans]: couldn't open "data.txt": too many open files<br>[13:44] couldn't open "modules-1.6.15/oline.so": too many open files<br><br>then someone tried a command like a "Reset"<br>[13:57] Tcl error [pub:erase]: can not find channel named "couldn't open "data.txt": too many open files"<br><br>then some internal errors of the eggdrop, in french<br>[14:00] ERREUR pendant l'écriture de la liste utilisateurs.<br>* Error cannot write user list<br>[15:36] Echec de la tentative de TELNET en cours (Too many open files)<br>* TELNET connection failed (Too many open files)<br>[16:00] ERREUR pendant l'écriture de la liste utilisateurs.<br>* Error cannot write user list<br><br>Someone tried to join him in dcc<br>[16:21] Warning: Can't create new socket!<br>[16:21] Echec de la connexion DCC: CHAT (***********)<br>[16:21]     (Too many open files)<br><br>repeated the same errors each times they tried to connect on dcc.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br><br>i can't understand <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">, maybe i got some problems with opening files and "closing" them properly<br><div class="codebox"><p>Code: </p><pre><code>proc write:data { arg } { if {[catch {open data.txt w} fileId]} {  close $fileId } set fileId [open data.txt w] puts $fileId "$arg" close $fileId}proc read:data { } { set fileId [open data.txt r] set temp [gets $fileId] close $fileId return $temp}</code></pre></div>Oh and sorry for my bad english (again), good luck to decrypt my text lol<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4823">Caribou</a> — Thu Apr 29, 2004 11:34 am</p><hr />
]]></content>
	</entry>
	</feed>
