PISG and Xchat? Best way to make logs work 100%?

Discussion about Perl, TCL or Python scripts and C/C++ plugins (using and writing them).

PISG and Xchat? Best

Postby Mysticales » 21 Jan 2010 00:27

Hey all, I used to use Mirc and pisg for a long time to make my logs however switched to xchat. (Yeaaa) So anyways, http://www.darkmystics.com/tribblebbq/sto.html is the page it generates. But it doesnt update the kicks or anything.. or the nickname tracking. So was wondering, anyone with experience with pisg have some info for me on making xchat work best with pisg? Thanks. =)
~Battlez-avec la Mystique?~
www.darkmystics.com
Mysticales
 
Posts: 3
Joined: 21 Jan 2010 00:19

Postby LifeIsPain » 21 Jan 2010 06:43

Not that I use pisg, but you probably need to change the Format value to be something like XChat or xchat (I don't even know if that is case sensitive to be sure). pisg is considering the kicks, joins, and parts to be actions, since they are in the form of "* nickname has been kicked from #channel by user (reason)" or otherwise starting with an asterisk. As pisg documentation states it supports XChats logging format, I suppose it can detect this relatively easily.

Visually, looks fine in XChat due to the use of colors, but colors aren't saved in the logs, so the similarity may be confusing to pisg. You could always use custom text events and create a new pisg log format, but that may be too much work.
LifeIsPain
 
Posts: 452
Joined: 25 Aug 2005 06:36

Postby Cancel » 21 Jan 2010 18:08

PISG works fine with xchat. I use it via a cron job to update stats hourly and roll the xchat log file monthly. You need to set the log format in your pisg.cfg Format="xchat"
http://pisg.sourceforge.net/docs/#Format
Biblebot, CalcBot, DictBot, GoogleBot, OpBot, RelayBot, SeenBot, TransBot, WeatherBot
http://cancelbot.sourceforge.net
Cancel
 
Posts: 100
Joined: 19 Sep 2004 18:24
Location: USA,OH

Postby Mysticales » 25 Jan 2010 17:21

Well thats the thing.. I have the latest version of Xchat, yes PISG is working. But only with someones elses xchat logs did it record the "kicks" and so correctly, so It has to be a setting on my xchat thats fresh installed that somehow isnt getting logged right. But I wouldnt know where. =/

Got the same issue for Winbot logs too.
~Battlez-avec la Mystique?~
www.darkmystics.com
Mysticales
 
Posts: 3
Joined: 21 Jan 2010 00:19

Postby LifeIsPain » 25 Jan 2010 21:50

It isn't a "setting" so much as a formatting issue. The pisg log format of xchat only applies to a default XChat Text Events theme. If you changed theme, or individual text events, the pisg format will most likely have problems, hence why it worked on someone elses logs.

You could modify the log reading format of pisg though, if you wanted to, I just wouldn't know the specifics.
LifeIsPain
 
Posts: 452
Joined: 25 Aug 2005 06:36

Postby Mysticales » 26 Jan 2010 16:12

Yea Im gonna have to try to edit that I guess, But not even sure what I would be looking for. =/
~Battlez-avec la Mystique?~
www.darkmystics.com
Mysticales
 
Posts: 3
Joined: 21 Jan 2010 00:19

Postby protospork » 18 Mar 2010 11:18

I had this issue with pisg a while back, you need to install the black theme to fix it. The black theme changes text events for joins and parts (modes too?) so that instead of leading with asterisks, they'll lead with -->, <--, or ---.

Presumably any other theme (or manual editing) that made the same format changes would work - colors don't end up in logfiles.
protospork
 
Posts: 11
Joined: 30 Nov 2008 22:44


Return to Scripts and Plugins

Who is online

Users browsing this forum: No registered users and 1 guest