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.

Precompiled Eggdrop Help - Handlen

Old posts that have not been replied to for several years.
Locked
t
the_crow
Halfop
Posts: 42
Joined: Fri Feb 28, 2003 7:37 am
Location: Lisboa, Portugal

Precompiled Eggdrop Help - Handlen

Post by the_crow »

Hi everybody.
I have one problem, i have a precompiled eggdrop1.6.0 for unix that i have downloaded from johohos home page.
The egg runs perfectly, but today i try to excange the Handlen (defaul 9) to 15, and couldn't do that.
Like my version of eggdrop is 1.6, it should leave me put in the conf file the command

Code: Select all

set nick-len
but i do that with the number 15 ahead, and the same problem remains.
Can anyone have a idea?!It's for a precompiled bot, so i cant recompile de bot again, because i don't have that chance :)
Thanks all :)
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

nicklen is not handlen first of all... to change handlen edit eggdrop.h and recompile... seeing how this is a precompiled bot well.. im afraid you are out of luck.. look for a handlen 32 precompiled bot or something shrug
a.k.a. hellios
t
the_crow
Halfop
Posts: 42
Joined: Fri Feb 28, 2003 7:37 am
Location: Lisboa, Portugal

Post by the_crow »

My bot is having trouble with nicknames longer than 9 characters. How do I fix this?
With Eggdrop 1.6, the nick length allowed on your network type will be set automatically provided net-type is set correctly in the bot's config file. You can adjust the nick length manually using the nick-len setting in the config.

Eggdrop 1.4 and earlier, by default, only allow nicknames to be 9 characters long. If you want to use it on networks with long nicknames (e.g. DALnet), you need to change a setting defined in eggdrop.h before compiling the bot. To do this, FTP to the shell, download src/eggdrop.h, then open the file in a text editor. Find the NICKMAX setting and change it to the maximum number of characters allowed by your IRC network, then save the file and upload it (overwriting the existing eggdrop.h). Of course, you can edit the file directly on the shell if you prefer to do so instead of downloading, editing locally, then uploading it.

Even if you change the nick-len or NICKMAX setting, user handles will still be limited to 9 characters. To increase the handle length above 9 characters in Eggdrop 1.6 or Eggdrop 1.4 and earlier, you need to change the HANDLEN setting in src/eggdrop.h before compiling. Note that your bot will only be able to link with bots compiled with the same HANDLEN setting. Since most bots are compiled with the default of 9, this should be taken into consideration before you change it.
Like i said in eggdrops 1.6.x we can define nick-len :)
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

the_crow wrote: Like i said in eggdrops 1.6.x we can define nick-len :)
Like gumby said, nick-len is NOT hand-len.
nick = user's nick on irc
handle = user's alias on bot
D
Darmoth
Master
Posts: 210
Joined: Sun Oct 07, 2001 8:00 pm
Location: old europe

Post by Darmoth »

Gumby is right, there is no way to change the hand-lenght in a precompiled bot.
To do that, you have to edit the eggdrop.h before comiling the bot.
t
the_crow
Halfop
Posts: 42
Joined: Fri Feb 28, 2003 7:37 am
Location: Lisboa, Portugal

Post by the_crow »

in that case, sorry gumby :)
can anyone tell me where can i get a handlen32 precompiled eggdrop for linux?!
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

edit: eh bad link.

Precompiled eggdrops are icky anyway - Why must you get a precompiled one? Most linux boxes that are setup to 'allow' outside code can compile eggdrop fine..
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

heh no worries.. but i admit after that second post you had me wondering if i misunderstood your question lol
a.k.a. hellios
Locked