egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't get bot to connect.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
jnksto
Voice


Joined: 09 Jun 2009
Posts: 1

PostPosted: Tue Jun 09, 2009 7:42 am    Post subject: Can't get bot to connect. Reply with quote

This should create a bot named nexe_bot that connects and joins channel #jinksto. It never gets past the initial connection.

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.

Thoughts on next steps are greatly appreciated and comments on better, more secure configuration options will be humbly accepted.

Notes:

I've tried all different server types (0-5) just to make sure that's not the problem No luck there.

I've tried .console +rv but don't get any more information than I get out of running with -n

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.

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.





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 <email: valid@email.com>"
set network "irc.us.glowfish.de"
set timezone "EST"
set offset "-5"

#valid vhost name and IP
set my-hostname "jinksto.com"
set my-ip "70.40.203.247"
set max-logs 5
set max-logsize 5000
set quick-logs 0
set 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 1
set keep-all-logs 0
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxrs"
# I was able to telnet to the local server port to create this.
set userfile "nexe_bot.user"
set sort-users 1
set 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 users
set remote-boots 0
set share-unlinks 1
set protect-telnet 1
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 1
set open-telnets 1
set stealth-telnets 1
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 9
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15
set ignore-time 15
set 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 above
set notify-newusers "valid1"
set default-flags ""
set whois-fields "url birthday"
set die-on-sighup 0
set die-on-sigterm 1
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 1
unbind dcc n simul *dcc:simul
set max-dcc 50
set allow-dk-cmds 1
set dupwait-timeout 5
set mod-path "modules/"
loadmodule blowfish
loadmodule dns
loadmodule channels
set chanfile "nexe_bot.chan"
set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 10:60
set global-flood-deop 3:10
set global-flood-kick 3:10
set global-flood-join 5:60
set global-flood-ctcp 3:60
set global-flood-nick 5:60
set global-aop-delay 5:30
set global-idle-kick 0
set global-chanmode "nt"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 120
set global-exempt-time 60
set global-invite-time 60
set 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 server
set net-type 5
set nick "nexe_bot"
set altnick "nexe_bot?"
set realname "/msg nexe_bot hello"
bind evnt - init-server evnt:init_server
proc 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 all
set 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 1
set strict-host 0
set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 5:60
set flood-ctcp 3:60
set never-give-up 1
set server-cycle-wait 20
set server-timeout 60
set servlimit 0
set check-stoned 1
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set exclusive-binds 0
set double-mode 1
set double-server 1
set double-help 1
set optimize-kicks 1
set stack-limit 4
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 1
set bounce-exempts 0
set bounce-invites 0
set bounce-modes 1
set max-bans 30
set max-exempts 20
set max-invites 20
set max-modes 30
set kick-fun 0
set ban-fun 0
set learn-users 1
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - addhost *msg:addhost
set opchars "@"
set no-chanrec-info 0
set prevent-mixing 1
set dcc-block 1024
loadmodule notes
set notefile "Nexe_Bot.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1
loadmodule console
set console-autosave 1
set force-channel 0
set 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.tcl
source /home/userid/eggdrop/scripts/action.fix.tcl
source /home/userid/eggdrop/scripts/userinfo.tcl
loadhelp userinfo.help






Code:

 [~/eggdrop]# ./eggdrop -n nexe_bot.conf

Eggdrop 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->] NICK nexe_bot
[05:04] [!m] USER loginname. . :/msg nexe_bot hello
[05:04] [m->] 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->] NICK nexe_bot
[05:05] [!m] USER loginname. . :/msg nexe_bot hello
[05:05] [m->] USER loginname. . :/msg nexe_bot hello



logs/nexe_bot.log
Code:

[05:05] Trying server irc.us.glowfish.de:6667


logs/jinksto.log never gets created, assume because we're not connected.

Thanks for your time.

-Jinksto
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber