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

	<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>2009-06-09T07:42:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[jnksto]]></name></author>
		<updated>2009-06-09T07:42:40-04:00</updated>

		<published>2009-06-09T07:42:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89142#p89142</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89142#p89142"/>
		<title type="html"><![CDATA[Can't get bot to connect.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89142#p89142"><![CDATA[
This should create a bot named nexe_bot that connects and joins channel #jinksto.  It never gets past the initial connection.   <br><br>Apologies if I've missed something obvious or FAQ worthy.  I've been through all of the FAQs that I could find and I've completely trashed everything and started over.  I've walked through the config completely many many times.  I'm at a loss. <br><br>Thoughts on next steps are greatly appreciated and comments on better, more secure configuration options will be humbly accepted.  <br><br>Notes:<br><br>I've tried all different server types (0-5) just to make sure that's not the problem  No luck there.  <br><br>I've tried .console +rv but don't get any more information than I get out of running with -n<br><br>I've added comments below where I've changed or masked the output for security.  In all cases the items are what I think they should be.  <br><br>I've changed userid to be both the bot name on IRC and my unix loginid (for identd(?).  Not exactly sure on which this should be but I get exactly the same result for either setting.<br><br><br><br><br><div class="codebox"><p>Code: </p><pre><code># changed for security.  I've tried both the bot name and my shell account name (for identd purposes?)set username "loginname"#changed for security.  Valid contact info on the IRC servers.set admin "nickname &lt;email: valid@email.com&gt;"set network "irc.us.glowfish.de"set timezone "EST"set offset "-5"#valid vhost name and IPset my-hostname "jinksto.com"set my-ip "70.40.203.247"set max-logs 5set max-logsize 5000set quick-logs 0set raw-log 1# Tried several settings here.  The logs get created with no problem, example below.logfile mco * "logs/eggdrop.log"logfile mcobxs * "logs/nexe_bot.log"logfile jkp #jinksto "jinksto.log"set log-time 1set keep-all-logs 0set logfile-suffix ".%d%b%Y"set switch-logfiles-at 300set quiet-save 0set console "mkcobxrs"# I was able to telnet to the local server port to create this.set userfile "nexe_bot.user"set sort-users 1set help-path "help/"set text-path "text/"set temp-path "/tmp"set motd "text/motd"set telnet-banner "text/banner"set userfile-perm 0600# Edited for security.  Valid port.  I am able to connect to the console   listen xxxx usersset remote-boots 0set share-unlinks 1set protect-telnet 1set dcc-sanitycheck 0set ident-timeout 5set require-p 1set open-telnets 1set stealth-telnets 1set use-telnet-banner 0set connect-timeout 15set dcc-flood-thr 9set telnet-flood 5:60set paranoid-telnet-flood 1set resolve-timeout 15set ignore-time 15set hourly-updates 39#edited for security, valid IRC nicknames on the system.set owner "valid1, valid2"#edited for security, valid IRC nickname on the system also owner1 aboveset notify-newusers "valid1"set default-flags ""set whois-fields "url birthday"set die-on-sighup 0set die-on-sigterm 1unbind dcc n tcl *dcc:tclunbind dcc n set *dcc:setset must-be-owner 1unbind dcc n simul *dcc:simulset max-dcc 50set allow-dk-cmds 1set dupwait-timeout 5set mod-path "modules/"loadmodule blowfishloadmodule dnsloadmodule channelsset chanfile "nexe_bot.chan"set force-expire 0set share-greet 0set use-info 1set global-flood-chan 10:60set global-flood-deop 3:10set global-flood-kick 3:10set global-flood-join 5:60set global-flood-ctcp 3:60set global-flood-nick 5:60set global-aop-delay 5:30set global-idle-kick 0set global-chanmode "nt"set global-stopnethack-mode 0set global-revenge-mode 0set global-ban-time 120set global-exempt-time 60set global-invite-time 60set global-chanset {        -autoop         -autovoice        -bitch          +cycle        +dontkickops    +dynamicbans        +dynamicexempts +dynamicinvites        -enforcebans    +greet        -inactive       -nodesynch        -protectfriends +protectops        -revenge        -revengebot        -secret         -seen        +shared         +statuslog        +userbans       +userexempts        +userinvites    -protecthalfops        -autohalfop}#Test channel.  Doesn't matter because the bot never actually gets on the system.    channel add #jinksto {      chanmode "+nt-likm"      idle-kick 0      stopnethack-mode 0      revenge-mode 0      ban-time 120      exempt-time 60      invite-time 60      aop-delay 5:30#default settings.  Strings changed in use but, again, we never get this far.      need-op { putserv "PRIVMSG #jinksto :op me cos i'm lame!" }      need-invite { putserv "PRIVMSG #jinksto :let me in!" }      need-key { putserv "PRIVMSG #jinksto :let me in!" }      need-unban { putserv "PRIVMSG #jinksto :let me in!" }      need-limit { putserv "PRIVMSG #jinksto :let me in!" }      flood-chan 10:60      flood-deop 3:10      flood-kick 3:10      flood-join 5:60      flood-ctcp 3:60      flood-nick 5:60    }loadmodule serverset net-type 5set nick "nexe_bot"set altnick "nexe_bot?"set realname "/msg nexe_bot hello"bind evnt - init-server evnt:init_serverproc evnt:init_server {type} {  global botnick  putquick "MODE $botnick +i-ws"}set default-port 6667# it will cycle through all of these just fine with the same error for allset servers {        irc.us.glowfish.de:6667        irc.us.glowfish.de:6668        stratics.frws.com:6667        stratics.frws.com:6668        stratics.frws.com:7000        irc.gamers-irc.org:6667        irc.gamers-irc.org:6668        irc.gamers-irc.org:7000}set keep-nick 1set strict-host 0set quiet-reject 1set lowercase-ctcp 0set answer-ctcp 3set flood-msg 5:60set flood-ctcp 3:60set never-give-up 1set server-cycle-wait 20set server-timeout 60set servlimit 0set check-stoned 1set serverror-quit 1set max-queue-msg 300set trigger-on-ignore 0set exclusive-binds 0set double-mode 1set double-server 1set double-help 1set optimize-kicks 1set stack-limit 4loadmodule ctcpset ctcp-mode 0loadmodule ircset bounce-bans 1set bounce-exempts 0set bounce-invites 0set bounce-modes 1set max-bans 30set max-exempts 20set max-invites 20set max-modes 30set kick-fun 0set ban-fun 0set learn-users 1set wait-split 600set wait-info 180set mode-buf-length 200unbind msg - addhost *msg:addhostset opchars "@"set no-chanrec-info 0set prevent-mixing 1set dcc-block 1024loadmodule notesset notefile "Nexe_Bot.notes"set max-notes 50set note-life 60set allow-fwd 0set notify-users 1set notify-onjoin 1loadmodule consoleset console-autosave 1set force-channel 0set info-party 0#Changed for security, path is correct.#Relative paths seem to work fine here #But I've changed it to a valid full path for testing.  Doesn't help.source /home/userid/eggdrop/scripts/alltools.tclsource /home/userid/eggdrop/scripts/action.fix.tclsource /home/userid/eggdrop/scripts/userinfo.tclloadhelp userinfo.help</code></pre></div><br><br><br><div class="codebox"><p>Code: </p><pre><code> [~/eggdrop]# ./eggdrop -n nexe_bot.confEggdrop v1.6.19+ctcpfix (C) 1997 Robey Pointer (C) 2008 Eggheads[05:04] Allocated bind table unld (flags 1)[05:04] Allocated bind table time (flags 1)[05:04] Allocated bind table note (flags 0)[05:04] Allocated bind table nkch (flags 1)[05:04] Allocated bind table load (flags 1)[05:04] Allocated bind table link (flags 1)[05:04] Allocated bind table filt (flags 1)[05:04] Allocated bind table disc (flags 1)[05:04] Allocated bind table dcc (flags 0)[05:04] Allocated bind table chpt (flags 1)[05:04] Allocated bind table chon (flags 1)[05:04] Allocated bind table chof (flags 1)[05:04] Allocated bind table chjn (flags 1)[05:04] Allocated bind table chat (flags 1)[05:04] Allocated bind table bot (flags 0)[05:04] Allocated bind table bcst (flags 1)[05:04] Allocated bind table away (flags 1)[05:04] Allocated bind table act (flags 1)[05:04] Allocated bind table evnt (flags 1)[05:04] --- Loading eggdrop v1.6.19+ctcpfix (Tue Jun  9 2009)[05:04] Listening at telnet port xxxx  (users).[05:04] Module loaded: blowfish[05:04] Module loaded: dns[05:04] Module loaded: channels[05:04] Allocated bind table wall (flags 1)[05:04] Allocated bind table raw (flags 1)[05:04] Allocated bind table notc (flags 1)[05:04] Allocated bind table msgm (flags 1)[05:04] Allocated bind table msg (flags 0)[05:04] Allocated bind table flud (flags 1)[05:04] Allocated bind table ctcr (flags 1)[05:04] Allocated bind table ctcp (flags 1)[05:04] Module loaded: server[05:04] Module loaded: ctcp[05:04] Allocated bind table topc (flags 1)[05:04] Allocated bind table splt (flags 1)[05:04] Allocated bind table sign (flags 1)[05:04] Allocated bind table rejn (flags 1)[05:04] Allocated bind table part (flags 1)[05:04] Allocated bind table nick (flags 1)[05:04] Allocated bind table mode (flags 1)[05:04] Allocated bind table kick (flags 1)[05:04] Allocated bind table join (flags 1)[05:04] Allocated bind table pubm (flags 1)[05:04] Allocated bind table pub (flags 0)[05:04] Allocated bind table need (flags 1)[05:04] Module loaded: irc[05:04] LANG: Section loaded: notes[05:04] LANG: 42 messages of 47 lines loaded from ./language/notes.english.lang[05:04] LANG: 42 adds, 0 updates to message table[05:04] Module loaded: notes            (with lang support)[05:04] LANG: Section loaded: console[05:04] LANG: 10 messages of 15 lines loaded from ./language/console.english.lan                                                                                                                                g[05:04] LANG: 10 adds, 0 updates to message table[05:04] Module loaded: console          (with lang support)[05:04] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).[05:04] use '.help userinfo' for commands.[05:04] Userfile loaded, unpacking...[05:04] === nexe_bot: 1 channels, 1 users.[05:04] main: entering loop[05:04] Trying server irc.us.glowfish.de:6667[05:04] DNS resolved irc.us.glowfish.de to 69.64.44.113[05:04] [!m] NICK nexe_bot[05:04] [m-&gt;] NICK nexe_bot[05:04] [!m] USER loginname. . :/msg nexe_bot hello[05:04] [m-&gt;] USER loginname. . :/msg nexe_bot hello[05:05] Timeout: connect to irc.us.glowfish.de[05:05] Trying server irc.us.glowfish.de:6668[05:05] DNS resolved irc.us.glowfish.de to 69.64.44.113[05:05] [!m] NICK nexe_bot[05:05] [m-&gt;] NICK nexe_bot[05:05] [!m] USER loginname. . :/msg nexe_bot hello[05:05] [m-&gt;] USER loginname. . :/msg nexe_bot hello</code></pre></div>logs/nexe_bot.log<div class="codebox"><p>Code: </p><pre><code>[05:05] Trying server irc.us.glowfish.de:6667</code></pre></div>logs/jinksto.log never gets created, assume because we're not connected.<br><br>Thanks for your time.  <br><br>-Jinksto<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10706">jnksto</a> — Tue Jun 09, 2009 7:42 am</p><hr />
]]></content>
	</entry>
	</feed>
