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.

eggdrop 1.6.6 and long nick's

Old posts that have not been replied to for several years.
Locked
f
fragster

eggdrop 1.6.6 and long nick's

Post by fragster »

Hi all :-)

I'm having som trouble with eggdrop 1.6.6 and long nick's.

I know that eggdrop by default only supports 9 characters,
and it is possible with nink-len, to get it accepting 32 characters.

I set nick-len to 32, but still when creating a new user account,
it says:
Your nick was too long and therefore it was truncated to '[XXXX]xxx'.

the command I use: set nick-len 32 (tried with "32" still the same).

What can i do wrong ??

Plz Help

Regards

Jan Pedersen
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is a differance between nicknames and handles.

A handle is the username within the eggdrop, and the nickname is the username upon IRC.

Instead of chaning the handle each tiem some1 changes nicknames on IRC, eggdrop stores one handle, and tracks the user by hostmasks.

The nick-len setting to to enable eggdrop to understand that you are on a long nick network, not that you want to use long handles.

Handles are not nicknames.

The method to get around this is the following.

Download and uncompress the eggdrop source code (eg 1.6.9 (yes it's old))
Edit the file "~/eggdrop1.6.9/src/eggdrop.h"
Locate and change the line "#define HANDLEN 9"
Change the value of this to support your network
Now compile the bot with these changes.

Note: You will no longer be able to link with eggdrop bots, with a handlen value of 9, or anything else for that mater.

Also, the output of commands in the partyline, will look rather odd, as they use the value of HANDLEN to set the spaces in the display.
f
fragster

Post by fragster »

Thx for your answer :D

Sorry for asking this again, I see that it has already been commented in a earlier post :D
W
Wot-A-Guy

Post by Wot-A-Guy »

just wondering why version as oppsed to 1.6.10 and if a sold reason where can i get a copy of 1.6.9

:oops:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

No reason, it was an example.

You can use whatever version you want.

You can download all backdated versions from ftp://ftp.eggheads.org/
W
Wot-A-Guy

Post by Wot-A-Guy »

reason that prompted the question was I got a nasty error message with 1.6.10 when I made the change suggested and wondered whether 1.6.10 was somehow different with variables maybe not linked as they should be.
The error message received is:

[22:21] * Last context: tclhash.c/677 [Tcl proc: *raw:irc:join, param: $_raw1 $_raw2 $_raw3]
[22:21] * Please REPORT this BUG!
[22:21] * Check doc/BUG-REPORT on how to do so.
[22:21] * Wrote DEBUG
[22:21] * SEGMENT VIOLATION -- CRASHING!

This error does not occur with HANDLEN remaing set at 9.......

:-?
D
Darmoth
Master
Posts: 210
Joined: Sun Oct 07, 2001 8:00 pm
Location: old europe

Post by Darmoth »

Don't think there are any changes. I compiled 3 1.6.10 Eggies with Nicklength 32 and don't have any problems.
May be you should do what the error message told ya and report the bug.
Locked