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 

Add user to user file/DCC problems

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


Joined: 04 Mar 2010
Posts: 7

PostPosted: Fri Mar 05, 2010 1:54 am    Post subject: Add user to user file/DCC problems Reply with quote

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:

[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:

Chat with myname
Waiting for acknowledgement...


Edit - Now my client is saying

Code:

[myname ERROR reply]: no password set


So I messaged it, set a pass, however It's just sitting on

Code:


[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
Back to top
View user's profile Send private message
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Fri Mar 05, 2010 1:21 pm    Post subject: Reply with quote

Here's how you should manage your userfile: http://www.egghelp.org/using.htm#userfile
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Mar 05, 2010 1:35 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
tclnick
Voice


Joined: 04 Mar 2010
Posts: 7

PostPosted: Fri Mar 05, 2010 7:26 pm    Post subject: Reply with quote

Thanks for the link Torrevado Smile

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 Smile

Thanks for the help.
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