| View previous topic :: View next topic |
| Author |
Message |
Andrew Voice
Joined: 24 Jul 2010 Posts: 2
|
Posted: Sat Jul 24, 2010 10:13 pm Post subject: Stats.mod Help |
|
|
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: | [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)
|
|
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Jul 24, 2010 11:31 pm Post subject: Re: Stats.mod Help |
|
|
| 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. |
|
| Back to top |
|
 |
username Op

Joined: 06 Oct 2005 Posts: 196 Location: Russian Federation, Podolsk
|
Posted: Sun Jul 25, 2010 7:13 pm Post subject: |
|
|
Try to change loadstatslang to loadslang in line | Code: | | loadstatslang "en" "English" language/stats.lang | in stats.conf _________________ Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/ |
|
| Back to top |
|
 |
|