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 

Bot not join in channel
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
seiko
Voice


Joined: 14 Aug 2012
Posts: 14

PostPosted: Wed Aug 15, 2012 3:27 am    Post subject: Bot not join in channel Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Wed Aug 15, 2012 3:31 am    Post subject: Reply with quote

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


Joined: 14 Aug 2012
Posts: 14

PostPosted: Wed Aug 15, 2012 10:47 am    Post subject: Reply with quote

So, what does that means?
Back to top
View user's profile Send private message Send e-mail
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Wed Aug 15, 2012 12:13 pm    Post subject: Reply with quote

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

Adding channels via the config file is deprecated and discouraged.


and read just above and below that.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Wed Aug 15, 2012 12:21 pm    Post subject: Re: Bot not join in channel Reply with quote

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


Joined: 14 Aug 2012
Posts: 14

PostPosted: Wed Aug 15, 2012 5:27 pm    Post subject: Re: Bot not join in channel Reply with quote

This is the result. I killed the bot and started with ./eggdrop -nm bot.conf
Quote:

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

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:

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:

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

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

# 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
Back to top
View user's profile Send private message Send e-mail
Hero
Halfop


Joined: 26 Jun 2012
Posts: 49
Location: root@localhost

PostPosted: Wed Aug 15, 2012 5:51 pm    Post subject: Reply with quote

Change This
Code:
 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:
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"
Back to top
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Thu Aug 16, 2012 12:22 am    Post subject: Reply with quote

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


Joined: 14 Aug 2012
Posts: 14

PostPosted: Thu Aug 16, 2012 10:07 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message Send e-mail
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Aug 16, 2012 10:19 am    Post subject: Reply with quote

seiko wrote:


The result is the same. No bot in my channel Sad


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)


Quote:

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


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Aug 16, 2012 10:21 am    Post subject: Reply with quote

For what it is worth:



Your bot has been on Undernet.

Quote:

crestin3d was ~crestin3d@stud.usv.ro * /msg Crestin3d hello
crestin3d using *.undernet.org Thu Aug 16 10:02:32 2012
End of WHOWAS
Back to top
View user's profile Send private message
seiko
Voice


Joined: 14 Aug 2012
Posts: 14

PostPosted: Thu Aug 16, 2012 10:32 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Aug 16, 2012 10:33 am    Post subject: Reply with quote

And it is online, on Undernet, right now. Smile
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Thu Aug 16, 2012 10:56 am    Post subject: Reply with quote

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:

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.
Back to top
View user's profile Send private message
Hero
Halfop


Joined: 26 Jun 2012
Posts: 49
Location: root@localhost

PostPosted: Thu Aug 16, 2012 11:02 am    Post subject: Reply with quote

Yes Caesar net-type 2 Is Only For Undernet Razz And seiko want to connect his bot on GeekShed Beacause Of net-type 2 his bot connects on undernet
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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