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 issue. Can't load module [solved]

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
marvz
Halfop


Joined: 18 Jun 2010
Posts: 64

PostPosted: Thu Jul 08, 2010 12:36 pm    Post subject: gseen issue. Can't load module [solved] Reply with quote

I'm trying to load the gseen script and I get the following messages when I try to load it:

Code:
[09:08] Can't load modules gseen: Unknown module.
[09:08] Tcl error in file 'beersnob.conf':
[09:08] invalid command name "loadseenslang"
    while executing
"loadseenslang "en" "English" language/gseen.en.lang"
    (file "gseen.conf" line 16)
    invoked from within
"source gseen.conf"
    (file "beersnob.conf" line 227)
[09:08] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Connection closed by foreign host.


Here is my gseen.conf file that is located in the /eggdrop directory:
Code:
######
#####
###   General Settings
#####
######

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

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

# the char that marks public commands (!seen, etc...)
# "" is a valid option
set cmdchar "!"

# delete data sets that are older than x days
set expire-seens 365

# only answer x seen requests in y seconds to prevent flooding
set max-seens 7:60

# tell users if someone was !seen'ing for them
set tell-seens 1

# check if the user was online under a different nick
set fuzzy-search 1

# allow user to include wildcards in the search?
set wildcard-search 1

# break search if there are more than x matches
set max-matches 250

# forward a request to other bots, if a !seen returned no result?
set botnet-seens 1

# store channels, which are +secret on the bot as [secret]?
set hide-secret-chans 1

# backup the seen data every x minutes
set save-seens 60

######
#####
###   AI Settings
#####
######

# this setting configures on which sentences your bot should
# attempt to do an ai-seen. Each of them is a simple wildcard
# mask. Set this to "" if you want to deactivate ai-seens or
# create more precise masks if the bots reacts too often.
set ai-seen-binds {
  "${nick}*seen*"
  "${botnet-nick}*seen*"
  "${nick}*gesehen*"
  "${botnet-nick}*gesehen*"
}

# this is just the same as above, but if triggered it will
# not do an ai-seen, but display its seen-stats.
set ai-seenstats-binds {
  "${nick}*seenstats*"
  "${botnet-nick}*seenstats*"
}

# when doing an AI seen, ignore the following words (otherwise
# the bot might give weird answers like "<bot> nick, bot was last seen..." :)
set ai-seen-ignore "$nick ${botnet-nick} seen"



Here is my .conf file for my eggdrop:

Code:
#! ./eggdrop

### Core Settings ###
set admin "Marvz"
set nick "Beersnob"
set altnick "Beersnob-"
set realname "Beersnob"
set network "Others"
set net-type "5"
set init-server { putserv "mode Beersnob +i" }
set default-port 6667
set servers {
  irc.irc4lyf.com
 
 
}

set timezone "PST"
set offset "7"
set env(TZ) "$timezone $offset"
set my-hostname "irc4lyf.com"
set my-ip ""

### Logfile Settings ###
set max-logs 5
set max-logsize 0
set quick-logs 0
logfile mcobxs * "logs/Beersnob.log"
logfile jkp #spf "logs/#spf.log"
set log-time 1
set keep-all-logs 1
set logfile-suffix ""
set switch-logfiles-at 300
set quiet-save 0

### Console Settings ###
set console "mkcobxs"

### File & Directory Settings ###
set userfile "Beersnob.user"
set pidfile "pid.Beersnob"
set chanfile "Beersnob.chan"
set force-expire 0
set share-greet 0
set use-info 1
set sort-users 0
set help-path "help/"
set text-path "text/"
set temp-path "/tmp"
set motd "text/motd"
set telnet-banner "text/banner"
set userfile-perm 0600
set mod-path "modules/"

### BotNet Settings ###
set botnet-nick "Beersnob"
listen 3333 all
set remote-boots 0
set share-unlinks 0
set protect-telnet 1
set dcc-sanitycheck 1
set ident-timeout 0
set require-p 1
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 30
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

### Channel Settings ###
loadmodule channels
set global-flood-chan 4:5
set global-flood-deop 0:0
set global-flood-kick 0:0
set global-flood-join 4:05
set global-flood-ctcp 2:02
set global-flood-nick 5:20
set global-aop-delay 0:00
set global-idle-kick 0
set global-chanmode "nt"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 0
set global-exempt-time 60
set global-invite-time 60

set global-chanset {
    +autoop           +autovoice
    -bitch            -cycle
    +dontkickops      +dynamicbans
    +dynamicexempts   +dynamicinvites
    +enforcebans      -greet
    -inactive         +nodesynch
    +protectfriends   +protectops
    -revenge          -revengebot
    -secret           +seen
    +shared           -statuslog
    +userbans         +userexempts
    +userinvites      -protecthalfops
    -autohalfop
}

channel add #spf {
    chanmode "+tn"
    idle-kick 0
    flood-chan 5:4
    flood-join 5:10
    flood-ctcp 3:60
    flood-deop 0:0
    flood-kick 0:0
}
channel set #spf +enforcebans +dynamicbans +autoop +autovoice +protectops +protectfriends
#set opchars "@&~"

### Advanced Settings ###
set ignore-time 5
set hourly-updates 00
set owner "Marvz"
set notify-newusers "Marvz"
set default-flags "hp"
set whois-fields "url birthday"
set die-on-sighup 0
set die-on-sigterm 1
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 1
unbind dcc n simul *dcc:simul
set max-dcc 50
set enable-simul 1
set allow-dk-cmds 1
set dupwait-timeout 5

### Module Settings ###
loadmodule dns
loadmodule transfer
loadmodule share
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule notes
loadmodule console
loadmodule blowfish
checkmodule blowfish
loadmodule uptime

set keep-nick 1
set strict-host 0
set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 5:5
set flood-ctcp 3:60
set never-give-up 1
set strict-servernames 0
set server-cycle-wait 60
set server-timeout 60
set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0
set optimize-kicks 1
set stack-limit 4
set ctcp-mode 0
set bounce-bans 1
set bounce-modes 0
set max-bans 100
set max-modes 30
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
bind msg - ident *msg:ident
bind msg - addhost *msg:addhost
set no-chanrec-info 0
set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set prevent-mixing 1
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30
set share-compressed 1
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1
set console-autosave 1
set force-channel 0
set info-party 0

# Many takeover attempts occur due to lame users blindly /msg ident'ing to
# the bot and attempting to guess passwords. We now unbind this command by
# default to discourage them. You can enable this command by un-commenting
# the following two lines.
bind msg - ident *msg:ident
bind msg - addhost *msg:addhost

# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +ib-ws"
  putquick "privmsg nickserv : identify ****"
}

### Script Settings ###
source scripts/alltools.tcl
source scripts/action.fix.tcl
#source scripts/bseen1.4.2.tcl
#source scripts/mel2.tcl
#source scripts/beer.tcl
source gseen.conf


I have been reading and I think my eggdrop directory might be the issue but, I don't want to make those changes due to my fear of messing something up. My current directory looks like this:

eggdrop/
beersnob.user
beersnob.chan
beersnob.conf
gseen.conf
README
eggdrop-1.6.19
bs_data_beersnob.bak
bs_data.beersnob
beersnob.user~bak
beersnob.chan~bak
eggdrop.conf
beersnob.notes

/language
/doc
/help
/filesys
/mel
/logs
/scripts
/text

Hope this is enough info. I did everything that the installation notes told me to do so I'm at a loss right now. Thanks in advance.
Back to top
View user's profile Send private message
marvz
Halfop


Joined: 18 Jun 2010
Posts: 64

PostPosted: Fri Jul 09, 2010 4:51 pm    Post subject: Reply with quote

Realized that I didn't have
Code:
loadmodule gseen

in the .conf
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases 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