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.

quakenet net-type nicklen

General support and discussion of Eggdrop bots.
Post Reply
H
Haudrauf
Voice
Posts: 5
Joined: Thu Nov 10, 2005 11:01 pm

quakenet net-type nicklen

Post by Haudrauf »

I'm not new to eggdrop bots but when I wanted to change to a longer nick than 9 chars it just always truncated at the nineth character.
Using eggdrop 1.6.17.

All my bots reside on quakenet - so I use net-type 5. (I set every variable concerning net-type 5).
Since quakenet allows 14 chars for the nickname I set nick-len to 14.

I'm really not keen on compiling my whole botnet from new to set some handles that would affect my linking abilities to external botnets who still use the handlen default of 9.

Seeing eggdrop.h in the source, it says, maximal nick length is 32.. I would only need to set nick-len or nicklen to more than 9.

Anyhow:

- It always truncates the botnick at 9 characters.
- Isn't it time eggdrop gets an own net-type just for quakenet? Seeing that quakenet is the biggest ircnetwork in the world at the moment.
- What's wrong with my setup? Would I really need compiling handlen to 32 just for nicklen to work? wtf?!


Bye,
Haudrauf
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

nope, qnet is lame and shouldn't be supported at all

j/k

try setting nick-len after net-type
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
H
Haudrauf
Voice
Posts: 5
Joined: Thu Nov 10, 2005 11:01 pm

Post by Haudrauf »

My conf clearly states net-type 5 before nick-len :)

I get the feeling this is an eggdrop bug.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

#define HANDLEN 32   /* valid values 9->NICKMAX  */
The above code change for eggdrop.h to allow internal handles of up to 32 chars.

Code: Select all

### SERVER MODULE - OTHER NETWORKS (net-type 5) ###

# This setting allows you to specify the maximum nick-length supported by your
# network. The default setting is 9. The maximum supported length by Eggdrop
# is 32.
set nick-len 32
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
H
Haudrauf
Voice
Posts: 5
Joined: Thu Nov 10, 2005 11:01 pm

Post by Haudrauf »

That's exactly what i don't want. I've read up all those posts about handlen and nicklen on this forum here. It's nothing that really helps me.

Look, I don't want to change my internal handle lengths. It's good at 9.

I ONLY wanna change my nick-len to higher than 9 and smaller than 33.

Now.. For this to work DO I REALLY NEED to compile with a higher maximal handlen? I mean.. wtf - this breaks my botnet!

If that's the case - isn't that a bug? And if it's not a bug but a feature that people have to have same max handlen as max nicklen in eggdrop.h, then put it as default future releases.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Setting nick-len to 32 in your bot configuration file should be fine as long as your network supports nicks of these lengths. Read your server's motd to check.

This setting has nothing to do with a bot recognising (internally) nicks longer than the default 9 characters.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
H
Haudrauf
Voice
Posts: 5
Joined: Thu Nov 10, 2005 11:01 pm

Post by Haudrauf »

This has been solved now.
I was doing it like this:

Code: Select all

set username "Hello123456"
set nick $username
but username gets truncated internally.. it's nowhere written :/ but ok.

So I did now:

Code: Select all

set nickname "Hello123456"
# ok gets truncated again but it doesn't matter
set username $nickname
set nick $nickname
Solved the mysterious truncation.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

"username" is Network dependent. Nothing to do with eggdrop. Most allow 9 characters and no more.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
H
Haudrauf
Voice
Posts: 5
Joined: Thu Nov 10, 2005 11:01 pm

Post by Haudrauf »

Yo, but it didn't come to my mind the variable username would be truncated. I thought if you set username to "Whatever3414" it would still keep its set value but truncates it for the internal usage with the network.

Wrong thought.
Post Reply