home *** CD-ROM | disk | FTP | other *** search
- DayStat v1.0beta
-
- Calls/Messages-Per-Day Bulletin Generator
- For RemoteAccess 2.0x
-
- (c)1994 Jan Kulozik
- --------------------------------------------------
-
- What The Heck Is It?
- --------------------
-
- Actually, it's a collection of small utilities that I'd written,
- and just decided to lump together into one file. Wasn't going to
- distribute it, but then I gave it to Vicki Fletcher (of My Desk BBS
- @1:138/0 in case you feel like meeting a brave sysop <g>) and she talked
- me into it.
-
- All it does is this...
-
- * Callers-Per-Day ANSI/ASCII bargraph bulletin
- * Messages-Per-Day ANSI/ASCII bergraph bulletin
- * Today's callers bulletin, complete with automasking
- of local logins with a 14400 baud rate, and drawing
- attention to new users. Creates .ANS/.ASC so you
- don't have to shell out and actually run a program.
- * Yesterday's callers bulletin. (See above. Fingers tired)
- * Export the last caller information to Frontdoor.
- * Inbound history
- * Log File
- * Last Inbound Call on status screen
- * Sets Frodo's callers today information to reality.
- (Frodo counts EVERY drop to the BBS. Resets this to
- number of ACTUAL calls)
- * Ummm... low fat... high in protein.
-
- Remember, this is a BETA! If you have ANY problems, let me know!
-
- Oh well... it's free. Do with it as you will.
-
-
- Disclaimer:
- ------------
- You know, I really hate these things. I hate writing them. Sheesh...
- Hokay, look mon... if this here puppy does a thing... I mean
- _ANYTHING_ including, but not limited to: Running, causing your clock to
- blink 12:00, causing microwave interference to where all of your
- fillings glow red-hot, the reappearance of Jimmy Hoffa, little people to
- come out of your computer and shout "Would you cut it out?!?! We're
- trying to sleep!!!", You to win the lottery... but unable to find your
- ticket... Too bad. It ain't my fault. :^P
-
- (And BTW, I live in Tennessee... I can say ain't if I want. .snicker.)
-
- Anyway, here's the scoop...
-
- The Scoop...
- ------------
-
- To install this puppy, just stick it in a directory anywhere.
- It's own, RA's, it doesn't matter. It'll look for its data files in the
- directory that you called it from. DAYSTAT.CFG, DAYSTAT.DAT, and DAYSTAT.TMP
- to be precise.
-
- Some command-line params...
-
- /N# - Node number. This thing will support (From how I gather
- it) a number of nodes limited by your freespace. Very
- important so you don't write over other nodes' data.
- (Makes sense, eh?) ;^)
-
- /T - Write temporary data to DAYSTAT.TMP. I'll explain in a
- sec.
-
- /B - Don't fiddle with data, just reads current data and write
- out your bulletins. (Also doesn't need the /N# parameter)
-
- /L - Writes out information to a log-file... looks amazingly
- like this...
-
- ...From DAYSTAT.LOG...
-
- Date┐ Time┐ Name┐ Posted┐ Temp┐ User┐ Post┐ Call┐
- │ │ │ │ │ │ │ │
- 6/6/94 06:35:35 --> Bill Crawford 0 11 11 13 8
- 6/6/94 06:46:23 --> Jan Kulozik 0 2819 2819 13 8
- 6/6/94 06:59:32 --> Michael Sanders 1 2 3 14 9
- ...
- {Hokay, so I'm a message poster.} }:^)
-
- /NOBULL - Don't write the MPD/CPD bulletins. Used in conjunction
- with the /B command, it essentially skips the MPD/CPD
- stuff altogether.
-
- /F - Process the FrontDoor Info. (IE. write to the log or
- history files)
-
- /CT - Generate a list of Today's Callers.
- (Will always be TODAY.ANS/ASC in your textfiles dir)
-
- /CY - Generate a list of Yesterday's Callers.
- (Will always be YEST.ANS/ASC in your textfiles dir)
- (Run this in your midnight event, since your LASTCALL.BBS
- will be reset with your first caller after midnight)
-
- Here's how the whole thing works. In RA 1.11, you could just
- check the HMB to see if any messages had been posted. Well, with the
- advent of the .JAM message base format you can scratch that idea. .sigh.
- Believe me, I've pounded my head against a wall for a better way to do
- this, but I can't come up with one. (If you can, LET ME KNOW!)
-
- I didn't want to look at the logfiles... there are other
- programs to do that, and besides... it's just too much of a major pain
- to track down EVERY message written in EVERY door. So here's the plan.
-
- First go into RACONFIG in your OPTIONS>SYSTEM menu, and (if it's not
- already) set your "Text Shells" to Yes. Sorry, but it's required. What
- this does (for the unenlightened) is allows your system to run an
- external program if it's pointed to in a bulletin/textfile preceded by a
- Ctrl-X.
-
- However, you can put as your first option in your TOP.MNU a type
- 66 command with OFF for the optional data. That'll turn off
- Textfile-Shells for the remainder of the call. The important thing is
- that they're enabled for the WELCOME.ANS, which is the first thing shown
- after the system knows who the person is.
-
- Now then, pull up whatever program you use and change your
- WELCOME.ANS/ASC to where the first line calls up DAYSTAT. Here's my
- line...
-
- ^Xe:\ra\daystat\daystat.exe /N*N /T|
-
- The "|" at the end, BTW, is required by RA. If it's not there, RA will
- just treat the line like another line of text. Again, the /N is
- required. The *N, BTW, passes the node number.
-
- At this stage, the /T is essential. This tells DayStat to read
- the user's EXITINFO.BBS and pull out the relevant info. Then it writes
- it into the temp file. When DayStat is run without the /T (When the
- user logs off) it retrieves this info from this particular node-slot,
- and processes the data.
-
- (Warning: I've had a report of animated mode in TheDraw not allowing RA
- to recognize the ^X for what it is, and not shelling out. If it doesn't
- drop-to-DOS, and you don't see something pop up with a DayStat display
- for a second it's not working. Thanks, -Ed.)
-
- If you look at the log example above, you'll see that it
- compares the user's record after logoff to what it reads immediately
- after login to find out how many messages were written. It's more
- complicated that I want, but I have to admit that it's relatively fast.
- :^)
-
- BTW, if you want you can just stick in an automatic menu option
- into your TOP.MNU to execute it. But a warning... if you do this,
- you'll miss any replies that someone might write in a NewMail scan.
- (Believe me, I know. That's how I was originally running it.) :^(
-
- That's about it. All that's left is to put into your batch file a
- command to execute DayStat immediately after logoff so it can compare the
- User's updated record to what it recorded from the EXITINFO.BBS.
-
- This, of course is...
-
- DAYSTAT.EXE /N(node number)
-
- That's it. Unless you want to do any of the other functions, in
- which case just tack on whatever switches you want. Don't worry,
- they're interchangeable. Just plug-n-play. (I just wouldn't use the /T
- again. <G>)
-
- The DAYSTAT.CFG file has instructions in it for modifications.
-
- Wait... where are you going? You know there's more to this
- thing, right??! Come on... it's only another page or so...
-
- Frodo Section:
- -------------
-
- Real quick... The sections...
-
- Inbound history... It'll have the user's name, city, and time-online in
- the Cost column. That way you can tell at a glance how long they were
- online.
-
- As for the status screen....
-
- Self-explanatory... except the user has a node number? 11/45...
- they've called 11 times total, and spent 45 minutes online. :^)
-
- Watch it... for some reason I can't get Frodo to release and share its
- files the way it should. For this reason, I wouldn't run DayStat while
- Frodo is running. Shouldn't be a real problem, since Frodo shouldn't be
- running anyway... but just in case. All it'll do is give you an error,
- but still...
-
-
- Registration:
- -------------
-
- Sorry, but yep... you have to register this FreeWare. The way you do
- this, is call my system, fill out a six line questionnaire, and pick up
- your code. Or else, if you don't have ANSI or just can't get through to
- the board, just send me NetMail with:
- Your Name
- Board's Name
- Node Number
- Phone Number
- If you like the program/Whether I should take a flying leap/Etc.
-
- Sorry about this, but after the apparent resounding lack of response to
- New2You... By crackie, I wanted a way to see if people were using this
- thing.
-
- Until you do, the today's callers screen will say " Today's Callers to:
- [Unregistered]", and the Frodo status will give [Unregistered] for the
- caller's city.
-
- It should be easy as heck to crack this thing... make you a key
- generator or whatever... but my question is, why? Generally to get to
- a really good board, you're gonna have to call L/D anyway... why not
- call mine and get your key for free? .sheesh.
-
-
-
- The Miscellaneous Section That Everyone Dreads
- ----------------------------------------------
-
- "Next Message Saved Saturday at 9:24pm...
- Sorry... I'm just... It started to hit me like a two-ton... umm...
- heavy thing." (Queensryche... God luv 'em) Whoops... sorry bout
- that...
-
- Anyway... .ahem. First off, the Today's callers list. Sorry about the
- format, but if you call my board you'll see why it looks like that. If
- you have a format you'd rather have in there, just send me an ANSI
- snippet of what you'd like it to be... and IF it's not too much of a
- pain in the butt I'll stick it in for you.
-
- Another thing... when I was working on New2You, I averaged another 1.x
- version every couple of days. You might want to check every now and
- again to see if there's a more recent version... which I know there
- will be. I've still got to add this stuff...
-
- * Uploads/Downloads Per day Graph
- * Adding Up/Down Kb to Frodo inbound history
- * .AVT Support (Maybe)
- * Menued setup program
- * Alternate .CFG files for multinode users
- * Whatever else is suggested to me by youse guys.
-
-
-
-
- Sorry if I've come off a bit condescending but it's late, I'm tired, I
- want another cigarette, and I just love making up excuses.
-
- .snicker.
-
- -Jan
-
- PS. I'm at 1:362/970 if you need anything.
-
- PS ][. I'm including my .DAT file since (At this time) it only writes out
- for 35 days, and your graphs might look a bit empty for a while. If you
- don't want to use it, just delete it.
-
- PPS ]I[. I'm also including some samples so you'll know what the various
- outputs will look like before you bother messing with the config
- file. Sorry about the text-based setup, but it's easy to program
- around. :^)
-