This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Can't get my Eggdrop bot in my channel

General support and discussion of Eggdrop bots.
Post Reply
a
alowall
Voice
Posts: 2
Joined: Thu Jul 28, 2016 8:18 pm

Can't get my Eggdrop bot in my channel

Post by alowall »

Hello, I ve compiled, installed, and configured Eggdrop but can't get my bot in my channel... It seems the bot can't even reach the network ([20:09:35] === Lamestbot: 0 channels, 0 users.)

Start-up seems to be OK but the bot isn't there
[20:09:35] --- Loading eggdrop v1.6.21 (Thu Jul 28 2016)
[20:09:35] Module loaded: blowfish
[20:09:35] Module loaded: dns
[20:09:35] Module loaded: channels
[20:09:35] Module loaded: server
[20:09:35] Module loaded: ctcp
[20:09:35] Module loaded: irc
[20:09:35] Module loaded: notes (with lang support)
[20:09:35] Module loaded: console (with lang support)
[20:09:35] Module loaded: uptime
[20:09:35] Loading dccwhois.tcl...
[20:09:35] Loaded dccwhois.tcl
[20:09:35] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[20:09:35] use '.help userinfo' for commands.
[20:09:35] Writing channel file...
What shall I do, thx
User avatar
Get_A_Fix
Master
Posts: 206
Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand

Post by Get_A_Fix »

If you start the bot, like you showed, are you able to telnet the IP the bot is using and the listen port from your *.conf file? This is usually where, on the partyline, you use the command's to add user's and channel's.

If you can telnet the bot, you should be able to add dynamic channel's without adding a static Channel Block to your *.conf file. Although, it's recommended to add at least 1 static/home channel.
To add a dynamic channel on partyline, type:

Code: Select all

.+chan #channel
To add a static channel block to your *.conf file:

Code: Select all

channel add #mychannel {
    chanmode "+nt"
    idle-kick 0
    stopnethack-mode 0
    revenge-mode 0
    ban-type 2
    ban-time 0
    exempt-time 0
    invite-time 0
    aop-delay 1:1
    need-op { }
    need-invite { }
    need-key { }
    need-unban { }
    need-limit { }
    flood-chan 0:0
    flood-deop 0:0
    flood-kick 0:0
    flood-join 0:0
    flood-ctcp 0:0
    flood-nick 0:0
}

channel set #mychannel -enforcebans +dynamicbans +userbans +dynamicexempts
channel set #mychannel +userexempts +dynamicinvites +userinvites -protectops
channel set #mychannel -protectfriends -statuslog -revenge -protecthalfops
channel set #mychannel -revengebot +dontkickops -autovoice -autoop -autohalfop
channel set #mychannel -bitch -secret -shared -greet -cycle +nodesynch
You can read about each function and setting within the original eggdrop.conf file, which should always be copied/edited/used to make your main bot(s).

You also need to make sure that once you start the bot (even if it's not in/on a channel) that you message it; /msg yourbot hello (to become a recognised owner).
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
w
willyw
Revered One
Posts: 1196
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

Get_A_Fix wrote: ...
Although, it's recommended to add at least 1 static/home channel.
...

It is? I didn't know that.

Here:
http://eggwiki.org/Eggdrop.conf
It says, "Adding channels via the config file is deprecated and discouraged."
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
w
willyw
Revered One
Posts: 1196
Joined: Thu Jan 15, 2009 12:55 am

Re: Can't get my Eggdrop bot in my channel

Post by willyw »

alowall wrote: ...
It seems the bot can't even reach the network ([20:09:35] ===
...
Another way to try to find out what is going on -


You are starting the bot like this:
./eggdrop -m eggdrop.conf
correct?

Instead, try this:
./eggdrop -mn eggdrop.conf

The addition of the -n switch will keep the bot from going into the background. You will be able to see more of what is going on. Hopefully you will see something that will be a clue as to why bot is not logging into the server.

Side note:
With: ./eggdrop -h
it will give you list of all the switches, with brief descriptions.

I hope this helps.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
a
alowall
Voice
Posts: 2
Joined: Thu Jul 28, 2016 8:18 pm

Post by alowall »

Thanks @Get_A_Fix and @willyw for the great help and fast reply but the problem still there, it seems that the issue related to the server port and hostname
set servers {
irc.kalamngy.com,527
kalamngychat.com,52
}
Default port is 6667 but I'm not sure:
set default-port 6667
User avatar
Get_A_Fix
Master
Posts: 206
Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand

Post by Get_A_Fix »

Static channel's shouldn't be depreciated, I use the channel blocks on my bots without issue.

As for the above servers, you're supposed to use a colon : instead of a comma , and by stipulating the port, it overrides the default setting. You can also use the direct IP address instead of the hostname's, just to make sure it's connecting to where you want it.
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
w
willyw
Revered One
Posts: 1196
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

Get_A_Fix wrote: ...
Static channel's shouldn't be depreciated,
Why?
I use the channel blocks on my bots without issue.
Yes, it still works.


Also, what about:
Although, it's recommended to add at least 1 static/home channel.
Why is it recommended, and by whom?


Thanks.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
w
willyw
Revered One
Posts: 1196
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

alowall wrote:...
it seems that the issue related to the server port and hostname
Did you discover this by using the -n switch?
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Post Reply