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 

Server says my nickname is invalid

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
daltanius
Voice


Joined: 14 Nov 2003
Posts: 23

PostPosted: Sun Aug 14, 2005 4:23 pm    Post subject: Server says my nickname is invalid Reply with quote

Hi all,
i want that mine eggdrops join on us.ircnet.org and ircnet.choopa.net with UID nick.
On my config file i have set: set nick "0" .
Eggdrop don't join on irc and i have received from servers these message:

Connected to ircnet.choopa.net
Server says my nickname is invalid.

Connected to us.ircnet.org
Server says my nickname is invalid.

What i must do?

Thx
Daltanius
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Aug 14, 2005 4:47 pm    Post subject: Reply with quote

you've been running eggdrop for 2 years now yet you don't know that nicknames cannot start with a digit?
Back to top
View user's profile Send private message Visit poster's website
daltanius
Voice


Joined: 14 Nov 2003
Posts: 23

PostPosted: Sun Aug 14, 2005 4:56 pm    Post subject: Reply with quote

if you want a UID nick on irc you must do : /nick 0

example
/nick 0
Your nick is now 380AAJGS5

i want that eggdrop auto get UID nick on us.ircnet.org and ircnet.choopa.net

Ps: on *.De servers i have set nick 0 on config file and work good.. eggdrop auto get UID nick
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Aug 14, 2005 5:28 pm    Post subject: Reply with quote

another weird IRCnet feature? or rather german-only IRCnet feature, since you can only use this on *.de servers? I don't follow IRCnet development so we'll have to wait for some of our heavy-duty IRCnet users to comment on that

I can't believe they did that, it really looks Unreal-ish
Back to top
View user's profile Send private message Visit poster's website
KrzychuG
Master


Joined: 16 Aug 2003
Posts: 306
Location: Torun, Poland

PostPosted: Sun Aug 14, 2005 6:14 pm    Post subject: Reply with quote

demond wrote:
another weird IRCnet feature? or rather german-only IRCnet feature, since you can only use this on *.de servers? I don't follow IRCnet development so we'll have to wait for some of our heavy-duty IRCnet users to comment on that


That's not true. UIDs work in whole IRCnet and Eggdrop doesn't have any problems with it. It seems that those 2 servers are currently broken. You won't connect even with regular client if you set nick to 0, however you can change your nick to UID later without any problems.

You have 2 options: use another server (open.pl.ircnet.net works fine and is also opened for foreign connections) or set normal nickname and change it to UID when bot connect to server (using init-server procedure)

Code:

bind evnt - init-server onconnect
proc onconnect { blah } {
  set nick 0
}

_________________
Que?
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Aug 14, 2005 6:29 pm    Post subject: Reply with quote

hah it looks like they've had that for some time now; from irc2.11 ChangeLog:
Code:

2002-11-25  Jakub Vlasek

        * s_user.c/m_nick(): Allow user to set his nick to UID by specifying
          nick 0 or his own UID.


that they use UIDs I can understand, most modern ircds use UIDs internally for client tracking (since the UID doesn't change in client's lifetime, therefore nick chasing is no longer an issue); but why do they allow UIDs to be used externally as nicks is beyond me... seems irrational and like a present for spammers and drone monkeys who now can generate random nicks without actually trying!
Back to top
View user's profile Send private message Visit poster's website
KrzychuG
Master


Joined: 16 Aug 2003
Posts: 306
Location: Torun, Poland

PostPosted: Sun Aug 14, 2005 6:41 pm    Post subject: Reply with quote

demond wrote:
that they use UIDs I can understand, most modern ircds use UIDs internally for client tracking (since the UID doesn't change in client's lifetime, therefore nick chasing is no longer an issue); but why do they allow UIDs to be used externally as nicks is beyond me... seems irrational and like a present for spammers and drone monkeys who now can generate random nicks without actually trying!


It's nick collision protection. Previously collided user was disconnected from server. Now that user change his nick to UID. Now much changed in spammers and drones.
_________________
Que?
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Aug 14, 2005 7:03 pm    Post subject: Reply with quote

okay but that's presumably done automatically by the server itself, isn't it? i.e. when you are to be nick-collided, the server changes your nick to random (UID) instead of disconnecting you; why allow users to do that too? seems irrelevant to the nick collision problem - the server can't wait for you to change your nick/UID by issuing NICK 0 and only then to resolve the collision, right?
Back to top
View user's profile Send private message Visit poster's website
KrzychuG
Master


Joined: 16 Aug 2003
Posts: 306
Location: Torun, Poland

PostPosted: Mon Aug 15, 2005 3:32 am    Post subject: Reply with quote

demond wrote:
okay but that's presumably done automatically by the server itself, isn't it

Yes, it's done automatically.

Quote:

why allow users to do that too?

Well, why not? I don't see anyting wrong with it.It can be used also as temporary altnick etc. There is same spammers and clones activity as before. Maybe you should ask ircd developers about it.

EDIT:

Final solution:

Code:

bind evnt - init-server onconnect
proc onconnect { blah } {
  set ::oldnick $::nick
  set ::nick 0
} ;# onconnect

bind evnt - disconnect-server ondisconnect
proc ondisconnect { blah } {
  set ::nick $::oldnick
} ;# ondisconnect

_________________
Que?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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