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.

Bottree Can DCC Chat With Hub Not Leaf

General support and discussion of Eggdrop bots.
Post Reply
F
Fiery_WA
Voice
Posts: 17
Joined: Wed Jul 16, 2008 1:22 pm

Bottree Can DCC Chat With Hub Not Leaf

Post by Fiery_WA »

Gday

I have tried every trick in the book (that I know of) to open a DCC Chat with my Leaf. I can successfully DCC Chat with the HUB using /dcc chat <botname> or /ctcp <botname> chat.

But the Leaf continually gives me this :- User does not accept CTCPs

I will admit I am no expert with eggdrops, so I have relied on help from sources such as egghelp.org

To date no success. I have tried #set nat-ip "10.1.1.2", I have removed it completely, still no joy with either.

I know it isn't a firewall issue because I can chat to the Hub.

If someone would be kind enough to walk me through the process (as I said no genius when it comes to eggdrops). I would greatly appreciated the help.

Cheers

Susan
User avatar
caesar
Mint Rubber
Posts: 3777
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

If a line has an # in front of it the TCL interpreter will ignore that line considering it a comment. Try with removing it if you want to set that IP.
Once the game is over, the king and the pawn go back in the same box.
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Re: Bottree Can DCC Chat With Hub Not Leaf

Post by willyw »

Fiery_WA wrote: ...

- User does not accept CTCPs

...
This looks familiar.
I've had this happen with some IRC servers/networks.

Could it be that the IRC server automatically sets some user modes upon each user, upon connecting? and one of those modes is to not accept incoming CTCPs?
(or perhaps the mode is being set in eggdrop.conf)
If it is a default mode, I have no idea why it is not happening the same, to both bots.


The solution for me was to identify the mode setting, then manually (re)set it upon the bot logging in on the IRC server, with a command in eggdrop.conf.
See: http://eggwiki.org/Eggdrop.conf
and find:
# This is a Tcl script to be run immediately after connecting to a server.
and read that section. There is a command in there to add MODE settings, and to remove MODE settings.

The way that I went about identifying whatever modes are automatically set upon logging in on the IRC server:
I didn't use the bot. Easier to figure it out on myself, first.
Do: /mode nick
where nick = my current nick
and watch for the response.
This is typical looking: jack3_away +Tiwx

You may be able to get a list of user modes available, with:
/helpop
or
/helpop umodes

I hope this helps you to figure it out.

p.s.
Would this be irc.icq.com network?
F
Fiery_WA
Voice
Posts: 17
Joined: Wed Jul 16, 2008 1:22 pm

Bottree Can DCC Chat With Hub Not Leaf

Post by Fiery_WA »

Can't view modes for other users

As stated in my original post

To date no success. I have tried #set nat-ip "10.1.1.2", I have removed it completely, still no joy with either.

And yes it is icq
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Re: Bottree Can DCC Chat With Hub Not Leaf

Post by willyw »

Fiery_WA wrote: Can't view modes for other users
Yep.
That's partly why I said:
willyw wrote: I didn't use the bot. Easier to figure it out on myself, first.
Do: /mode nick
where nick = my current nick
So what did you get when you tried it on yourself? (We're looking for the default... whatever the IRC server sets on everybody upon their logging in, and them just leaving it as-is)
As stated in my original post
You did?
I am overlooking that then. I didn't see "mode" anywhere in that original post.

And yes it is icq
There we go. :)
This is likely the problem then. I had the same thing, with my bots on that network.

First - so you understand:
with your client, do:
/mode your_nick
and you'll get a return showing the user modes set on yourself.
Example:
/mode jack3
returns:
jack3 +Tiwx

Next, do:
/helpop umodes
and examine the returned list of user modes available with descriptions.
You'll find i , w , and x
T isn't on the list. I don't know why it is not.

So, I experimented with removing T and presto!
Apparently on irc.icq.com network, +T sets a user mode on the user such that user cannot recieve CTCP.

Your solution:
For reference go here: http://eggwiki.org/Eggdrop.conf
Text search and find:
# This is a Tcl script to be run immediately after connecting to a server.

Within that section, find a line:
putquick "MODE $botnick +i-ws"

Edit that line in your bot's eggdrop.conf to include a -T :
putquick "MODE $botnick +iB-Tc"

That is copy-n-paste right out of eggdrop.conf, from one of my bots on irc.icq.com, right now. I log into this bot daily, using plain old DCC chat.
To be sure, I just tried it with /ctcp botnick chat and that works fine too (after I set -T on myself)

I can duplicate your result:
"Jalapeno User does not accept CTCPs"
by having the bot set +T on itself.

If you have enabled raw logging in eggdrop.conf, you can use:
.console +r
to see raw incoming to you bot.
Then, if you wish to see the bot's current user mode settings, do:
.dump mode botnick

You can play around with them easily from there:
.dump mode botnick +T
or
.dump mode botnick -T
always followed by another:
.dump mode botnick
so you can be sure of what it currently is.

When you get done, do:
.console -r
unless you like to see all that extra stuff. :)

I hope this helps.

Feel free to look for me on irc.icq.com regarding bot stuff.
Post Reply