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.

Help for gseen

Old posts that have not been replied to for several years.
Locked
V
Viper

Help for gseen

Post by Viper »

Hallo i have gseen on my eggdrop
evrything it´s ok but
when i do seen a nick with more of 9 word he give me a error that the nick to loong is how can i make that the eggdrop give me a error on 15 words ?

tnx
X
XRTC

Post by XRTC »

In your Directory ex eggdrop1.9.6/ edit the scr/eggdrop.h and recompile the bot. It's HANDLEN and the default No of characters is 9. You can change it to support longer than 9 char nicknames.
V
Viper

Post by Viper »

heare is a copy of eggdrop.h and i change the handlen to 15 and complier the eggdrop but it comes the same error :(




#define HANDLEN 15 /* valid values 9->NICKMAX */
#define NICKMAX 32 /* valid values HANDLEN->32 */


/* Handy string lengths */

#define UHOSTMAX 160 /* reasonable, i think? */
#define DIRMAX 256 /* paranoia */
#define LOGLINEMAX 767 /* for misc.c/putlog() <cybah> */
#define BADHANDCHARS "-,+*=:!.@#;$%&"


/* Language stuff */

#define LANGDIR "./language" /* language file directory */
#define BASELANG "english" /* language which always gets loaded
before all other languages. You do
not want to change this. */


/*
* The 'configure' script should make this next part automatic,
* so you shouldn't need to adjust anything below.
*/

#define NICKLEN NICKMAX + 1
#define UHOSTLEN UHOSTMAX + 1
#define DIRLEN DIRMAX + 1
#define LOGLINELEN LOGLINEMAX + 1
#define NOTENAMELEN ((HANDLEN * 2) + 1)
#define BADNICKCHARS "-,+*=:!.@#;$%&"


/* Have to use a weird way to make the compiler error out cos not all
* compilers support #error or error
*/
#if !HAVE_VSPRINTF
# include "error_you_need_vsprintf_to_compile_eggdrop"
#endif

#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#ifndef STATIC
# if (!defined(MODULES_OK) || !defined(HAVE_DLOPEN)) && !defined(HPUX_HACKS)
# include "you_can't_compile_with_module_support_on_this_system_try_make_static"
# endif
#endif

#if !defined(STDC_HEADERS)
# include "you_need_to_upgrade_your_compiler_to_a_standard_c_one_mate!"
#endif

#if (NICKMAX < 9) || (NICKMAX > 32)
# include "invalid NICKMAX value"
#endif

#if (HANDLEN < 9) || (HANDLEN > 32)
# include "invalid HANDLEN value"
#endif

#if HANDLEN > NICKMAX
# include "HANDLEN MUST BE <= NICKMAX"
#endif
I
Inspiron

Post by Inspiron »

Gseen.mod seems to get the value from somewhere else. I also have compiled Eggdrop with HANDLEN 15, but gseen.mod stil complains when seening for nicks longer than 9 chars.

Anyone?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

doh! have you seen the gseen.conf file or what is it's name? I guess you didn't.. Look inside it and you will see something about this.. I remember I've seen something like this. humm..
I
Inspiron

Post by Inspiron »

Thanks for your interest in this problem.

YES, I have read and modified the gseen.conf file, but there is nothing in this file refering to this nicklength thing...

Can you tell me at what line you did see it? :D
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Does the gseen module use the nick-len variable set in the main config file? If so, modify that variable.
I
Inspiron

Post by Inspiron »

GREAT!

Apparently it does! I didn't have that line in my main config, but I added it and it works like a charm.

Thanks for your help!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Humm.. where I've seen that .. ? humm..
V
Viper

huh ?

Post by Viper »

what ?
where is that line for changing the nick lengh of 9 characters
V
Viper

huh ?

Post by Viper »

i mean in which file should i find the changes for the nick length ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

As noted in Inspiron's reply.

He set it in his main config. IE the config file
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

And that would prolly be complete.eggdrop.conf. I don't think you'll find the setting in simple one or advanced. Tho, if it doesn't exist in your version of config, just add the line. Btw, simple and advanced *are* evil. They will be removed from 1.7 (or 1.8 if you like), but hopefully, even from 1.6.13 if i pester Wcc a bit more. >:>
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
Locked