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

	<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>2018-12-05T23:40:39-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2018-12-05T23:40:39-04:00</updated>

		<published>2018-12-05T23:40:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107268#p107268</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107268#p107268"/>
		<title type="html"><![CDATA[My bot  is very slow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107268#p107268"><![CDATA[
before my eggdrop when I restarted it was <strong class="text-strong">2 minutes</strong> working tcl, now with that modification only takes <strong class="text-strong">40 seconds</strong>.<br>the reasons that my eggdrop, before was very slow is because it has 50 active tcl omitting the tcl of trivia<br>and it is in more than 11 channels, all these factors influenced my bot to be slow at the beginning after 2 minutes of start, my bot became stable when using those modifications and a tcl that speeds up the pending tasks and bot became very fast, thus solving the issue of slowness..<br><br>the solutions I found was modifying these options that are by default in the eggdrop.conf:<br><strong class="text-strong">predetermined options that are in eggdrop.conf</strong><div class="codebox"><p>Code: </p><pre><code>set msg-rate 2set max-queue-msg 300set stack-limit 4</code></pre></div>  <br><strong class="text-strong">the modifications that I made</strong><div class="codebox"><p>Code: </p><pre><code>set msg-rate 1       set max-queue-msg 510  set stack-limit 0 </code></pre></div>  <br><strong class="text-strong">This TCL also helped to make the pending tasks more agile, very useful, a theme given by awyeah<br>and the tcl I added it in my eggdrop.conf</strong><div class="codebox"><p>Code: </p><pre><code># Copyright (C) 2003 BarkerJr#  http://forum.egghelp.org/viewtopic.php?t=8238# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USAnamespace eval put {  # Name the queues here.  The further left, the higher priority queues.  set queues [list akill kill echo ctcp2 ctcp msg warn]  # Script begins here (nothing to do below here).  foreach q $queues {    if {![info exists queue($q)]} { set queue($q) {} }  }  unset -nocomplain -- q  proc serv {q text} {    variable queue    variable errorInfo    if {![info exists queue($q)]} {      set errorInfo "No such queue named: $q"      return 1    }    if {[lsearch -exact $queue($q) $text] != -1} {      set errorInfo "Already exists in queue ($q): $text"      return 2    }    lappend queue($q) $text    return 0  }  foreach timer [utimers] {    if {[lindex $timer 1] == {put::bisecondly}} { killutimer [lindex $timer 2] }  }  if {[info exists timer]} { unset -nocomplain -- timer }  utimer 2 put::bisecondly  proc bisecondly {} {    variable queues    variable queue    foreach q $queues {      if {[llength $queue($q)]} {        putserv [lindex $queue($q) 0]        set queue($q) [lreplace $queue($q) 0 0]        utimer 2 put::bisecondly        return      }    }    utimer 2 put::bisecondly  }  bind dcc - qstat put::queuestat  proc queuestat {hand idx text} {    variable queues    variable queue    putdcc $idx {Queue      Lines}    putdcc $idx {=================}    foreach q $queues {      putdcc $idx "[format %-10s $q] [format %5i [llength $queue($q)]]"    }    putdcc $idx {=================}  }  proc uninstall {} {    unbind dcc - qstat put::queuestat    foreach timer [utimers] {      if {[lindex $timer 1] == {put::bisecondly}} { killutimer [lindex $timer 2] }    }    namespace delete [namespace current]  }}putlog "agilizador de ordenes en colas pendientes."</code></pre></div><strong class="text-strong">I am very happy because my eggdrop was very fast again ..</strong><br><span style="color:orange">I thought before the problem of slowness was a tcl that was perhaps causing failures</span>, which was discarded because in these 10 days of extreme tests tcl by tcl that none gave failures so by failures of tcl was not the problem of the slowness.<br>Problem solved  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Wed Dec 05, 2018 11:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2017-06-21T16:26:31-04:00</updated>

		<published>2017-06-21T16:26:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106336#p106336</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106336#p106336"/>
		<title type="html"><![CDATA[My bot  is very slow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106336#p106336"><![CDATA[
Delete the kantuta<span style="color:red">.chan</span> and without activating any setudef flag or .chanset #chan +<br>And when I enter my bot into irc and the channel the bot was again quick to respond to requests either .ping or other<br>In sistesis the detail of my bot is very slow is because it has many activations in kantuta<span style="color:red">.chan</span> via partyline using the setudef flag or .chanset #chan +<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Wed Jun 21, 2017 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2017-06-21T16:27:58-04:00</updated>

		<published>2017-06-21T16:16:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106335#p106335</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106335#p106335"/>
		<title type="html"><![CDATA[My bot  is very slow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106335#p106335"><![CDATA[
hi caesar<br>I found the bug is in the file kantuta<span style="color:red">.chan</span><br>To much use the activation by partyline in .chanset #chan +<br>That makes the bot saturate and late in responding some tcl<br>The bot responds after 2 minutes that I enter the irc<div class="codebox"><p>Code: </p><pre><code>#Dynamic Channel File for Kantutina (eggdrop v1.8.0+preinit) -- written Sat Apr 22 14:00:00 2017channel add #cremacamba { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #cremacamba -udef-flag-mc.whochannel set #cremacamba +udef-flag-whereischannel set #cremacamba +udef-flag-whoischannel set #cremacamba +udef-flag-cswelcomechannel set #cremacamba -udef-flag-masscmdchannel add #lapaz { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #lapaz -udef-flag-mc.whochannel set #lapaz +udef-flag-whereischannel set #lapaz +udef-flag-whoischannel set #lapaz +udef-flag-cswelcomechannel set #lapaz -udef-flag-masscmdchannel add #beni2 { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #beni2 -udef-flag-mc.whochannel set #beni2 -udef-flag-whereischannel set #beni2 +udef-flag-whoischannel set #beni2 +udef-flag-cswelcomechannel set #beni2 -udef-flag-masscmdchannel add #ayudas { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #ayudas -udef-flag-mc.whochannel set #ayudas -udef-flag-whereischannel set #ayudas +udef-flag-whoischannel set #ayudas -udef-flag-cswelcomechannel set #ayudas -udef-flag-masscmdchannel add #potosi { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #potosi -udef-flag-mc.whochannel set #potosi -udef-flag-whereischannel set #potosi +udef-flag-whoischannel set #potosi -udef-flag-cswelcomechannel set #potosi -udef-flag-masscmdchannel add #cochabamba { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #cochabamba -udef-flag-mc.whochannel set #cochabamba +udef-flag-whereischannel set #cochabamba +udef-flag-whoischannel set #cochabamba -udef-flag-cswelcomechannel set #cochabamba -udef-flag-masscmdchannel add #chile { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #chile -udef-flag-mc.whochannel set #chile -udef-flag-whereischannel set #chile +udef-flag-whoischannel set #chile -udef-flag-cswelcomechannel set #chile -udef-flag-masscmdchannel add #SantaCruz { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #SantaCruz -udef-flag-mc.whochannel set #SantaCruz +udef-flag-whereischannel set #SantaCruz +udef-flag-whoischannel set #SantaCruz +udef-flag-cswelcomechannel set #SantaCruz -udef-flag-masscmdchannel add #beni { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #beni -udef-flag-mc.whochannel set #beni +udef-flag-whereischannel set #beni +udef-flag-whoischannel set #beni -udef-flag-cswelcomechannel set #beni -udef-flag-masscmdchannel add #Trinidad { chanmode +tn-ki idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:90 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #Trinidad -udef-flag-mc.whochannel set #Trinidad -udef-flag-whereischannel set #Trinidad +udef-flag-whoischannel set #Trinidad -udef-flag-cswelcomechannel set #Trinidad -udef-flag-masscmdchannel add #bolivia2 { chanmode +tn-ki idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:90 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }channel set #bolivia2 -udef-flag-mc.whochannel set #bolivia2 -udef-flag-whereischannel set #bolivia2 +udef-flag-whoischannel set #bolivia2 -udef-flag-cswelcomechannel set #bolivia2 -udef-flag-masscmd</code></pre></div>The solution would be to increase the loading speed of the file kantuta<span style="color:red">.chan</span><br>Friend caesar is there any way to quickly load the kantuta<span style="color:red">.chan</span> file so my bot is not slow<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Wed Jun 21, 2017 4:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2017-05-15T13:29:36-04:00</updated>

		<published>2017-05-15T13:29:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106263#p106263</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106263#p106263"/>
		<title type="html"><![CDATA[My bot  is very slow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106263#p106263"><![CDATA[
Friend will not have a command in partyline to see how tcl works or show that tcl is consuming resources it is possible to see that with commands in partyline or dcc.<br><br>ok caesar thanks<br>I will check the tcl all and load in two by two to see that tcl is giving errors..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Mon May 15, 2017 1:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2017-05-15T02:02:32-04:00</updated>

		<published>2017-05-15T02:02:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106260#p106260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106260#p106260"/>
		<title type="html"><![CDATA[My bot  is very slow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106260#p106260"><![CDATA[
Most likely you have some TCL scripts that are causing problems. Try with removing them all and see if there's a difference and then load them one by one until you notice the lag is back. When you find the culprit fix or remove it. Simple as that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon May 15, 2017 2:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2017-05-14T20:01:01-04:00</updated>

		<published>2017-05-14T20:01:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106259#p106259</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106259#p106259"/>
		<title type="html"><![CDATA[My bot  is very slow]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106259#p106259"><![CDATA[
My bot before was very fast, now that adding more channels is very slow.<br>My eggdrop when it was on 3 channels was very fast, (it only took 15 seconds to respond requests), and for two weeks I added 3 more channels, ie my bot is now on 6 channels, now it takes about two minutes to work or respond Tcl requests.<br>It seems that when adding more channels the bot takes or is slow<br>Some friend that help me to make my bot fast as before.<br><br><span style="color:red">In summary</span> it seems that when adding more than five channels to the bot this influences that the bot is very slow, some friend who teaches me to solve this slowness by adding more than five channels.<br><br>  help please<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Sun May 14, 2017 8:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
