PcbStat v2.5 Copyright (C) 1992-93 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 run the last caller 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 þ 9 Nodes to receive a key that registeres PcbStat. Get the magic # 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 ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ; PcbStat v2.5 Configuration ; ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ; ; Comments start with a ";" and are not allowed after a keyword. ; Keywords are not case sensitive. ; ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ; ; Do you want blue background color (default, disable BlackColor) ; or do you want black blackground color BlackColor ; ; 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%\IBM\Mail MsgBase %PCB%\Telecom\Mail ; ; Do you want to display all statistics nonstop without a ; waiting MORE (Yes/No) prompt ? 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 ; ; AutoPack enables PcbStat to automatically purge the lastcaller ; and last uploads database when you have at least this number ; of days in your lastcaller database. In this sample configuration ; the database would grow up to 90 days and would then be packed ; remaining 45 days. AutoPack is disabled by default. AutoPack 90 ; ; 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 ; ; Name of the lastcaller statistic file LastCallAsc %ProDoor%Prostrt ; ; Name of the last uploads statistic file LastUlAsc %PCB%\Gen\Blt13 ; ; Name of the uploader statistic file UploadAsc %PCB%\Gen\Blt2 ; ; Name of the downloader statistic file DownloadAsc %PCB%\Gen\Blt3 ; ; Name of the caller statistic file TopCallAsc %PCB%\Gen\Blt4 ; ; Name of the weekly uploader statistic file WeekUlAsc %PCB%\Gen\Blt5 ; ; Name of the weekly downloader statistic file WeekDlAsc %PCB%\Gen\Blt6 ; ; Name of the monthly uploader statistic file MonthUlAsc %PCB%\Gen\Blt7 ; ; Name of the monthly downloader statistic file MonthDlAsc %PCB%\Gen\Blt8 ; ; Name of the daily history statistic file HistoryAsc %PCB%\Gen\Blt9 ; ; Name of the weekly history statistic file WeekHisAsc %PCB%\Gen\Blt10 ; ; Name of the monthly history statistic file MonthHisAsc %PCB%\Gen\Blt11 ; ; Name of the highscore statistic file HighScoreAsc %PCB%\Gen\Blt12 ; ; 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 ;