egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Gseen Language problems

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
Pouvl
Voice


Joined: 02 Apr 2006
Posts: 6

PostPosted: Sun Apr 02, 2006 11:57 am    Post subject: Gseen Language problems Reply with quote

I have searched for it but couldnt find anything about my noob problem

I've edited the gseen module abit but it cant use the language for some reason. When I use it in channel it just responds:
Bitch> NOLANGNOLANG
and in console it responds
[17:51] WARNING! No language selected! (getslang())

i have these (and more) lines in gseen script

loadseenslang "en" "English" language/gseen.en.lang
set default-slang "en"
setchanseenlang #mychannel "en"

any good advice to this noob? Smile
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun Apr 02, 2006 12:11 pm    Post subject: Reply with quote

1st: wrong forum
2nd: nobody will be able to help you, unless you tell them what you have changed.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
Pouvl
Voice


Joined: 02 Apr 2006
Posts: 6

PostPosted: Sun Apr 02, 2006 12:45 pm    Post subject: Reply with quote

only made a change to this line, switching it from de to en.. so it both sets the default language to english, and set #mychan to english as well, still doesnt work

# ... but let #xwp use the german langfile
setchanseenlang #mychan "en"

and which is the right forum? its not a tcl script Laughing
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Sun Apr 02, 2006 6:33 pm    Post subject: Reply with quote

the gseen module comes with comprehensive installation instructions, read the damn README for cryin' out loud Wink
Here's a tip: you must copy the language files that are included in gseen to your /home/eggdrop/language directory.
Mr. Green
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Pouvl
Voice


Joined: 02 Apr 2006
Posts: 6

PostPosted: Fri Apr 28, 2006 12:47 pm    Post subject: Reply with quote

love when I get flamed and what u suggest I've already done as its kinda obvious..
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Apr 28, 2006 7:10 pm    Post subject: Reply with quote

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

# set the default language to english...
set default-slang "en"

There is no need to set your channel(s) to English; it becomes the default (when you do the above).

Code:
# ... but let #xwp use the german langfile
#setchanseenlang #xwp "de"

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Pouvl
Voice


Joined: 02 Apr 2006
Posts: 6

PostPosted: Sat Apr 29, 2006 8:03 am    Post subject: Reply with quote

yeah hoped it would, but since the default didn't work, I tried with the channel setting too. Thought that might having set the language 2x might actually get it set, but noo...

Seems like theres some very weird problem..I got the language files where they should be, Im loading them, Im setting them, but gseen still complain about not having a language selected Sad
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon May 01, 2006 7:32 pm    Post subject: Reply with quote

Both the gseen.de.lang AND gseen.en.lang language files have to go into the eggdrop language folder.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Pouvl
Voice


Joined: 02 Apr 2006
Posts: 6

PostPosted: Sat May 13, 2006 5:06 am    Post subject: Reply with quote

yes thats where they are, thats kinda what I meant with "I got the language files where they should be" but nm...

dont wanna flame or seems disappointed, but will anyone give me some advice that isn't noob oriented and can actually help me? It seems gseen has gone sick in my end as it cant see the language files, and I've apparently done everything By The Book, and it still doesnt work.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon May 15, 2006 8:30 pm    Post subject: Reply with quote

Code:

gseen.conf:

# 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"

# ... but let #xwp use the german langfile
setchanseenlang #funo "de"


The above works for me.. Maybe using both set default-slang "en" and "setchanseenlang #chan "en" " is causing a problem.. I didn't test that.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon May 15, 2006 8:41 pm    Post subject: Reply with quote

I use the following:
Code:
# 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"

# ... but let #xwp use the german langfile
#setchanseenlang #xwp "de"

There's no reason why there would be an error if the files needed are located as above and the default language has been set.

Note: Changes to gseen.conf may require a bot restart rather than a rehash.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Pouvl
Voice


Joined: 02 Apr 2006
Posts: 6

PostPosted: Tue Jun 13, 2006 11:31 am    Post subject: Reply with quote

Alchera wrote:

There's no reason why there would be an error if the files needed are located as above and the default language has been set.

Note: Changes to gseen.conf may require a bot restart rather than a rehash.



guess what, it didnt work, so theres no apparent solving to this problem, even reinstalled the bot but that didnt work either..

did i mention it was the windrop version?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Jun 14, 2006 7:46 pm    Post subject: Reply with quote

Your'e running this under cygwin?

Quote:
# Cygwin is not a way to run native linux apps on Windows. You have to rebuild your application from source if you want it to run on Windows.

# Cygwin is not a way to magically make native Windows apps aware of UNIX ® functionality, like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber