home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
ra
/
limits_5.zip
/
NEWLIMIT.DOC
< prev
next >
Wrap
Text File
|
1993-06-18
|
7KB
|
141 lines
FREEWARE! NEWLIMIT.EXE, NL-CFG.EXE Ver 2.0 11/01/92
program by: Richard Bozaman
5050 Homerdale
Toledo, Ohio 43623
419-841-1886
File list : NEWLIMIT.EXE ... LIMITS MANAGER
NEWLIMIT.CTL ... SAMPLE CFG
NEWLIMIT.TXT ... SAMPLE TXT
NEWLIMIT.DOC ... docs (type newlimit.doc > prn)
NEWLIMIT.EXE is only guaranteed to take up disk space, no other
warrantees apply.
Newlimit.exe is a RemoteAccess 1.11 specific program that alters
limits.ctl using timelog.bbs hour useage as a reference. It also
will delete TIMELOG.BBS if you wish. It will auto setup your
limits.ctl file each time a user logs on your bbs.
How it works:
First it reads timelog.old and builds an array of the number
of callers for each hour of the day.
Then it computes a time limit for each sec level in ratio with
the TIMELOG usage for the current hour and writes a new limits.ctl.
It will optionally delete Timelog.bbs each period thereby providing
you with a more realistic Timelog Graph. Last it will compute each
log-on a new set of KBYTES FOR ALL BAUDS, for the max dl bytes that
can be used at each baud in the time allowed at that sec level. It
don't touch the ratios.
Setup required: run NL-CFG.EXE Each time you want to alter the
setups. You set Sysop Name: Joe Blow
Reg num: free
Path: TO RA ... C:\RA
Period: 1=weekly, 2=Bi-weekly, 3=monthly
Range: 0=60, 1-48, 2=36, 3-24, or 4=12 min
Auto: auto kbytes on/off
Keep: delete Timelog.bbs yes/no
Month: this month 1 - 12
Day: todays date 1 - 31
Hour: in 24 hr 1 - 24
Nl-cfg.exe will write NEWLIMIT.CFG, COPY LIMITS.CTL to LIMITS.OLD
and copy TIMELOG.BBS to TIMELOG.OLD thereby saveing your originals
in the .OLD files. Alter the limits.old from now on as the prg writes
a new LIMITS.CTL each logon. An ASCII report is written each time so
you may display limits in RA with type 45 mnu cmd.
How to run NEWLIMIT.EXE
Simply add a line in your RA batch file just before the RA -n1 -e20
start up call. Note don't put it before the RA -R return from a 7 or
15 shell. You don't want to change Limits.ctl everytime a user shells
to a door HA!
As each user logs off the bbs, The BBS returns to the batch file
that called it to restart new.
Note this is not the return point used by a type 7 or 15 exit.
At this point in the batch, call newlimit.exe to update limits.bbs
for the current hour, then the next batch command would load Ra.
Example: :start
new | newlimit before start RA !
RA -N1 E50 etc
...
:return not here at return
RA -R -E20 etc.
Two files must be created for newlimit.exe to use. First copy
limits.ctl to limits.old ... this saves your original limits.ctl.
And in the future alter limits.old if you wish to change the base
limits. Newlimit will use limits.old as a base to create limits.ctl.
Next copy timelog.bbs to timelog.old. This will be the timelog
that newlimit will use for its reference.
NEWLIMIT.EXE will periodically copy
timelog.bbs to timelog.old and delete timelog.bbs.
RA will make a new blank timelog.bbs at first running.
This would give you a weekly update of limits.ctl based on last
weeks use with a range of 60 to -60 in ten min steps. Unfortunately
it also starts out with a blank timelog.bbs. so you lose the grand total
timelog of your bbs. Personally I think it eventually would average out
with all graphs near the top anyway so no great loss. I have NEWLIMIT.EXE
set to update on a weekly schedule at 30 min range. To set a period and
range just run NL-CFG.EXE
range = 0 1 2 3 4
average 0 then +60,+48,+36,+24,+12 min. added or subtracted
1 then +50,+40,+30,+20,+10 to limits.ctl base
use 2 then +40,+32,+24,+16,+08
3 then +30,+24,+18,+12,+06
(0 to 12) 4 then +20,+16,+12,+08,+04
5 then +10,+08,+06,+04,+02
6 no change use limits.old
7 then -10,-08,-06,-04,-02 the minus numbers will
8 then -20,-16,-12,-08,-04 only be subtracted if it
9 then -30,-24,-18,-12,-06 wont take the user below
10 then -40,-32,-24,-16,-08 the next lower level
11 then -50,-40,-30,-20,-10
12 then -60,-48,-36,-24,-12
Why this prg ? This will shorten users time when the BBS is busy
and add time to the off peak use. Maybe some users will get smart
and call for big xfers at 3 am when they get 60 min. bonus added
to their time automatically. I am sure you can set a base that would
not effect a prefered user ... say 360 min base? HA! They would get
300 min minimum at peak times and 420 min max at off times. That
should kept even the crabby users content.
I have this scale on my BBS:
low end 15 then 15 min steps until privy users are involved.
30
45
60
75
90 200k uploaders
105 500k uploaders
120 1 meg uploaders
240 visiting sysops
360 co-sysops and up
So in a nutshell RUN NL-CFG.EXE anywhere, add newlimit.exe cmd
to you RA batch file just before RA starts ... enjoy
backup timelog.bbs and limits.ctl if you are unsure HA!)
place NEWLIMIT.EXE, and NL-CFG.EXE In the RA main Dir.
NEWLIMIT.EXE uses and writes LIMITS.CTL, LIMITS.OLD, TIMELOG.BBS
TIMELOG.OLD, MEWLIMIT.CFG, and NEWLIMIT.TXT all should be in the
RA main dir.
... Enjoy... R.Bozman sysop of The Country Club BBS 1:234/40
Since RA VER 2 has arrived, and this prg is obsolete for ver 2, it is now
freeware. to register it type free for the registration number when you run
NL-CFG.EXE. NL-CFG.EXE will generate your reg number. Run NL-CFG A 2ND time
and this time enter the registration number and wala, you are regiustered!
simple huh ! enjoy R. Bozman