egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Log of public messages stopped

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
robbie-bot
Voice


Joined: 19 Oct 2009
Posts: 4

PostPosted: Mon Oct 19, 2009 1:08 am    Post subject: Log of public messages stopped Reply with quote

This seemed to happen after the upgrade to 1.6.19

I can change logfile all I want. 'p' and 'm' options seem to have no effect. The bot will no longer log public or private messages. It will log /notice or /msg lines from the channel.

I have deleted the channel file, recompiled, tried both the original and Gentoo biulds, same thing.

I got around it by writing a TCL script to add entries by putloglev but would rather use the native log.

I have looked at the config file and even stared at the code and cant see anything that would prevent the messages from being logged.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Mon Oct 19, 2009 7:54 am    Post subject: Reply with quote

Check Your settings in eggdrop config file, Arrow Also id recommend searching thought the binds, and making sure you dont have any scripts that have
Code:
bind msgm -|- * sum:proc
Type .binds in dcc/telnet with the bot for a list
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
robbie-bot
Voice


Joined: 19 Oct 2009
Posts: 4

PostPosted: Mon Oct 19, 2009 1:33 pm    Post subject: Reply with quote

The only msgm binds are in the bseen1.4.2.tcl file. Those file have not changed since 2004.

The config file has p and m in the logfile options.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Mon Oct 19, 2009 8:41 pm    Post subject: Reply with quote

lol i had the same problem when i last updates... yes i had the same script on it (bseen.tcl) Razz in saying that i never had the time time to pin point what was causing the problem :/ just know that it worked without it. After a recompile n all that Smile hope it helps.
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sat Oct 24, 2009 8:50 pm    Post subject: Re: Log of public messages stopped Reply with quote

robbie-bot wrote:
This seemed to happen after the upgrade to 1.6.19

I can change logfile all I want. 'p' and 'm' options seem to have no effect. The bot will no longer log public or private messages.
...


I've had this to happen.

For me, it was a script. I'd have to go looking to find it again, but from my memory it was a procedure that had a non-zero return in it.

I'm sorry that I don't have the reference right at my fingertips, to point you to. I bet that if you search this forum, you'll find it mentioned though.

Try an experiment: comment out ALL your scripts. Then .restart .
Does it log normally now? If it does, now you know it is a script that is causing it. Load them one at a time, until you pin it down.

I hope this helps.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sat Oct 24, 2009 9:01 pm    Post subject: Reply with quote

It is mentioned here:
http://forum.egghelp.org/viewtopic.php?t=12824&start=0

in the post by nml375.

Quote:

There is a known "issue" with pubm-bindings in eggdrop1.6.18; If the command invoked returns 1 (TCL_OK), eggdrop will not log the message that triggered the binding.
I would suspect this to be the reason why your bot does not log public chat, that is, there seems to be a script running on your system with a pubm-binding that blocks public chat from being logged on that channel.

.....

Back to top
View user's profile Send private message
robbie-bot
Voice


Joined: 19 Oct 2009
Posts: 4

PostPosted: Sat Oct 24, 2009 9:16 pm    Post subject: Reply with quote

The thing is, the pubm function is only called if the keywords match in the bind command.

My only pubm bind kicks users that have "now playing" spam. It would be obvious if that was being called.
Back to top
View user's profile Send private message
robbie-bot
Voice


Joined: 19 Oct 2009
Posts: 4

PostPosted: Sat Oct 24, 2009 10:14 pm    Post subject: Reply with quote

robbie-bot wrote:
The thing is, the pubm function is only called if the keywords match in the bind command.

My only pubm bind kicks users that have "now playing" spam. It would be obvious if that was being called.


Ok, did more digging. I was using grep to search for pubm. Did not realize CHATStats.tcl was in a subdir. It has not been modified since 2004. Logging stopped in May when I updated eggdrop and TCL.

The cs:count function had no return value specified. This has been running fine for years. Must be 1.6.19 or the updated TCL libs now return a default other than 0.

Removed the CHATStats.tcl and now logging works.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber