In 1990, Ulf Nilsson (zone2) and Lincoln Dale (zone3) released TOPUSERS.EXE,
a program for 1.73a to list the top 10 callers, uploaders and downloaders to
a BBS. The program scans one's userfile when run, extracts the names and
numbers necessary, and creates a nicely formatted .BBS file listing the
information in numerical order. You can then use this .BBS file as a
bulletin or whatever you want.
The problem is, with the uploaders and downloaders, it puts into the .BBS
file only the first 5 digits of a person's download kbyte quantity from the
userfile. This is a problem if a person has downloaded enough kbytes to give
them a 6 digit kbyte quantity as a quantity downloaded. So if a caller has
downloaded 112233 kbytes for example, (which is 6 digits) the program, when
it creates the .BBS file, plugs in only 11223 as the number of kbytes that
person has downloaded, leaving off that final "3".
Now, the program SEES that "3" apparently, becuase it does put that person
numerically above a person that say, has downloaded only 110000 kbytes. And
that's the problem. The list the program makes looks strange.
Lets say person A has downloaded 112233kb, person B has downloaded 95600kb
and person c has downloaded 84000kb. The list the program makes looks like
this:
Top 10 Downloaders
------------------
Person A 11223
Person B 95500
Person C 84000
Note that the ORDER is correct - person A, who downloaded the most, is at the
top of the list (which is in decendig order of kbytes downloaded) but with
only 5 digits showing, it LOOKS like a person who has downloaded only 11223K
is at the top of the list. The program should have moved the 5 digits to the
left one column and added that final "3" to the listing, making person A look
like this:
Person A 112233
But it doesn't do that.
In short, the program sees 6 digit kbyte quantity users, if one or more
exists, when it scans USER.DAT, and even sorts those 6-digit-number-people
properly when it does it's sorted lists internally; it simply doesn't include
all 6 digits to the "kbytes downloaded" field of it's .BBS report, so the
report looks non-sensical.
SO: Is there a bugfixed version of this program anyone has that WILL display
it's numbers right?
--- GoldED 2.50
---------------
* Origin: The Moonshadow :*: 916.343.0534 :*: Chico, CA :*: (1:119/50)
|