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 

[solved] Bot ignoring /ctcp requests

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


Joined: 26 Sep 2007
Posts: 9

PostPosted: Wed Sep 26, 2007 11:27 pm    Post subject: [solved] Bot ignoring /ctcp requests Reply with quote

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
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Sep 27, 2007 12:07 am    Post subject: Reply with quote

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


Joined: 26 Sep 2007
Posts: 9

PostPosted: Thu Sep 27, 2007 12:14 am    Post subject: Reply with quote

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


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Sep 27, 2007 12:18 am    Post subject: Reply with quote

your IRC client (mIRC, BitchX, X-Chat, KVirc, etc...)
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Thu Sep 27, 2007 12:38 am    Post subject: Reply with quote

what do you have set here?
Code:
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').

_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Sep 27, 2007 12:45 am    Post subject: Reply with quote

YooHoo wrote:
what do you have set here?
Code:
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.
Back to top
View user's profile Send private message
FoxII
Voice


Joined: 26 Sep 2007
Posts: 9

PostPosted: Thu Sep 27, 2007 12:47 am    Post subject: Reply with quote

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


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Sep 27, 2007 12:51 am    Post subject: Reply with quote

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


Joined: 26 Sep 2007
Posts: 9

PostPosted: Thu Sep 27, 2007 12:55 am    Post subject: Reply with quote

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 Smile
_________________
Linux based computer, running eggdrop on my own comp.
Back to top
View user's profile Send private message
FoxII
Voice


Joined: 26 Sep 2007
Posts: 9

PostPosted: Thu Sep 27, 2007 1:09 am    Post subject: Reply with quote

No. Putting my ip into the bind section of the network options in xchat, but I still cannot ctcp to the damn thing Sad
_________________
Linux based computer, running eggdrop on my own comp.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Sep 27, 2007 1:13 am    Post subject: Reply with quote

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 Sad

x-chat has two settings (or at least used to) for IP binding
one was for regular traffic, the other was specific to DCC
Back to top
View user's profile Send private message
FoxII
Voice


Joined: 26 Sep 2007
Posts: 9

PostPosted: Thu Sep 27, 2007 2:04 am    Post subject: Reply with quote

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


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Sep 27, 2007 7:10 pm    Post subject: Reply with quote

Quote:
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
Back to top
View user's profile Send private message Visit poster's website
FoxII
Voice


Joined: 26 Sep 2007
Posts: 9

PostPosted: Fri Sep 28, 2007 4:44 pm    Post subject: Reply with quote

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 Smile
_________________
Linux based computer, running eggdrop on my own comp.
Back to top
View user's profile Send private message
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Fri Sep 28, 2007 6:00 pm    Post subject: Reply with quote

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.
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