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 (last version)

Discussion of Eggdrop's code and module programming in C.
Post Reply
User avatar
jsilvestre
Voice
Posts: 20
Joined: Sat Mar 05, 2005 6:02 am
Location: Lisbon, Portugal

Stats.mod (last version)

Post by jsilvestre »

i was install last stats.mod version but when i running my eggdrop it dont run.

error:

Code: Select all

[16:46] Tcl error in file 'Top10.conf':
[16:46] invalid command name "loadstatsskin"
    while executing

"loadstatsskin templates/stats/classic/classic.skin"
    (file "stats.conf" line 255)
    invoked from within
"source stats.conf
"
    (file "Top10.conf" line 54)
[16:46] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

Line 255

loadstatsskin templates/stats/classic/classic.skin -> this file exist
Best Regards

José Eduardo Silvestre
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

the likely reason for that error is stats.mod doesn't get loaded
User avatar
jsilvestre
Voice
Posts: 20
Joined: Sat Mar 05, 2005 6:02 am
Location: Lisbon, Portugal

Post by jsilvestre »

demond i know that but why? :S
Best Regards

José Eduardo Silvestre
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

because you didn't manage to actually build and/or install it?

or you missed to loadmodule stats in your config
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

it looks you are using a .conf file of a new build for an old build, because the stats skin feature is only included in the unstable 1.4.0.dev20 release and not in the stable 1.3.3.dev1 one.
try to comment out the loadskin lines.
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...
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

or create the directory tree just like in ~/eggdrop1.6.x/src/mod/stats.mod... for example, in your main bot directory, use the mkdir command to recreate the directory tree

Code: Select all

mkdir templates
mkdir stats
mkdir classic
then copy over the entire contents of ~/eggdrop1.6.x/src/mod/stats.mod/templates/stats/classic... i'm pretty sure this is how i made it work...
p
pwnt
Voice
Posts: 3
Joined: Fri Aug 19, 2005 3:46 am

Post by pwnt »

I got the same problem, and didn't fix it yet, then i go back to the older version of stats.mod, because older version works fine with no error at all, maybe there is a problem in the styles of the URL "Interface" i think the guy who made that livestat forgot to upload the skins :o
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

the livestats templates worked fine for me in the newest version. I put them in:
eggdrop/templates/stats/classic
I beleave that was the default dir they are supposed to be.
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...
Post Reply