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.

gseen issue. Can't load module [solved]

Support & discussion of released scripts, and announcements of new releases.
Post Reply
m
marvz
Halfop
Posts: 64
Joined: Fri Jun 18, 2010 2:37 pm

gseen issue. Can't load module [solved]

Post by marvz »

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

Code: Select all

[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: Select all

######
#####
###   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: Select all

#! ./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.
m
marvz
Halfop
Posts: 64
Joined: Fri Jun 18, 2010 2:37 pm

Post by marvz »

Realized that I didn't have

Code: Select all

loadmodule gseen
in the .conf
Post Reply