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 

Logging problems

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


Joined: 19 May 2007
Posts: 7

PostPosted: Sun Nov 11, 2007 1:53 pm    Post subject: Logging problems Reply with quote

Hey people,

This started back in July when my shell was moved to a different server. Everything else was working fine after the move until I noticed (a few months later) that my pisg stats weren't being compiled properly. When I looked into it, I found that even though I have jpk flags enabled for the logfile, it's only logging joins, parts, quits and actions (/me messages), but not actual channel talk.

I've tried switching off quick-logs and I've also removed the pid file and restarted the bot.

Does anyone have any idea what the problem could be?

Thanks in advance,

-amorpheous
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Nov 11, 2007 5:00 pm    Post subject: Reply with quote

Check your scripts and see if there's any pubm bind returning 1, this causes the message not being logged.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
amorpheous
Voice


Joined: 19 May 2007
Posts: 7

PostPosted: Sun Nov 11, 2007 9:10 pm    Post subject: Reply with quote

Thanks Sir_Fz. Found "pubm" in a few scripts and disabled them one by one in eggdrop.conf. After disabling xchannel.tcl, channel talk was being logged again. However, I'd still like to use xchannel.tcl. Is there any way it can be fixed? I'm a novice when it comes to Tcl.

Here's the offending code:

Code:
[ammaar@amber:~/eggdrop]$ grep pubm scripts/xchannel.tcl
set conf1g(repeat) {pubm w:k:b 1 10 "repeating is lame"}
set conf1g(color)  {pubm w:k:b 1 10 "no colors"}
set conf1g(spam)   {pubm w:k:b 1 10 "spam"}
set conf1g(caps)   {pubm w:k:b 1 10 "caps off"}
set conf1g(bad)    {pubm w:k:b 1 10 "do not curse"}
variable mbinds {join part nick pubm}
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Nov 11, 2007 11:17 pm    Post subject: Reply with quote

Make posts regarding xchannel.tcl to the Universal channel script support forum.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Nov 12, 2007 5:25 pm    Post subject: Reply with quote

You can search within the pubm procedures for statements that are possibly returning 1 (such as "return 1"). These are usually at the end of a procedure. If you're not familiar with Tcl then Alchera's suggestion is your best bet.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
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