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.

eggdrop 1.6.x+ stats.mod v1.4.x

Old posts that have not been replied to for several years.
Locked
I
IRCer

eggdrop 1.6.x+ stats.mod v1.4.x

Post by IRCer »

Hello.

I have problems with stats.mod v1.4.0 dev19 on eggdrop 1.6.10.
First of all I'd like to say, that I'd prefer to stay with stats.mod 1.4.x series, than changing to 1.3.x series, so if you want to respond with something like "USE STABLE ;PPP" you don't have to waste your time...

My problem is, that users aren't automatically added to stats' userlist - so, stats.mod "works" but in counts/shows stats only for already registered users (in eggdrop's userlist).

Note, that in my configuration file there are two lines like that:

Code: Select all

set autoadd 5
set autoadd-min-lines 1
so users _should_ be automatically added after spending 5 minutes on channel and speaking 1 line of text.

Example part .chaninfo for channel (modes):

Code: Select all

Other modes:
     -inactive       +statuslog      -secret         +shared
     +greet          -seen           +cycle          +dontkickops
     +protectops     -protectfriends -revenge        -revengebot
     -bitch          -autoop         -autovoice      -nodesynch
     -enforcebans    +dynamicbans    +userbans
     +dynamicexempts +userexempts    +dynamicinvites +userinvites
User defined channel flags:
     -noseendata +quietseens -quietaiseens -nopubseens
     -nopubstats -quietstats -nostats
I guess it's all I could say...
Ah, one word - HEEELP! ;]
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

There is an option in stats.conf to toggle using the eggdrop's userlist..
## stats.mod saves new users in an internal database by default
## for compatibility reasons, the old way of using the eggdrop
## user file is still available, but I strongly recommend to let
## it turned off!
#set use-eggdrop-userfile 0
You do have that turned off, right? I use 1.3.2 and it adds them fine..
I
IRCer

Post by IRCer »

Yes, I have this turned off (0) and users are still not auto-added.
Here is my config (comments skipped):

Code: Select all

set statsfile "statsmod.dat"
loadmodule stats
set save-stats 15
set autoadd 5
set autoadd-min-lines 1
set expire-base 7
set expire-factor 25
#set expire-users 60
#set expire-delay 30
set log-wordstats 1
set min-word-length 0
set display-urls 5
set display-kicks 5
set kick-context 5
set quote-frequency 5

resetslang
loadstatslang "en" "English" language/stats.en.lang

set cmdchar "!"
set max-stat-cmds 5:60
set stat-reply "words letters smileys minutes"

[i]#HTML Settings & livestats settings - skipped[/i]

set use-eggdrop-userfile 0
#set anti-autoadd-flags "ofvb|ofv"
set smileys ":-) :) ;) ;-) ^_^ :-D :-P :P =) ;D"
That's all... should work - doesn't :-/
Why?
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

I'd drop a line to the stats.mod author(s) about it then, all looks well from what I can see.
I
IRCer

Post by IRCer »

Finally, I tried to unload anticheat1.2.0.tcl and stats script seems to "work" (but users may cheat now, hm...). If someone still may help me, here's config of my anticheat (comments aren't skipped this time to help understand meaning of variables):

Code: Select all

# AntiStatCheat v1.2.0

# this script is intended for the use with stats.mod
# (http://www.visions-of-fantasy.de/stats.mod/)

# This script should prevent any cheating attempts
# Depending on the configuration, it either doesn't increase
# the stats during the cheat attempt, subtracts the words
# or does nothing at all and calculates the stats as usual.

# Cheating attempts get logged to a certain loglevel (2 by default)
# set your console to +2 and the channel you want to monitor to
# watch the bots reaction on cheating attempts.

### CONFIGURATION ###

# if a user talks more than x lines in a row without another
# user interfering, then he or she is probably trying to cheat
set acset(monologue) 7

# the following settings control the way how the bot should react
# on different cheating attempts.
# 0: do nothing
# 1: don't increase the stats
# 2: subtract words

# Repeating: This is usually a real cheating attempt, so the default
#            treatment is subtracting the words.
set acset(repeatpunish) 1
# Monologue: This is also a strong indication of a cheating attempt.
set acset(monologuepunish) 1
# Colors: Users who use colors aren't necessarly cheating, so just
#         don't increase the stats and don't punish them.
set acset(colorpunish) 1

# the loglevel where the bot logs the cheating attempts to
set acset(loglev) 2

# the time in seconds for that the bot remembers what the user has spoken
# to detect repeating.
set acset(tracktime) 240

### END OF CONFIGURATION ###
Finished... help?
Locked