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 - why is only the eggdrop owner logged?

Old posts that have not been replied to for several years.
Locked
j
jjblade
Voice
Posts: 16
Joined: Sat Jul 24, 2004 5:23 am

stats mod - why is only the eggdrop owner logged?

Post by jjblade »

Ive installed eggdrops and the stats.mod
both are working fine except the users logging in the stats mod.
In the stats mod i can see all users in the "who´s online" output but only the eggdrop owner is recognised as an user.

Do you know why?
TiA,
th
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Change autoadd setting in your stats.conf:
# add new users to the database if they stay more than x minutes
# in the channel
# >0: enabled
# 0: don't add new users, but recheck every minute if a user idented himself
# -1: don't add new users and don't recheck every minute. If someone idents
# him/herself, he/she must cycle the chan to be recognized. (lowest CPU usage)
set autoadd 1
j
jjblade
Voice
Posts: 16
Joined: Sat Jul 24, 2004 5:23 am

Post by jjblade »

It Works! Thank You!

But i have another Problem!
The stats mod goes mad and spams the users chat window with this info:

Code: Select all

-Sheepbot- Hello, you've just been added to my userbase! Your username is "tester". 
-Sheepbot- From now on, I'll log various statistics about you, unless you stop me. 
-Sheepbot- If you set a password with "/msg Sheepbot STATSPASS <password>", you can edit the settings of your account. 
-Sheepbot- The password will be transfered and stored in plain-text, so please don't re-use a password for any important account. 
-Sheepbot- The URL of the stats-pages is http://acam:8033 
-Sheepbot- Hello, you've just been added to my userbase! Your username is "tester". 
-Sheepbot- From now on, I'll log various statistics about you, unless you stop me. 
-Sheepbot- If you set a password with "/msg Sheepbot STATSPASS <password>", you can edit the settings of your account. 
-Sheepbot- The password will be transfered and stored in plain-text, so please don't re-use a password for any important account. 
-Sheepbot- The URL of the stats-pages is http://acam:8033 
-Sheepbot- Hello, you've just been added to my userbase! Your username is "tester". 
-Sheepbot- From now on, I'll log various statistics about you, unless you stop me. 
-Sheepbot- If you set a password with "/msg Sheepbot STATSPASS <password>", you can edit the settings of your account. 
-Sheepbot- The password will be transfered and stored in plain-text, so please don't re-use a password for any important account. 
-Sheepbot- The URL of the stats-pages is http://acam:8033 
-Sheepbot- Hello, you've just been added to my userbase! Your u
and so on...
Q
Qube

Post by Qube »

jjblade wrote:It Works! Thank You!

But i have another Problem!
The stats mod goes mad and spams the users chat window with this info:

Code: Select all

-Sheepbot- Hello, you've just been added to my userbase! Your username is "tester". 
and so on...
Yeah, annoyed the [censored] outta me also.

Edit: stats.mod/core/userrec.c

Go to line 264 where you will see:
// send a welcome message to our new user
welcome_suser(m->nick, u, chan->chan);

Simply comment out that second line (prepend a // )

and recompile (the egg)

Paul.
j
jjblade
Voice
Posts: 16
Joined: Sat Jul 24, 2004 5:23 am

Post by jjblade »

Thanks, it works now!
Qube wrote:
jjblade wrote:It Works! Thank You!

But i have another Problem!
The stats mod goes mad and spams the users chat window with this info:

Code: Select all

-Sheepbot- Hello, you've just been added to my userbase! Your username is "tester". 
and so on...
Yeah, annoyed the **** outta me also.

Edit: stats.mod/core/userrec.c

Go to line 264 where you will see:
// send a welcome message to our new user
welcome_suser(m->nick, u, chan->chan);

Simply comment out that second line (prepend a // )

and recompile (the egg)

Paul.
Locked