| View previous topic :: View next topic |
| Author |
Message |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Wed Sep 26, 2007 11:27 pm Post subject: [solved] Bot ignoring /ctcp requests |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Sep 27, 2007 12:07 am Post subject: |
|
|
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 |
|
 |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Thu Sep 27, 2007 12:14 am Post subject: |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Sep 27, 2007 12:18 am Post subject: |
|
|
| your IRC client (mIRC, BitchX, X-Chat, KVirc, etc...) |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Thu Sep 27, 2007 12:38 am Post subject: |
|
|
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'). |
_________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Sep 27, 2007 12:45 am Post subject: |
|
|
| 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 |
|
 |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Thu Sep 27, 2007 12:47 am Post subject: |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Sep 27, 2007 12:51 am Post subject: |
|
|
| 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 |
|
 |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Thu Sep 27, 2007 12:55 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Thu Sep 27, 2007 1:09 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Sep 27, 2007 1:13 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Thu Sep 27, 2007 2:04 am Post subject: |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Sep 27, 2007 7:10 pm Post subject: |
|
|
| 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 |
|
 |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Fri Sep 28, 2007 4:44 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Fri Sep 28, 2007 6:00 pm Post subject: |
|
|
| 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 |
|
 |
|