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 my Eggdrop bot in my channel

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


Joined: 28 Jul 2016
Posts: 2

PostPosted: Thu Jul 28, 2016 8:29 pm    Post subject: Can't get my Eggdrop bot in my channel Reply with quote

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
Quote:

[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
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Fri Jul 29, 2016 2:37 am    Post subject: Reply with quote

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:
.+chan #channel

To add a static channel block to your *.conf file:
Code:

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.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
willyw
Owner


Joined: 15 Jan 2009
Posts: 925

PostPosted: Fri Jul 29, 2016 7:42 am    Post subject: Reply with quote

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 !
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 925

PostPosted: Fri Jul 29, 2016 7:47 am    Post subject: Re: Can't get my Eggdrop bot in my channel Reply with quote

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 !
Back to top
View user's profile Send private message
alowall
Voice


Joined: 28 Jul 2016
Posts: 2

PostPosted: Sat Jul 30, 2016 4:00 am    Post subject: Reply with quote

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
Quote:

set servers {
irc.kalamngy.com,527
kalamngychat.com,52
}


Default port is 6667 but I'm not sure:
Quote:

set default-port 6667
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Sat Jul 30, 2016 6:52 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
willyw
Owner


Joined: 15 Jan 2009
Posts: 925

PostPosted: Sat Jul 30, 2016 8:16 am    Post subject: Reply with quote

Get_A_Fix wrote:

...
Static channel's shouldn't be depreciated,


Why?

Quote:

I use the channel blocks on my bots without issue.


Yes, it still works.


Also, what about:
Quote:

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 !
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 925

PostPosted: Sat Jul 30, 2016 8:17 am    Post subject: Reply with quote

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 !
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