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

	<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-10-09T20:23:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[D3matt]]></name></author>
		<updated>2010-10-09T20:23:37-04:00</updated>

		<published>2010-10-09T20:23:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94677#p94677</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94677#p94677"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94677#p94677"><![CDATA[
Thanks for the script, I might try that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11371">D3matt</a> — Sat Oct 09, 2010 8:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-10-02T10:23:34-04:00</updated>

		<published>2010-10-02T10:23:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94613#p94613</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94613#p94613"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94613#p94613"><![CDATA[
Just a few thoughts..<br>Given the nature of established connections over tcp, the IP address can be trusted to remain the same for as long as the connection is established (should the IP change, then the connection would be terminated). Thus, you would only have to update nat-ip whenever your eggdrop connects to a new irc server.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Oct 02, 2010 10:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-10-02T02:57:47-04:00</updated>

		<published>2010-10-02T02:57:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94609#p94609</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94609#p94609"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94609#p94609"><![CDATA[
probably not good to ping people so much :/ You mentioned dyndns, you could try using the same thing they kinda do. only to update you're eggdrop's nat-ip setting to its external one. <div class="codebox"><p>Code: </p><pre><code>package require httpset dnu_url "http://checkip.dyndns.com/"proc dnu {} { global dnu_url nat-ip  set token [http::geturl $dnu_url]  set data [::http::data $token]  set tmp [join [lrange [split $data] end-1 end-1]]  regsub -all -nocase -- {([a-z]|&lt;|\/|&gt;)} "$tmp" "" new_ip  set ::nat-ip $new_ip  ::http::cleanup $token}</code></pre></div> will work, but you just need to find a way to run it. I'd say maybe from a timer or something along them lines. I haven't included a check to test if the IP its getting is the same as the one thats already set, since it wouldn't make any differance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sat Oct 02, 2010 2:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[D3matt]]></name></author>
		<updated>2010-10-01T17:55:32-04:00</updated>

		<published>2010-10-01T17:55:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94604#p94604</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94604#p94604"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94604#p94604"><![CDATA[
I finally got FTP set up with the host, and was able to look at the config file.<br><br>The owners were not set, I set it and now that part works.<br><br>He was trying to use a dyndns domain as the bot's nat-ip which was causing the problems with sending the wrong IP. I changed it and now it works fine.<br><br>The only question is, how else can I deal with the dynamic Ip, besides using /userip to get the bot's IP and using telnet to update the nat-ip? Would pinging the dyndns domain every, say, 24 hours, and grabbing the IP then setting that as the nat-ip be a feasible alternative?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11371">D3matt</a> — Fri Oct 01, 2010 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[D3matt]]></name></author>
		<updated>2010-10-01T16:02:34-04:00</updated>

		<published>2010-10-01T16:02:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94602#p94602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94602#p94602"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94602#p94602"><![CDATA[
Unless he changed it when he uploaded it, all of those are as they should be. I am an owner, so must-be-owner shouldn't affect me, but I'm pretty sure that's 1.<br><br>He said he set the nat-ip to his outside IP last night during our trouble-shooting session, and I think that's when it started sending its IP as 255.255.255.255.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11371">D3matt</a> — Fri Oct 01, 2010 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-10-01T08:19:05-04:00</updated>

		<published>2010-10-01T08:19:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94596#p94596</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94596#p94596"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94596#p94596"><![CDATA[
few things to check for on that one<br>check you have <div class="codebox"><p>Code: </p><pre><code>#unbind dcc n tcl *dcc:tcl#unbind dcc n set *dcc:set</code></pre></div> and not<div class="codebox"><p>Code: </p><pre><code>unbind dcc n tcl *dcc:tclunbind dcc n set *dcc:set</code></pre></div>Also note the settings of <strong class="text-strong">must-be-owner</strong> i often forget this one <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><div class="codebox"><p>Code: </p><pre><code># If you enable this setting, only permanent owners (owner setting) will be# able to use .tcl and .set. Moreover, if you want only let permanent owners# use .dump, then set this to 2.# WARNING: setting this to 0 is a security risk, don't do it unless you trust# your owners enough to give them shell access to the account the bot is# running on. set must-be-owner 1</code></pre></div> lastly if that didn't help any, just make sure that <div class="codebox"><p>Code: </p><pre><code>#set owner "MrLame, MrsLame"</code></pre></div> match you're handle on the bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Oct 01, 2010 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[D3matt]]></name></author>
		<updated>2010-10-01T07:30:27-04:00</updated>

		<published>2010-10-01T07:30:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94594#p94594</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94594#p94594"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94594#p94594"><![CDATA[
Oh, OUTSIDE IP, ok. I didn't notice that bit. I'll pass that on to the server op and see if that helps.<br><br>EDIT: Apparently I can change that with the .set command via telnet. But when I do .set anything it just says "What? You need '.help'. This is rather odd behavior as I am the owner of the bot and it should be working. It says it recognizes me as an owner, but none of my owner commands (.set, .tcl) seem to be working...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11371">D3matt</a> — Fri Oct 01, 2010 7:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-10-01T00:14:51-04:00</updated>

		<published>2010-10-01T00:14:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94590#p94590</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94590#p94590"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94590#p94590"><![CDATA[
use the <strong class="text-strong">nat-ip</strong> settings in youre bots config file<blockquote class="uncited"><div>set nat-ip "127.0.0.1"<br><br>    If you have a NAT firewall (you box has an IP in one of the following ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255, 10.0.0.0-10.255.255.255 and your firewall transparently changes your address to a unique address for your box) or you have IP masquerading between you and the rest of the world, and /dcc chat, /ctcp chat or userfile sharing aren't working, enter your outside IP here. This IP is used for transfers only, and has nothing to do with the my-ip or my-hostname settings. You may still need to set my-ip and/or my-hostname.</div></blockquote> this would be IP Address you would need to telnet to when you want to connect to the bot. (I.E the address of the server the bot is running from).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Oct 01, 2010 12:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[D3matt]]></name></author>
		<updated>2010-09-30T22:36:48-04:00</updated>

		<published>2010-09-30T22:36:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94589#p94589</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94589#p94589"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94589#p94589"><![CDATA[
Apologies for double-posting, but the Bot is now feeding me an IP of 255.255.255.255, which is again, obviously, not right. How do I tell the damn bot to shove the attitude and start telling me <em class="text-italics">accurately</em> what IP it's on? The /whois shows the bot's IP properly (though it's worth mentioning that my IRCop lets me see hidden IPs).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11371">D3matt</a> — Thu Sep 30, 2010 10:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[D3matt]]></name></author>
		<updated>2010-09-30T21:22:07-04:00</updated>

		<published>2010-09-30T21:22:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94588#p94588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94588#p94588"/>
		<title type="html"><![CDATA[Problems with DCCing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94588#p94588"><![CDATA[
I had an Eggdrop running on my computer (localhost), which I was able to connect to fine with /ctcp bot chat. Trying to DCC to it myself always gave an Invalid Port error but I didn't really care because it worked fine the other way.<br><br>But, since my friend and I moved it to his home server farm, I can't DCC to it at all. He can DCC to it fine both ways, but when I do a CTCP, it sends the DCC, but all I get is this:<br><div class="codebox"><p>Code: </p><pre><code>DCC Chat session-Client: HazBot (127.0.1.1)Time: Thu Sep 30 19:38:17 2010-Acknowledging chat request...-Unable to connect-DCC session closed</code></pre></div>Trying to open the DCC myself still gives the Invalid Port error.<br><br>EDIT: We are both using mIRC.<br><br>EDIT2: I just noticed the IP of HazBot. That's clearly the problem, since it's not located at 127.0.1.1, obviously. So how do I get it to try and connect to the right IP?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11371">D3matt</a> — Thu Sep 30, 2010 9:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
