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 

Bottree Can DCC Chat With Hub Not Leaf

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


Joined: 16 Jul 2008
Posts: 17

PostPosted: Sun Apr 27, 2014 10:05 pm    Post subject: Bottree Can DCC Chat With Hub Not Leaf Reply with quote

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


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

PostPosted: Mon Apr 28, 2014 12:37 am    Post subject: Reply with quote

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


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Apr 28, 2014 8:06 am    Post subject: Re: Bottree Can DCC Chat With Hub Not Leaf Reply with quote

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


Joined: 16 Jul 2008
Posts: 17

PostPosted: Wed Apr 30, 2014 6:35 am    Post subject: Bottree Can DCC Chat With Hub Not Leaf Reply with quote

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


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Wed Apr 30, 2014 9:32 am    Post subject: Re: Bottree Can DCC Chat With Hub Not Leaf Reply with quote

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)

Quote:

As stated in my original post


You did?
I am overlooking that then. I didn't see "mode" anywhere in that original post.


Quote:

And yes it is icq


There we go. Smile
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. Smile

I hope this helps.

Feel free to look for me on irc.icq.com regarding bot stuff.
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