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.

Bot not join in channel

General support and discussion of Eggdrop bots.
s
seiko
Voice
Posts: 14
Joined: Tue Aug 14, 2012 10:17 am

Bot not join in channel

Post by seiko »

Hello. I am totally new to this so i might miss something basic. I installed the bot + trivia on my ftp account, everything works fine but when i enter into the room i want the bot, the bot is not there. I am exhaused of searching...

The final message when starting the bot.

[10:03:50] === crestin3d: 1 channels, 0 users.
[10:09:38] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[10:09:38] use '.help userinfo' for commands.
[10:09:38] Writing channel file...


STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type: /msg crestin3d hello
This will make the bot recognize you as the master.

Any idea what is wrong?
Thank you for help.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

As of version .. I forgot ... channels are added only via party-line via .+chan, thus means no more static channels.
Once the game is over, the king and the pawn go back in the same box.
s
seiko
Voice
Posts: 14
Joined: Tue Aug 14, 2012 10:17 am

Post by seiko »

So, what does that means?
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

seiko wrote:
caesar wrote:As of version .. I forgot ... channels are added only via party-line via .+chan, thus means no more static channels.
So, what does that means?
I believe caesar is referring to this -

Go to: http://eggwiki.org/Eggdrop.conf
text search or scroll down until you find:
Adding channels via the config file is deprecated and discouraged.
and read just above and below that.
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Bot not join in channel

Post by willyw »

seiko wrote: ...
OR go to IRC and type: /msg crestin3d hello
...
Have you tried this?


Also, is your bot connected to the IRC server?
To find out, from your IRC client, do:
/whois crestin3d

(assuming that your bot's nick really is crestin3d)

If the bot is online with that nick, /whois will show it.


If the bot is NOT connected to the server, then kill the bot and try running it again with the -n switch.
I believe you are presently running the bot with the -m switch, since you have not been able to identify yourself to it as owner.
[See: http://www.egghelp.org/setup.htm#starting ]
So this time, run it like this:
./eggdrop -nm eggdrop.conf

The -n switch means:
Don't background; send all log entries to console.
With this, and as you are logged into your shell when you run eggdrop, perhaps you'll be able to see something that will be a clue to tell you what is going on.

I hope this helps.

Let us know how you progress with it.
s
seiko
Voice
Posts: 14
Joined: Tue Aug 14, 2012 10:17 am

Re: Bot not join in channel

Post by seiko »

This is the result. I killed the bot and started with ./eggdrop -nm bot.conf
[23:54:09] === crestin3d: 1 channels, 0 users.
[23:54:09] main: entering loop
[23:54:09] Trying server bucharest.ro.eu.undernet.org:6666
[23:54:09] DNS resolved bucharest.ro.eu.undernet.org to 82.76.255.62
[23:54:09] net: connect! sock 7
[23:54:09] Connected to bucharest.ro.eu.undernet.org
[23:54:09] -NOTICE- *** Looking up your hostname
[23:54:09] -NOTICE- *** Checking Ident
[23:54:09] -NOTICE- *** No ident response
[23:54:13] -NOTICE- *** Found your hostname
[23:54:13] -NOTICE- on 1 ca 2(10) ft 10(10) tr
[23:54:17] crestin3d joined #crestin3d.
[23:55:00] @#crestin3d (+) : [m/1 o/1 h/0 v/0 n/0 b/0 e/- I/-]
[00:00:00] Tcl error [TMidnite]: couldn't open "/home/master/2011/SIC/livpopovici/botdir/scripts/t2/t2.users": no such file or directory
[00:00:00] @#crestin3d (+) : [m/1 o/1 h/0 v/0 n/0 b/0 e/- I/-]
[00:00:00] --- Thu Aug 16 2012
[00:00:00] Backing up user file...
[00:00:00] Backing up channel file...
May be the t2.users: no such file or directory?

The -n switch means:
Don't background; send all log entries to console.
With this, and as you are logged into your shell when you run eggdrop, perhaps you'll be able to see something that will be a clue to tell you what is going on.
I hope this helps.

Let us know how you progress with it.

Something more:
1. In config file i have

Code: Select all

set servers {
  bucharest.ro.eu.undernet.org:6666
}
Is this server ok or here i have to write my server name?
I put the chat on a normal server, gave to me from my faculty for limited time for free.

2. Another setting i am not sure

Code: Select all

# What is your network?
#   0 = EFnet
#   1 = IRCnet
#   2 = Undernet
#   3 = DALnet
#   4 = +e/+I/max-modes 20 Hybrid
#   5 = Others
set net-type 2
Somebody told me i need Undernet.

Code: Select all

# The following settings are used as default values when you .+chan #chan or .tcl
# channel add #chan. Look below for explanation of every option.
channel add #crestin3d {
}
Do i need some more options inside?

4.

Code: Select all

# This setting is used only for info to share with others on your botnet.
# Set this to the IRC network your bot is connected to.
set network "stud.usv.ro"
This is the name of my server found with "hostname" on shell. Here must to be bucharest.ro.eu.undernet.org too?

Thank you very much for help. I am really glad you have time for me.
Last edited by seiko on Thu Aug 16, 2012 3:25 pm, edited 1 time in total.
H
Hero
Halfop
Posts: 49
Joined: Tue Jun 26, 2012 6:27 pm
Location: root@localhost
Contact:

Post by Hero »

Change This

Code: Select all

 set servers { 
bucharest.ro.eu.undernet.org:6666 
} 
Is this server ok or here i have to write my server name? 
I put the chat on a normal server, gave to me from my faculty for limited time for free. 

2. Another setting i am not sure 
# What is your network? 
# 0 = EFnet 
# 1 = IRCnet 
# 2 = Undernet 
# 3 = DALnet 
# 4 = +e/+I/max-modes 20 Hybrid 
# 5 = Others 
set net-type 2 

Somebody told me i need Undernet. 

3. # The following settings are used as default values when you .+chan #chan or .tcl
# channel add #chan. Look below for explanation of every option. 
channel add #crestin3d { 
} 
Do i need some more options inside? 

4. # This setting is used only for info to share with others on your botnet. 
# Set this to the IRC network your bot is connected to. 
set network "stud.usv.ro" 
To

Code: Select all

set servers { 
bucharest.ro.eu.undernet.org:6666 
} 

# What is your network? 
# 0 = EFnet 
# 1 = IRCnet 
# 2 = Undernet 
# 3 = DALnet 
# 4 = +e/+I/max-modes 20 Hybrid 
# 5 = Others 
set net-type 2 

# The following settings are used as default values when you .+chan #chan or .tcl
# channel add #chan. Look below for explanation of every option. 
channel add #crestin3d {
     chanmode "+n"
     idle-kick 0
   }
   channel set #crestin3d -bitch +enforcebans -greet -revenge

# This setting is used only for info to share with others on your botnet. 
# Set this to the IRC network your bot is connected to. 
set network "stud.usv.ro" 
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

@seiko : Dose your campus have an IRC chat server and you wish to connect there or you wish to connect to another IRC network?
Once the game is over, the king and the pawn go back in the same box.
s
seiko
Voice
Posts: 14
Joined: Tue Aug 14, 2012 10:17 am

Post by seiko »

I want to connect to another irc (bucharest.ro.eu.undernet.org:6666 ). My bot is hosted on stud.usv.ro.

I read that a channel can be registered, do i need to register my channel for my bot to work?
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

seiko wrote:
The result is the same. No bot in my channel :(
You don't seem to understand the sequence of chores.

First, you must identify yourself as owner to your bot. I gave you a link regarding that.

Then you log into your bot, either via DCC chat, or via telnet.

THEN you can add channels to the bot, from the commandline in the partyline (that's where you are, when you log into the bot)

I read that a channel can be registered, do i need to register my channel for my bot to work?
No. And this is not relevant right now. Wait for later, for this.
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

For what it is worth:



Your bot has been on Undernet.
crestin3d was ~crestin3d@stud.usv.ro * /msg Crestin3d hello
crestin3d using *.undernet.org Thu Aug 16 10:02:32 2012
End of WHOWAS
s
seiko
Voice
Posts: 14
Joined: Tue Aug 14, 2012 10:17 am

Post by seiko »

That is a good new. But why i cant see him?
Last edited by seiko on Thu Aug 16, 2012 3:26 pm, edited 1 time in total.
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

And it is online, on Undernet, right now. :)
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

You seem to be using GeekShed network, not Undernet... </facepalm> or at least that's what that chat app from the link you mentioned above connects you to.

Friendly advice: Please contact your IT manager/administrator or whatever your campus has regarding having an open connection outside the campus, especially a bot that's sitting on a IRC Network. If you don't have permission to have such a process running you may loose that account. you should check the Terms Of Usage policy, if there's any (there should be something anyway).

Anyway, since the servers run Unreal server set the following:

Code: Select all

set servers {
eu.geekshed.net
}

set net-type 5
I'm not 100% sure about net-type. Just give it a try and report back.

PS: Please avoid quoting if the person you wish to reply is above your comment cos it's annoying to scroll the page just for that. Thank you.
Once the game is over, the king and the pawn go back in the same box.
H
Hero
Halfop
Posts: 49
Joined: Tue Jun 26, 2012 6:27 pm
Location: root@localhost
Contact:

Post by Hero »

Yes Caesar net-type 2 Is Only For Undernet :P And seiko want to connect his bot on GeekShed Beacause Of net-type 2 his bot connects on undernet
Post Reply