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

	<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>2002-09-20T03:49:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-20T03:49:37-04:00</updated>

		<published>2002-09-20T03:49:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11154#p11154</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11154#p11154"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11154#p11154"><![CDATA[
This proposal of opening a dcc connection sounds interresting. <br><br>stdragon: You can find an example of the data in my module in the thread "Speedup of printout".<br><br>stdragon, egghead: I would be very greatfull if it would be possible for You to help me with just and example of how to establish a dcc connection with the client. Please post it in the thread "Speedup of printout", since thats the most appropriate one for this matter.<br><br>Thanks in advance.<br><br>// M0dj0<p>Statistics: Posted by Guest — Fri Sep 20, 2002 3:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-18T06:28:30-04:00</updated>

		<published>2002-09-18T06:28:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11058#p11058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11058#p11058"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11058#p11058"><![CDATA[
If you're sending the same data to multiple users, you could set up a delay so that when someone types your trigger, it waits 15 seconds before it starts sending. Then if someone else types it before then, it just sends the same privmsg to both people (a lot lower penalty).<br><br>It's hard to say how you should optimize it without knowing what the data is, though.<br><br>The dcc chat is probably the most versatile idea, since you can send basically an unlimited number of lines, with only a few second delay on the server (privmsg to establish chat). Of course a file send would work as well.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Sep 18, 2002 6:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2002-09-18T05:46:17-04:00</updated>

		<published>2002-09-18T05:46:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11055#p11055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11055#p11055"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11055#p11055"><![CDATA[
<blockquote class="uncited"><div>This is a very interresting topic for me aswell. In my case, my module keeps the information in an array with 10 elements. The information in the array is updated once every 24h. Users can type a trigger in a channel to get a print out of the information stored in the array. <br><br>I have the same issues that techie talks about. Any suggestions how to "speed" it up if multiple users use the trigger atonce ?<br><br>Hopefully it will be used in a channel with alot of people using it so some kind of "parallellism" would be nice to achive.<br><br>// M0dj0</div></blockquote>As ppslim explained for output messaging through an IRC server you are bound to the queue system of the bot and the penalty system of the IRC server.<br> <br>There are other ways however to publish larger amounts of data. For example:<br>- upon a public trigger, open a DCC connection with the client, dump out the data and close the DCC connection.<br>- more or less the same as above: create a listening port where people can connect to with a telnet client and dump out the data there.<br>- let your bot create a web page and serve that one up with a http server. Or let the bot act directly as a http server.<br>- if most of the channel members sooner or later will request the data, instead of dumping out the data to a nick, dump it out to the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Wed Sep 18, 2002 5:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-18T05:15:33-04:00</updated>

		<published>2002-09-18T05:15:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11053#p11053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11053#p11053"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11053#p11053"><![CDATA[
It would be possible to do load ballancing, where you share the load between 2 or more bots.<br><br>The best method is using a linked botnet.<br><br>Instead of outputiing information to the server in the function called by the bind. You would have one bot, cycling through a list of bots, and informing them that they should output data tot he server.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Sep 18, 2002 5:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-18T05:09:23-04:00</updated>

		<published>2002-09-18T05:09:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11051#p11051</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11051#p11051"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11051#p11051"><![CDATA[
Ok ... guess I cant do much about it, if I choose to be nice <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">. People just have to wait until the get served.<br><br>Thanx again ...<br><br>// M0dj0<p>Statistics: Posted by Guest — Wed Sep 18, 2002 5:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-18T05:03:33-04:00</updated>

		<published>2002-09-18T05:03:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11048#p11048</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11048#p11048"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11048#p11048"><![CDATA[
Eggdrop is not threaded, and can't run 2 commands at once.<br><br>It works using normal loops<br><blockquote class="uncited"><div>LOOP START<br>checking incoming messages from the server<br>call each bind individualy based on incoming text<br>check incoming partyline activity<br>send some queued messages<br>clean somthing up<br>LOOP REPEAT</div></blockquote>(Not very precise)<br><br>As such, eggdrop will only process one user message a time.<br><br>It's not likely to be a problem with speeding your code up, or making things work in any sort of paralel M0dj0.<br><br>This sounds more like the queues that it outputs too.<br><br>If on the first call to the script, it outputs 15 lines, the second time around, it add's another 15 lines.<br><br>As such, this is now 30 lines in the queue, which is run through one by one, in order.<br><br>As noted in another thread, you could, using your own code, find a way to get around this. But IRC servers class all text, globaly as a flood.<br><br>IE<br>They don't use 2 seperate flood couters, for different nicknames you are sending too.<br>So if the flood detector on the IRC server is set to 16 lines (not likely, it's just an example), simply outputting your 30 lines in the queue will flood you off, because the messages are counted globaly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Sep 18, 2002 5:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-18T03:51:17-04:00</updated>

		<published>2002-09-18T03:51:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11044#p11044</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11044#p11044"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11044#p11044"><![CDATA[
This is a very interresting topic for me aswell. In my case, my module keeps the information in an array with 10 elements. The information in the array is updated once every 24h. Users can type a trigger in a channel to get a print out of the information stored in the array. <br><br>I have the same issues that techie talks about. Any suggestions how to "speed" it up if multiple users use the trigger atonce ?<br><br>Hopefully it will be used in a channel with alot of people using it so some kind of "parallellism" would be nice to achive.<br><br>// M0dj0<p>Statistics: Posted by Guest — Wed Sep 18, 2002 3:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-17T11:09:37-04:00</updated>

		<published>2002-09-17T11:09:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11012#p11012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11012#p11012"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11012#p11012"><![CDATA[
This all depends how you go about doing things in the module. Is it a C module or Tcl script (whiles both are modules, due tot he fact, they plugin to eggdrop, wihtout being required in the first place).<br><br>How are you going about getting information about the user?<br><br>Is it information that is stored with the userfile, or is it obtained from another location?<br><br>If another location, how are you obtaining it, and can it be mass downloaded?<br><br>Eggdrop is not threaded, and as such, it can only do one task at a time, in the order eggdrop gets around to doing it.<br><br>It would all depend on where the infoormation is from and how you go about getting it. Once this is known, we can look at ways of queuing both curent and future requests.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Sep 17, 2002 11:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-17T10:57:55-04:00</updated>

		<published>2002-09-17T10:57:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11009#p11009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11009#p11009"/>
		<title type="html"><![CDATA[Eggdrop can just do one thing at once?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11009#p11009"><![CDATA[
ive wrote an module that people can get infomation about a user.<br>the problem is that it have to wait to the other is finished before it could start on the another one if two user is requesting info at once.<br>how could i solve that?<p>Statistics: Posted by Guest — Tue Sep 17, 2002 10:57 am</p><hr />
]]></content>
	</entry>
	</feed>
