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.

Stats.mod Help

General support and discussion of Eggdrop bots.
Post Reply
A
Andrew
Voice
Posts: 2
Joined: Sat Jul 24, 2010 10:08 pm

Stats.mod Help

Post by Andrew »

After the recent eggdrop1.2.20 upgrade, my shell provider decided to put stats.mod on our bots.

stats.mods is in the source before the build, after the build, I get the stats.conf and language files from the source, and move them to my bot home directory.

I try to start the bot, and get this error:

Code: Select all

[21:57:49] ERROR reading stats file
[21:57:49] Stats.mod v1.3.3dev1 loaded.
[21:57:49] Module loaded: stats
[21:57:49] Tcl error in file 'eggdrop.conf':
[21:57:49] invalid command name "loadstatslang"
    while executing
"loadstatslang "en" "English" language/stats.lang"
    (file "stats.conf" line 76)
    invoked from within
"source stats.conf"
    (file "eggdrop.conf" line 149)
[21:57:49] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
w
willyw
Revered One
Posts: 1203
Joined: Thu Jan 15, 2009 12:55 am

Re: Stats.mod Help

Post by willyw »

Andrew wrote: ...and language files from the source, and move them to my bot home directory.
...
Shouldn't the stats lang file be in the language/ directory?

Try putting a copy of it in there, and let us know if that was the solution.


( Have a look in stats.conf too. If I recall correctly, the location of the stats lang file is defined in there. )


I hope this helps.
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Try to change loadstatslang to loadslang in line

Code: Select all

loadstatslang "en" "English" language/stats.lang
in stats.conf
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Post Reply