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

	<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>2010-07-21T20:59:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-21T20:59:03-04:00</updated>

		<published>2010-07-21T20:59:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93616#p93616</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93616#p93616"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93616#p93616"><![CDATA[
Yeah. Considering we get new music (legally, from the labels!) weekly, keeping a db in sync would be a pain.<br><br>I'll try out globbing though. Anything to shave off a few seconds. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Thanks again!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Wed Jul 21, 2010 8:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-21T13:39:43-04:00</updated>

		<published>2010-07-21T13:39:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93613#p93613</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93613#p93613"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93613#p93613"><![CDATA[
To use the <strong class="text-strong">glob</strong> command, start by reading the manpage <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/glob.htm" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/glob.htm</a><br><br>Optimizing a search-set of 471,000+ files with simple file operations is not a simple task. You could look at using some kind of DB storage like mysql for that (though this brings a different issue of sync:ing the database and files...).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Jul 21, 2010 1:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-20T20:46:49-04:00</updated>

		<published>2010-07-20T20:46:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93605#p93605</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93605#p93605"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93605#p93605"><![CDATA[
I don't know why, but it's working now.<br><br>Next question... How can I optimize the search function? It was mentioned up-thread to use glob, but I have no clue how to do that, and my DJs are searching through 471,000+ files.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Tue Jul 20, 2010 8:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-20T17:25:14-04:00</updated>

		<published>2010-07-20T17:25:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93603#p93603</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93603#p93603"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93603#p93603"><![CDATA[
That would suggest that the client closes the connection prematurely. Unfortunately, I don't have any good ideas as to why right now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Jul 20, 2010 5:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-20T17:06:58-04:00</updated>

		<published>2010-07-20T17:06:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93602#p93602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93602#p93602"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93602#p93602"><![CDATA[
Ok, changed it to the router's address, and it works, except for one little problem...<br><div class="codebox"><p>Code: </p><pre><code>&lt;FredGibson&gt; [17:03] Sending /mnt/music/C/Collective Soul/Collective Soul - Better Now.mp3 to DJCharlie.&lt;FredGibson&gt; [17:04] Lost dcc get Collective_Soul_-_Better_Now.mp3 from DJCharlie!irc</code></pre></div>Client side shows this:<br><div class="codebox"><p>Code: </p><pre><code>* DCC RECV connection established to FredGibson [67.140.173.178:4500]* DCC RECV Collective_Soul_-_Better_Now.mp3 from FredGibson complete [67720 cps]</code></pre></div>But the file never actually makes it to the destination.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Tue Jul 20, 2010 5:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-20T17:04:09-04:00</updated>

		<published>2010-07-20T17:04:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93601#p93601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93601#p93601"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93601#p93601"><![CDATA[
As I recall, nat-ip has to be an IP address. Thus, you'd have to alter this setting each time your public IP address changes. You could use the init-server evnt binding to update the nat-ip value on the fly, using some creative scripting though...<br><br>This scriptlet should retrieve the IP from the foobar.dyndns.org hostname and update nat-ip everytime your eggdrop connects to a server...<div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server evnt:init_serverproc evnt:init_server {type} {  dnslookup foobar.dyndns.org evnt:got_dnsreply}proc evnt:got_dnsreply {ip hostname status} {  if {$status == 1} {    set nat-ip $ip  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Jul 20, 2010 5:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-20T16:53:16-04:00</updated>

		<published>2010-07-20T16:53:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93600#p93600</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93600#p93600"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93600#p93600"><![CDATA[
But what do I do when the IP changes, since it's dynamic? Can I set it to the dyndns-supplied domainname?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Tue Jul 20, 2010 4:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-20T16:36:06-04:00</updated>

		<published>2010-07-20T16:36:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93597#p93597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93597#p93597"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93597#p93597"><![CDATA[
Well, looking at that .dccstatus output, it would seem your eggdrop is behind a masquerading router.<div class="codebox"><p>Code: </p><pre><code>...&lt;FredGibson&gt; 14   C0A8000B  1026 DJCharlie JCharlie@kjsr.net chat  flags: cPtEp/0 ...</code></pre></div>C0A8000B translates to 192.168.0.11, which is within the 192.168.0.0/16 net dedicated for private networks, and which cannot be present on the internet. Since your eggdrop can see this address, it would thus also have to reside within the same network, behind a masquerading router (NAT).<br><br>There are several ways of checking your public IP. Unless your irc network cloaks your true hostname, simply check the host part of your eggdrop's nick!user@host. You could also visit <a href="http://checkip.dyndns.org" class="postlink">http://checkip.dyndns.org</a> using a browser located behind the very same NAT. You could also do a DNS-lookup of the dyndns hostname, as long as this is kept updated by your router.<br><br>Once you have the IP address, you'll have to set <em class="text-italics">nat-ip</em> to that address, and rehash.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Jul 20, 2010 4:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-20T16:26:49-04:00</updated>

		<published>2010-07-20T16:26:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93596#p93596</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93596#p93596"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93596#p93596"><![CDATA[
As far as I know, the router isn't masquerading. How can I find out what IP the eggdrop is claiming?<br><br>The server it's on DOES have a domain name (provided by dyndns) if that helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Tue Jul 20, 2010 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-20T13:15:29-04:00</updated>

		<published>2010-07-20T13:15:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93592#p93592</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93592#p93592"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93592#p93592"><![CDATA[
Speechles,<br>Think again. The error rather suggests that the irc client was unable to connect to the eggdrop. This usually suggests that the eggdrop sends the incorrect IP address with the DCC SEND request - running the eggdrop behind a masquerading router/firewall and not setting the nat-ip setting properly often causes this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Jul 20, 2010 1:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-20T09:06:17-04:00</updated>

		<published>2010-07-20T09:06:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93590#p93590</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93590#p93590"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93590#p93590"><![CDATA[
So how do I fix it? So far I've not found a single user who can get a file transfer to work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Tue Jul 20, 2010 9:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-07-20T05:39:09-04:00</updated>

		<published>2010-07-20T05:39:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93588#p93588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93588#p93588"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93588#p93588"><![CDATA[
<blockquote class="uncited"><div>* DCC RECV connect attempt to FredGibson failed (err=Connection refused)<br><br>Does that help any?</div></blockquote>Your refusing the send. Most IRC clients won't auto-accept and they certainly won't come preset to auto-accept *.mp3. So the problem isn't your bot at all, although the code I gave you will indicate to users when it is your bots fault. The problem is entirely the receiving clients fault.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Tue Jul 20, 2010 5:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-19T21:54:06-04:00</updated>

		<published>2010-07-19T21:54:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93586#p93586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93586#p93586"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93586#p93586"><![CDATA[
Well, tried using XChat, and got this:<br><div class="codebox"><p>Code: </p><pre><code>!fetch Collective Soul - Better Now-FredGibson- Searching for Collective Soul - Better Now. Please stand by...-FredGibson- Sending you /mnt/music/C/Collective Soul/Collective Soul - Better Now.mp3* FredGibson has offered Collective_Soul_-_Better_Now.mp3 (3115136 bytes)* DCC RECV connect attempt to FredGibson failed (err=Connection refused)</code></pre></div>Does that help any?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Mon Jul 19, 2010 9:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-19T14:05:13-04:00</updated>

		<published>2010-07-19T14:05:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93585#p93585</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93585#p93585"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93585#p93585"><![CDATA[
set xfer-timeout 90<br><br>How would I grab the request/notice? I'm running mIRC.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Mon Jul 19, 2010 2:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-19T13:58:11-04:00</updated>

		<published>2010-07-19T13:58:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93584#p93584</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93584#p93584"/>
		<title type="html"><![CDATA[invalid command name? [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93584#p93584"><![CDATA[
Could you check the value of <em class="text-italics">xfer-timeout</em>?<br>Also, see if you can grap the DCC SEND ctcp request/notice from your irc client, and validate that the correct IP is sent in the request.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Jul 19, 2010 1:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
