home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
STAT23.ZIP
/
PCBSTAT.DOC
< prev
next >
Wrap
Text File
|
1992-11-05
|
13KB
|
367 lines
PcbStat v2.3
Copyright (C) 1992 THE WANDERER [Access Denied]
────────────────────────────────────────────────────────────
PcbStat creates LastCaller statistics including the totals
for the uploads and download for today and yesterday, top
uploader, top downloader and top caller statistics! It also
creates weekly and monthly top uploader and top downloader
statistics. Now it creates a summary of statistics of the
last days too. Since v2.0 it also creates an all time high
score statistic per day, week and month.
Additionally you may post any statistic into the msgbase to
let your users know whats up!
You may also hide special users out of the statistics so
that your donators will not be shown.
You must run the lastcaller function if you want to use the
week-ul/dl or month-ul/dl or history statistics because the
lastcaller function gathers the data needed by the other
statistics.
To create last uploads statistic you have to enable one of
both statistic files and run the lastcaller statistic. This
also updates the last uploads statistic. This statistic will
show the date and time of the file as the upload time, so
you should stamp the time of your uploads after the check.
When not using the %PCBNODE% environment variable within the
PCBSTAT.CTL you have to create one PCBSTAT.CTL config file
for every node you run. It must be in the directory you call
PcbStat from. When you use it you only have to put a config
file into the same directory PCBSTAT is in.
Put PCBSTAT.EXE in any directory you want. There it will
create 3 databases: DAYSTAT.DBF, LASTCALL.DBF, LASTUL.DBF
which contain info about the daily totals, last callers and
last uploads.
PcbStat is network aware and uses record locking schemes to
avoid loss of data when running several nodes.
It will create a PCBSTAT.TIM in the directory you call it
from to avoid reading the lastcaller multiple times. Don't
delete it otherwise the latest caller will be counted twice!
Use MAXCPS to set the max. allowed transfer rate. Since the
DSZ logfile does not always states the correct cps rate for
resumed transfers its not cool to allow too high cps rates.
Also transferring textfiles doesn't reflect the correct cps
rates. I prefer setting this value to 2000 cps for 14.4k
and 2300 cps for 16.8k. If not set a cps rate of 2000 is
assumed.
You can't run PcbStat from within the $$logoff.bat because
ProDoor writes the ending '*******' line after running the
$$logoff.bat and PcbStat looks for it to avoid double read
of the same caller. To run PcbStat from $$logoff.bat you
have to create a semaphore file in the batch and check for
it in your board.bat. Take a look at the example.
$$LOGOFF.BAT
════════════
rem >Logoff.%PcbNode%
BOARD.BAT
═════════
if exist logoff.%PcbNode% goto RunStat
:RunPcb
if exist $door.bat del $door.bat >nul
Prolon Prolon.cnf %PCB%\Line%PcbNode%
:RunStat
PcbStat MaxCps 2300 Lastcall
del logoff.%PcbNode% >nul
board
────────────────────────────────────────────────────────────
SYNTAX: PcbStat [LastCall] [Upload] [Download] [TopCall]
[WeekUl] [WeekDl] [MonthUl] [MonthDl]
[History] [WeekHis] [MonthHis] [HighScore]
[Pack] [MaxCps]
■ LastCall - Creates last caller / last uploads statistics
■ Upload - Creates top uploader statistics
■ Download - Creates top downloader statistics
■ TopCall - Creates top caller statistics
■ WeekUl - Creates top uploader of the week statistics
■ WeekDl - Creates top downloader of the week statistics
■ MonthUl - Creates top uploader of the month statistics
■ MonthDl - Creates top downloader of the month statistics
■ History - Creates history statistic of the last days
■ WeekHis - Creates history statistic of the last weeks
■ MonthHis - Creates history statistic of the last month
■ HighScore - Creates all time highscore statistic
■ Pack - Purges last caller / last uploads database
■ MaxCps - Set max. transfer CPS
Preceed any statistic with POST to post this statistic file
into msgbase. E.g. 'PcbStat Post WeekUl Post MonthUl' will
create weekly uploader and monthly uploader statistics and
post both into the msgbase.
All runtime parameter are optional.
Run PcbStat right after each call. Use the runtime parameter
LASTCALL to enable creation of lastcaller statistics, eg.
'PcbStat MaxCps 2500 LastCall'.
Run PcbStat with the parameter LASTCALL PACK to pack the
lastcaller database and the last uploads database remaining
30 days and 50 files. You may use this parameter every time
you call PcbStat but I wouldn't prefer it.
To avoid the ugly 'Unregistered Evaluation Copy' you have to
crack the PCBSTAT.KEY (write a keymaker if you can!) or have
to upload one major game release to
Access Denied ■ UTG Europe Headquarters ■ 7 Nodes
to receive a key that registeres PcbStat. Get the magic #
and NUP for Access Denied from your UTG Distribution Site
near you.
Many thanks to Rider [DarkStar BBS] and Phil Thrust
[New Central Europe] for beta testing.
THE WANDERER
────────────────────────────────────────────────────────────
Configuration of PcbStat
; Comments start with a ";" and are not allowed after a keyword.
; Keywords are not case sensitive.
;
; Are you running multiline ?
Multiline
;
; Name and Location of your logfile
Logfile %PCB%\Main\Caller%PcbNode%
;
; List of all download paths
; This listing must contain all paths of all conferences!
DlPath %PCB%\Gen\Dlpath.All
;
; Name and Location of your userfile
Userfile %PCB%\Main\Users
;
; Path to your user index files. You need this to show the full
; users location in the lastcaller statistic.
IndexPath %PCB%\Main
;
; Name and Location of your msgbase file you want to post
; statistics into. Index file must be in the same directory
; and have the extension .NDX. Define this statement several
; times to post statistics in several conferences.
MsgBase %PCB%\PC-Conf\Mail
MsgBase %PCB%\Mac-Wares\Mail
;
; Do you want to display all statistics nonstop without a
; waiting MORE (Yes/No) ?
NonStop
;
; Enable SUMTOTALS to display the total U/L + D/L statistics of
; all users in the LastCaller statistics. You must have set
; USERFILE to enable this feature.
SumTotals
;
; Enable HISTORYAVG to display an average of all days and an
; average of x days in the history statistics.
HistoryAvg
;
; PackDays specifys the number of days that will remain in the
; lastcaller database after PACK. If you don't set it it will
; default to 30 days.
PackDays 45
;
; PackUploads specifys the number of uploads that will remain
; in the last uploads database after PACK. If you don't set it
; it will default to 50 uploads.
PackUploads 100
;
; For all statistics you have to define at least one of the two
; statistics file to enable it. You must enable ascii statistics
; to be able to post them as a message.
;
; Name of the lastcaller ascii statistic file
LastCallAsc %ProDoor%\Prostrt
;
; Name of the lastcaller ansi statistic file
LastCallAns %ProDoor%\ProstrtG
;
; Name of the last uploads ascii statistic file
LastUlAsc %PCB%\Gen\Blt13
;
; Name of the last uploads ansi statistic file
LastUlAns %PCB%\Gen\Blt13G
;
; Name of the uploader ascii statistic file
UploadAsc %PCB%\Gen\Blt2
;
; Name of the uploader ansi statistic file
UploadAns %PCB%\Gen\Blt2G
;
; Name of the downloader ascii statistic file
DownloadAsc %PCB%\Gen\Blt3
;
; Name of the downloader ansi statistic file
DownloadAns %PCB%\Gen\Blt3G
;
; Name of the caller ascii statistic file
TopCallAsc %PCB%\Gen\Blt4
;
; Name of the caller ansi statistic file
TopCallAns %PCB%\Gen\Blt4G
;
; Name of the weekly uploader ascii statistic file
WeekUlAsc %PCB%\Gen\Blt5
;
; Name of the weekly uploader ansi statistic file
WeekUlAns %PCB%\Gen\Blt5G
;
; Name of the weekly downloader ascii statistic file
WeekDlAsc %PCB%\Gen\Blt6
;
; Name of the weekly downloader ansi statistic file
WeekDlAns %PCB%\Gen\Blt6G
;
; Name of the monthly uploader ascii statistic file
MonthUlAsc %PCB%\Gen\Blt7
;
; Name of the monthly uploader ansi statistic file
MonthUlAns %PCB%\Gen\Blt7G
;
; Name of the monthly downloader ascii statistic file
MonthDlAsc %PCB%\Gen\Blt8
;
; Name of the monthly downloader ansi statistic file
MonthDlAns %PCB%\Gen\Blt8G
;
; Name of the history ascii statistic file
HistoryAsc %PCB%\Gen\Blt9
;
; Name of the history ascii statistic file
HistoryAns %PCB%\Gen\Blt9G
;
; Name of the weekly history ascii statistic file
WeekHisAsc %PCB%\Gen\Blt10
;
; Name of the weekly history ansi statistic file
WeekHisAns %PCB%\Gen\Blt10G
;
; Name of the monthly history ascii statistic file
MonthHisAsc %PCB%\Gen\Blt11
;
; Name of the monthly history ansi statistic file
MonthHisAns %PCB%\Gen\Blt11G
;
; Name of the highscore ascii statistic file
HighScoreAsc %PCB%\Gen\Blt12
;
; Name of the highscore ansi statistic file
HighScoreAns %PCB%\Gen\Blt12G
;
; Number of last callers that will be shown
Caller 12
;
; Number of last uploads that will be shown
Uploads 20
;
; Number of uploader that will be shown
Uploader 20
;
; Number of downloader that will be shown
Downloader 20
;
; Number of caller that will be shown
TopCaller 20
;
; Number of weekly uploader that will be shown
WeekUl 20
;
; Number of weekly downloader that will be shown
WeekDl 20
;
; Number of monthly uploader that will be shown
MonthUl 20
;
; Number of monthly downloader that will be shown
MonthDl 20
;
; Number of days in the past that will be shown
History 14
;
; Number of weeks in the past that will be shown
WeekHistory 14
;
; Number of month in the past that will be shown
MonthHistory 14
;
; HideGlobal enables you to hide special users within all statistics
; Use all HIDE statements several times to hide more user
HideGlobal SYSOP
HideGlobal THE WANDERER
;
; The HideLast statement hides the user in the lastcaller statistic only
HideLast LEECH-USER
;
; The HideCall statement hides the user in the top caller statistic only
HideCall LEECH-USER
;
; The HideUp statement hides the user in the top uploader,
; weekly and monthly uploader statistics
HideUp LEECH-USER
;
; The HideDown statement hides the user in the top downloader,
; weekly and monthly downloader statistics
HideDown LEECH-USER
;
; You only have to enter the text strings for the different
; actions if you don't use standard english setup. When using
; multiple languages you may use the following keywords
; several times to define all possible strings that may occur.
;
; Text that defines that an event was scheduled
Event Scheduled event
;
; Text after that the time user was online is stated
Online Minutes used
;
; Text that defines user made a directory scan (e.g NSU)
FileScan Directory scan
;
; Text that defines a completed file transfer
Transfer Completed using
;
; Text that defines user entered a private/public message or
; a comment to sysop.
Message Message entered
Message Message left
Message Comment left
;
; Text that defines user tried to chat with sysop
PageSysop Operator paged
PageSysop Sysop chat active
PageSysop Sysop page reason
;
; Text that defines user made a password failure
Failure Password failure
;
; Text that defines user lost carrier
Carrier Abnormal
;
; Text that is shown when a new user logs on
NewUser New user
;