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.

PISG 6.1

Old posts that have not been replied to for several years.
Locked
Z
ZDarkGoku
Voice
Posts: 7
Joined: Sat Dec 04, 2004 11:10 pm

PISG 6.1

Post by ZDarkGoku »

I've just downloaded the latest PISG (from the its website) which is 6.1 i believe and installed it on my shell. But for the "Format", I put in "eggdrop" but it keeps on skipping them and all lines are skipped and says that I might be using the wrong type of Format. So what I want to know is what is the type of Format this eggdrop (the one from the setting up your eggdrop tutorial) uses?
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

Maybe you should read a readme or something else attached to PISG when you downloaded it. I'm pretty sure it explains what you put in there..
Z
ZDarkGoku
Voice
Posts: 7
Joined: Sat Dec 04, 2004 11:10 pm

Post by ZDarkGoku »

It says to use "eggdrop" since I'm using the eggdrop to create the logfiles so the logfiles would then be in eggdrop format but its not reading them.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Have you set a crontab entry for pisg? Having it set to run once per day is just right. Below is a copy of the file (pisgchek) used for my crontab:

Code: Select all

#!/bin/sh

statsbin="./pisg"
statpath="/home/wombles/public_html/chanstats"

cd $statpath

$statsbin
Here's my crontab entry:

Code: Select all

0 0 * * * ~/public_html/chanstats/pisgchek >/dev/null 2>&1
And this is a copy of my pisg.cfg:

Code: Select all

# Config file for pisg (set up all your channels/logfiles here)
#
# For a list of all configuration options, see docs/pisg-doc.txt or
# docs/html/index.html for a HTML version.
#
# Here is some basic examples, uncomment them to make them actually do
# something.
#
<set NickTracking="1">
#
<user nick="Alchera" alias="Alcher* Barry Bazza EnfieldPuffing" link="http://www.ballarat.us/" sex="m">
<user nick="Almozo" alias="Almozo* Al_Cheri Almacherzo" link="http://www.ballarat.us/" sex="f">
<user nick="Ballarat" sex="m">
<user nick="Enfield" sex="m">
<user nick="Natale" sex="m">
<user nick="Ricochet" alias="MovingShadow MShadow* Ric*" link="http://www.sjh-online.co.uk/" sex="m">
#
# <set FoulWords="ass bitch [censored]" Maintainer="SomeMaintainer">
#
 <channel="#Ballarat">
   LogDir="/home/wombles/bots/stats/"
   Format="eggdrop"
   Network="DALnet"
   Maintainer = "Alchera"
   OutputFile="index.html"
   ShowWpl = "1"
   ShowCpl = "1"
   ShowWords = "0"
   ShowLastSeen = "0"
   ShowVoices = "1"
   ShowMostNicks = "1"
   MostNicksVerbose = "0"
   ShowMostActiveByHour="1"
   ShowMostActiveByHourGraph="1"
 </channel>
#
<set PicLocation="gfx/">
You'll notice I have the LogDir in a seperate location from the usual bot log folder. In my bot conf I have the folowing set:
logfile mbco * "logs/natale.log"
logfile jpk #Ballarat "stats/ballarat.log"
And the results of the above can be found here.

When running ./pisg manually you actually ignore any formatting errors; the page will be displayed correctly. :)

I hope this helps you out.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked