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.

[solved] Bot ignoring /ctcp requests

General support and discussion of Eggdrop bots.
Post Reply
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

[solved] Bot ignoring /ctcp requests

Post by FoxII »

I am almost pulling my hair out on this one. I have searched through the forum, but could not find anything that seems relevant.

My bot, at times, allows me to /ctcp it and at other times (the majority) it does not. It also seems to affect whether or not I can add to my learn script (I can when I'm able to /ctcp the bot).

I'm determined to find out what is wrong as I would like to develop my knowledge of eggdrop further and also develop my bot into a useful member of my chatroom.

TIA
Last edited by FoxII on Fri Sep 28, 2007 5:21 pm, edited 1 time in total.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

check your client program's IP setting
if your client thinks it has a different IP then your outgoing IP the bot will not connect
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

Post by FoxII »

Thank you for your reply, but I am going to sound really pathetic here. Which client do you mean? My irc client or the bot client?
Linux based computer, running eggdrop on my own comp.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

your IRC client (mIRC, BitchX, X-Chat, KVirc, etc...)
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

what do you have set here?

Code: Select all

set ctcp-mode 0 
Set here how the ctcp module should answer ctcps. There are 3 possible operating modes:

0 Normal behavior is used. 
1 The bot ignores all ctcps, except for CHAT and PING requests by users with the +o flag. 
2 Normal behavior is used, however the bot will not answer more than X ctcps in Y seconds (defined by 'set flood-ctcp'). 
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

YooHoo wrote:what do you have set here?

Code: Select all

set ctcp-mode 0 
Set here how the ctcp module should answer ctcps. There are 3 possible operating modes:

0 Normal behavior is used. 
1 The bot ignores all ctcps, except for CHAT and PING requests by users with the +o flag. 
2 Normal behavior is used, however the bot will not answer more than X ctcps in Y seconds (defined by 'set flood-ctcp'). 
Irrelevant since FoxII's first post states that the DCC connection does work very rarely.
Since it does work from the bot's end, the inconsistency is most lilely that his IRC client is not sending the correct IP address to the bot for connection.

When an IRC client is behind a router it often times picks up the local network IP setting, this requires a manual input of the outgoing IP address.
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

Post by FoxII »

Right. I know my outgoing IP, but I don't know how to check my xchat ip.

With regard to the other question, I have

set ctcp-mode 0
Linux based computer, running eggdrop on my own comp.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

FoxII wrote:Right. I know my outgoing IP, but I don't know how to check my xchat ip.

With regard to the other question, I have

set ctcp-mode 0
I haven't used x-chat in a looong time...lol
There is a setting, I believe it's in the DCC options, to bind DCCs to a particular address.
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

Post by FoxII »

Thanks. In the preferences I found a network section and they had a bind option there. I have put my ip in there. My computer will be automatically rebooting in a bit so I can check to see if it works when I return :)
Linux based computer, running eggdrop on my own comp.
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

Post by FoxII »

No. Putting my ip into the bind section of the network options in xchat, but I still cannot ctcp to the damn thing :(
Linux based computer, running eggdrop on my own comp.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

FoxII wrote:No. Putting my ip into the bind section of the network options in xchat, but I still cannot ctcp to the damn thing :(
x-chat has two settings (or at least used to) for IP binding
one was for regular traffic, the other was specific to DCC
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

Post by FoxII »

I found another setting which was relating to DCC and it had the option of getting my ip from my server. I tried that, restarted and still no joy. I also tried using /dcc chat bot and was presented with;

Failed to bind to any address or port.

Sorry. My head is just swimming over this.
Linux based computer, running eggdrop on my own comp.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Network Setup~Bind to:
Only useful for computers with multiple addresses.
If you have a router I believe a DMZ setting is required.

Have you read Help us to help you (and try to help yourself)?

NB: I have a similar problem with a handful of bots .i.e. cannot DCC chat to them but am able to CTCP chat to them on a good day. As I have a botnet I simply relay via the hub. It's the (unnecessary) paranoid settings the shell admins have set.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

Post by FoxII »

Thank you Alchera. I have gone through what you suggested, but I still cannot connect to the bot. I even stopped it and restarted it all with no luck.

I cannot dcc chat or ctcp to my bot. Surely if I have set myself up as the owner of the bot, then I should have no problems with it responding to me or am I wrong?

Okay. I didn't find out what was wrong. So I just deleted all the files that eggdrop created and run it again. Once it was up, I was able to register again and connect to my bot without problems.

Thank you all for your help though. I did learn quite a bit :)
Linux based computer, running eggdrop on my own comp.
h
honeybee
Halfop
Posts: 80
Joined: Sun Jan 01, 2006 12:42 pm

Post by honeybee »

for others information: if you do not save your configure file after registering 'hello' and your eggdrop dies or get killed. You are not its master that could be the problem here so do not forget to save userfile with '.save all' in partyline to make sure your infos are saved.
Post Reply