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.

Add user to user file/DCC problems

General support and discussion of Eggdrop bots.
Post Reply
t
tclnick
Voice
Posts: 7
Joined: Thu Mar 04, 2010 11:27 pm

Add user to user file/DCC problems

Post by tclnick »

I got my eggdrop setup a few hours ago and at first I messaged it and said hello. The password was set and it started working alright. Then I switched networks and deleted my userfile. Upon reconnecting I couldn't message the bot hello and nothing happend.. right now I'm locked out from direct bot access (Have SSH access). Is there some sort of tutorial that shows you how to create a manual userfile?

Edit - Did a bit more digging, and I reckon that the DCC not working must be a result of the .user file:

Here's what the bot sees when I try to DCC:

Code: Select all

[14:46] -myname (~myname@protectedhost-78D4923.dyn.iinet.net.au)- DCC Chat (124.16*.***.***)
[14:46] Refused DCC chat (no password): myname!~myname@protectedhost-78D4923.dyn.iinet.net.au
[14:46] CTCP DCC: CHAT chat 209938454 1026 from myname (~myname@protectedhost-78D4923.dyn.iinet.net.au)

On my client however, all I get is

Code: Select all

Chat with myname
Waiting for acknowledgement...
Edit - Now my client is saying

Code: Select all

[myname ERROR reply]: no password set
So I messaged it, set a pass, however It's just sitting on

Code: Select all


[14:50] -myname (~myname@protectedhost-78D4923.dyn.iinet.net.au)- DCC Chat (124.16*.***.***)
[14:50] CTCP DCC: CHAT chat 20923408104 1024 from myname (~myname@protectedhost-78D4923.dyn.iinet.net.au)
[14:50] DCC connection: CHAT (myname!~myname@protectedhost-78D4923.dyn.iinet.net.au)
Hmm

It seems that /ctcp myname chat is working, it then establishes a DCC chat connection with telnet. I have no idea why it started working, anyhow I would still like some help on how to setup my userfile properly!

Thanks
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

Post by Torrevado »

Here's how you should manage your userfile: http://www.egghelp.org/using.htm#userfile
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

If /dcc chat does not work, yet /ctcp chat does, it means one or more of the following issues:
  • Your irc client does not know it's address on the internet.
  • Your irc client is behind a filtering router or firewall, that blocks incoming connections to your irc client
  • Eggdrop tries to compare your irc host with the IP provided in your /dcc chat request, if these does not match, eggdrop thinks it's a fraud and does not attempt to connect.
Looking at your long-ip details (20923408104 in the CTCP DCC: CHAT message), are you by any chance using IPv6? That number is way too big to fit into the IPv4 namespace.
NML_375
t
tclnick
Voice
Posts: 7
Joined: Thu Mar 04, 2010 11:27 pm

Post by tclnick »

Thanks for the link Torrevado :)
nml375 wrote:If /dcc chat does not work, yet /ctcp chat does, it means one or more of the following issues:
  • Your irc client does not know it's address on the internet.
  • Your irc client is behind a filtering router or firewall, that blocks incoming connections to your irc client
  • Eggdrop tries to compare your irc host with the IP provided in your /dcc chat request, if these does not match, eggdrop thinks it's a fraud and does not attempt to connect.
I'm leaning towards the ports side of things, so I will try portforward a port for DCC, see how that goes.

I also set DCC-sanitycheck to 0 so the IP thing shouldn't have been a probem, and mIRC doesn't seem to be having problems with finding my IP.

[/quote]Looking at your long-ip details (20923408104 in the CTCP DCC: CHAT message), are you by any chance using IPv6? That number is way too big to fit into the IPv4 namespace.[/quote]

Must have copy and pasted it wrong, I'm 100% IPV4 atm :)

Thanks for the help.
Post Reply