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.

Seen and Gseen Modules

Old posts that have not been replied to for several years.
Locked
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Seen and Gseen Modules

Post by Weirdo »

Due to my incompetance, i lost all my previous eggdrop settings when the NT permissions kicked in. One of the things i lost was my GSeen.conf and Eggdrop.conf files. Which i have had to recode.

now, back when i added the seen script, i had to do major editing to get anything to respond to !seen <nick> in channel. And its happened again
[20:33:47] <Minako> Module: gseen (v1.1)
[20:33:47] <Minako> Module: console (v1.1)
[20:33:47] <Minako> Module: notes (v2.1)
[20:33:47] <Minako> Module: seen (v2.0)
[20:33:47] <Minako> Module: irc (v1.3)
[20:33:47] <Minako> Module: ctcp (v1.0)
[20:33:47] <Minako> Module: server (v1.2)
[20:33:47] <Minako> Module: channels (v1.0)
[20:33:47] <Minako> Module: dns (v1.0)
[20:33:47] <Minako> Module: encryption (v2.1)
[20:33:47] <Minako> Module: eggdrop (v106.13)
[20:33:47] <Minako> End of modules list.
So, i have the seen module loaded. And i see another module, called gseen. Now surely this works with the gseen.conf, but no, it doesnt. Instead, when it is loaded, and !seen <nick> is done in channel, it sprouts crap at me
[20:33:56] <Minako> [20:33] <<Weirdo>> !Weirdo! seen Kharn
[20:33:56] <Minako> [20:33] WARNING! No language selected! (getslang())
[20:33:56] <Minako> [20:33] WARNING! No language selected! (getslang())

[20:33:56] <Weirdo> !seen Kharn
[20:33:59] <Minako> NOLANGNOLANG
[20:34:12] <Weirdo> hmm, so that dont work :P
so i am at a loss. What will it take to get either of these modules working? I have noticed that a gseen.dat file is being created, tho its only 112 bytes. Which is normal since it was 3 misn since i deleted it last :)

Any help would be appreciated on this problem

Weirdo
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Seems like you didn't copy a required language file or something else is amis with your language files. Did you follow the installation instructions correctly? I'm not sure exactly what gseen requires to be loaded, but for sure its crying about a required language file. Check if this file is in your \eggdrop\language\: http://www.visions-of-fantasy.de/gseen. ... en.en.lang .
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

Yup, both the english and the german ones are in there by default
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

And you set them in the conf correctly?
# load the English language file
loadseenslang "en" "English" language/gseen.en.lang
With those permission problems you had, are you sure you can read those required files as well?
Don't forget to copy the langfiles from eggdrop1.6.2/src/mod/gseen.mod/ to
eggdrop/language.
They are not installed by default, make sure you copied them over.
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

# the file where the seen data will be backuped.
# WARNING: set this _before_ the module is loaded.
set gseenfile "gseen.dat"

# now load the module
loadmodule gseen

# load the English language file
loadseenslang "en" "English" language/gseen.en.lang

# load the German language file
loadseenslang "de" "Deutsch" language/gseen.de.lang

# set the default language to english...
set default-slang "en"
Lang files for the mod installed as default in windrop
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You say these are located in gseen.conf.

Are you sure this file is being loaded?

It may be that the module doesn't load this file on it's own, and you have to manualy load it like a normal Tcl script (IE, the source command)
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

hmmm, on my eggdrop.conf

loadmodule seen

thats on, no reference to gseen anywhere. I think its loading, as the gseen.dat is being made.

[22:18:46] <Minako> [22:18] gseen.mod v1.1.0 loaded.
[22:18:46] <Minako> [22:18] Module loaded: gseen
[22:18:46] <Minako> [22:18] Loading language "en" from language/gseen.en.lang...
[22:18:46] <Minako> [22:18] Loading language "de" from language/gseen.de.lang...

added source gseen.conf and it worked :P

I didnt do that last time, how odd. Thank you :)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You shouldn't load the eggdrop inclusive version of seen.mod when running gseen.

gseen is standalone (other then usign eggdrop), just seen.mod is.
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

I wonder how gseen was loaded without the mod or conf being loaded in the eggdrop conf..
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

this is what i want to know

seen is unloaded now. :)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The is no way, other than in the config file, or via a ".loadmod" in the partyline for this to happen.

There are no tricks in the Makefile or anything else, to cause it to add lines to the config file.
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

could it be the raw conf file in the directory? Does eggdrop scan them or somethign?
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Nope.
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

all that was done was loadmodule seen

nothing else. How very odd..
Locked