[Recherche] Scripts de statistiques
#5
fedora a écrit :voici un petit tuto pour l'installer essaye déjà avec ça.

Installer pigs

Je recois ce message sur le canal :
Citation :[18:20:49] (+CraZy) /home/ircb-network/eggdrop/pisg-0.71/pisg an error occured: No files in "/home/ircb-network/stats/" matched prefix "#lyno-house"

Et celui-ci en pl :
Citation :[22:21] 14--15--->14 No files in "/home/ircb-network/stats/" matched prefix "#lyno-house"
[22:21] 14--15--->14 Warning: /home/ircb-network/eggdrop/pisg-0.71/pisg.cfg, line 66: Unrecognized line:
[22:21] 14--15--->14 while executing
[22:21] 14--15--->14 "exec $pisgexe"

Voici mon fichier de config :
Code :
# pseudo ignoré par exemple vos Bots <user nick="bot" ignore="y"> #image globale , mettera un avatar par défaut si aucun autre n'est spécifié <set DefaultPic="avatar.png"> <set lang="FR"> #Ajouter des pseudos sous cette forme #Sexes possible f=femme m=homme b=bot # Pour les alias de pseudo vous pouvez utiliser une étoile pour englober un type de pseudo <user nick="Marc" alias="Marc M|Away*" sex="m"> #Définir le Css voulu ( dans le répertoire /layout <set ColorScheme="darkred"> <set NickTracking="1"> <set FoulWords="salope petasse con nike connasse pd connard pute salopard encule enculer "> <set ShowViolentLines="1"> <set hicell="#444444"> <set hicell2="#AAAAAA"> <set ViolentWords="slaps baffes grooosse baffe frappe frapper baffer poing taper tape bousculer bouscule coup coups"> <set ShowSmileys="1"> <set SmileyHistory="15"> <channel="#lyno-house"> LogDir="/home/ircb-network/stats" LogPrefix="#lyno-house" Format="mIRC" Network="EpiKnet - Lyno-House" #Chemin où sera envoyée la page et son nom OutputFile="/home/ircb-network/www/lyno-house.html" Maintainer= "CraZy" Lang = "FR" ShowActiveTimes = "1" ShowWords = "0" ShowWpl = "1" ShowCpl = "1" ShowTopics = "1" ShowBigNumbers = "1" ShowLastSeen = "1" ShowTime = "1" ShowLineTime = "1" ShowRandQuote = "1" ShowLegend = "1" ShowKickLine = "1" ShowActionLine = "1" ShowShoutLine = "1" ShowMuw="0" ShowMru="0" ShowMostNicks = "1" ShowOps= "1" ShowMrn= "1" ShowMostNicks= "1" MostNicksHistory = "5" ShowMostActiveByHour= "1" ShowMostActiveByHourGraph= "1" MinQuote = "2" ActiveNicks = "20" ActiveNicks2= "20" ActiveNicksByHour= "10" MostNicksVerbose = "150" TopicHistory= "4" UrlHistory= "5" ShowKarma="1" ShowSmileys="1" SmileyHistory="15" ShowActiveGenders="1" ShowVoices = "1" ShowHalfops = "1" ##pour personnaliser votre page vous pouvez ajouter une en-tête et/ou un pied de page personnalisable par salon par exemple ajouter en pied de page les pages générées par chatstats.tcl ## pour avoir une seule et grande page de stats ;) #PageHead="/home/voteentetedepage.html" #PageFoot="/home/votrepieddepage.html" </channel>

Voici mon fichier tcl :
tcl
#pisg.tcl v0.15 by HM2K - auto stats script for pisg (perl irc statistics generator)
#based on a script by Arganan

# WARNING - READ THIS
#
# If you use this script, PLEASE read the documentation about the "Silent"
# option. If you get the message "an error occured: Pisg v0.67 - perl irc
# statistics generator" in the channel, you are NOT running silent. Fix it.
 
set pisgver "0.15"

#Location of pisg execuitable perl script
set pisgexe "/home/ircb-network/eggdrop/pisg-0.71/pisg.pl"

#URL of the generated stats
set pisgurl "http://80.93.90.214/~ircb-network/stats"

#channel that the stats are generated for
set pisgchan "#lyno-house"

#Users with these flags can operate this function
set pisgflags "nmao"

#How often the stats will be updated in minutes, ie: 30 - stats will be updated every 30 minutes
set pisgtime "4"
 
bind pub $pisgflags !stats pub:pisgcmd
 
proc pub:pisgcmd {nick host hand chan arg} {
	global pisgexe pisgurl pisgchan
	append out "PRIVMSG $pisgchan :" ; if {[catch {exec $pisgexe} error]} { append out "$pisgexe an error occured: [string totitle $error]" } else { append out "Stats Updated: $pisgurl" }
	puthelp $out
}
 
proc pisgcmd_timer {} {
	global pisgexe pisgurl pisgchan pisgtime
	append out "PRIVMSG $pisgchan :" ; if {[catch {exec $pisgexe} error]} { append out "$pisgexe an error occured: [string totitle $error]" } else { append out "Stats Updated: $pisgurl" }
	puthelp $out
	timer $pisgtime pisgcmd_timer
}
 
if {![info exists {pisgset}]} {
  set pisgset 1
  timer 2 pisgcmd_timer
}
 
putlog "pisg.tcl $pisgver loaded"




Ou es l'erreur :'(
Répondre


Messages dans ce sujet
[Recherche] Scripts de statistiques - par Marc - 03/10/2009, 19:37
RE: [Recherche] Scripts de statistiques - par Marc - 04/10/2009, 00:26

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit - Discutez en toute liberté - Transitionnez vers Linux - Discussions dans le Lauragais - Communauté LGBT respectueuse - soutien aux victimes de cybermalveillance - pour les filles par les filles Le forum pour passer le temps