| View previous topic :: View next topic |
| Author |
Message |
Haudrauf Voice
Joined: 10 Nov 2005 Posts: 5
|
Posted: Thu Nov 10, 2005 11:13 pm Post subject: quakenet net-type nicklen |
|
|
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 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Nov 10, 2005 11:19 pm Post subject: |
|
|
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] tag when posting logs, code |
|
| Back to top |
|
 |
Haudrauf Voice
Joined: 10 Nov 2005 Posts: 5
|
Posted: Thu Nov 10, 2005 11:27 pm Post subject: |
|
|
My conf clearly states net-type 5 before nick-len
I get the feeling this is an eggdrop bug. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Nov 11, 2005 12:21 am Post subject: |
|
|
| Code: | | #define HANDLEN 32 /* valid values 9->NICKMAX */ |
The above code change for eggdrop.h to allow internal handles of up to 32 chars.
| Code: | ### 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 |
|
| Back to top |
|
 |
Haudrauf Voice
Joined: 10 Nov 2005 Posts: 5
|
Posted: Fri Nov 11, 2005 8:43 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Nov 11, 2005 9:33 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Haudrauf Voice
Joined: 10 Nov 2005 Posts: 5
|
Posted: Fri Nov 11, 2005 9:37 am Post subject: |
|
|
This has been solved now.
I was doing it like this:
| Code: | set username "Hello123456"
set nick $username |
but username gets truncated internally.. it's nowhere written :/ but ok.
So I did now:
| Code: | set nickname "Hello123456"
# ok gets truncated again but it doesn't matter
set username $nickname
set nick $nickname |
Solved the mysterious truncation. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Nov 11, 2005 9:44 am Post subject: |
|
|
"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 |
|
| Back to top |
|
 |
Haudrauf Voice
Joined: 10 Nov 2005 Posts: 5
|
Posted: Fri Nov 11, 2005 9:59 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|