home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / ra / limits_5.zip / NEWLIMIT.DOC < prev    next >
Text File  |  1993-06-18  |  7KB  |  141 lines

  1.     FREEWARE! NEWLIMIT.EXE, NL-CFG.EXE Ver 2.0 11/01/92
  2.     program by: Richard Bozaman
  3.                  5050 Homerdale
  4.                  Toledo, Ohio 43623
  5.                  419-841-1886
  6.  
  7.        File list : NEWLIMIT.EXE ... LIMITS MANAGER
  8.                    NEWLIMIT.CTL ... SAMPLE CFG
  9.                    NEWLIMIT.TXT ... SAMPLE TXT
  10.                    NEWLIMIT.DOC ... docs (type newlimit.doc > prn)
  11.  
  12.      NEWLIMIT.EXE is only guaranteed to take up disk space, no other 
  13.      warrantees apply. 
  14.  
  15.      Newlimit.exe is a RemoteAccess 1.11 specific program that alters
  16.      limits.ctl using timelog.bbs hour useage as a reference. It also
  17.      will delete TIMELOG.BBS if you wish. It will auto setup your
  18.      limits.ctl file each time a user logs on your bbs. 
  19.  
  20.      How it works:
  21.     
  22.      First it reads timelog.old and builds an array of the number
  23.      of callers for each hour of the day.
  24.      Then it computes a time limit for each sec level in ratio with
  25.      the TIMELOG usage for the current hour and writes a new limits.ctl.
  26.      It will optionally delete Timelog.bbs each period thereby providing
  27.      you with a more realistic Timelog Graph. Last it will compute each
  28.      log-on a new set of KBYTES FOR ALL BAUDS, for the max dl bytes that 
  29.      can be used at each baud in the time allowed at that sec level. It
  30.      don't touch the ratios. 
  31.     
  32.      Setup required:  run NL-CFG.EXE Each time you want to alter the 
  33.      setups. You set Sysop Name: Joe Blow
  34.                      Reg num: free
  35.                      Path: TO RA ... C:\RA
  36.                      Period: 1=weekly, 2=Bi-weekly, 3=monthly 
  37.                      Range: 0=60, 1-48, 2=36, 3-24, or 4=12 min 
  38.                      Auto: auto kbytes on/off
  39.                      Keep: delete Timelog.bbs  yes/no
  40.                      Month: this month 1 - 12
  41.                      Day:  todays date 1 - 31
  42.                      Hour: in 24 hr   1 - 24
  43.  
  44.     Nl-cfg.exe will write NEWLIMIT.CFG, COPY LIMITS.CTL to LIMITS.OLD
  45.     and copy TIMELOG.BBS to TIMELOG.OLD thereby saveing your originals
  46.     in the .OLD files. Alter the limits.old from now on as the prg writes
  47.     a new LIMITS.CTL each logon. An ASCII report is written each time so
  48.     you may display limits in RA with type 45 mnu cmd.
  49.  
  50.                    How to run NEWLIMIT.EXE
  51.     Simply add a line in your RA batch file just before the RA -n1 -e20
  52.     start up call. Note don't put it before the RA -R return from a 7 or
  53.     15 shell. You don't want to change Limits.ctl everytime a user shells
  54.     to a door HA!
  55.      
  56.                      
  57.      As each user logs off the bbs, The BBS returns to the batch file
  58.      that called it to restart new. 
  59.      Note this is not the return point used by a type 7 or 15 exit.
  60.    
  61.      At this point in the batch, call newlimit.exe to update limits.bbs
  62.      for the current hour, then the next batch command would load Ra.
  63.     
  64.      Example:     :start
  65.           new  |  newlimit            before start RA !
  66.                   RA -N1 E50 etc
  67.                   ...
  68.                   :return             not here at return
  69.                   RA -R -E20 etc.
  70.  
  71.  
  72.          Two files must be created for newlimit.exe to use. First copy
  73.      limits.ctl to limits.old ... this saves your original limits.ctl.
  74.      And in the future alter limits.old if you wish to change the base
  75.      limits. Newlimit will use limits.old as a base to create limits.ctl.
  76.     
  77.          Next copy timelog.bbs to timelog.old. This will be the timelog
  78.      that newlimit will use for its reference.
  79.     
  80.      NEWLIMIT.EXE will periodically copy
  81.      timelog.bbs to timelog.old and delete timelog.bbs.
  82.      RA will make a new blank timelog.bbs at first running.
  83.     
  84.      This would give you a weekly update of limits.ctl based on last
  85.      weeks use with a range of 60 to -60 in ten min steps.  Unfortunately 
  86.      it also starts out with a blank timelog.bbs. so you lose the grand total
  87.      timelog of your bbs. Personally I think it eventually would average out
  88.      with all graphs near the top anyway so no great loss. I have NEWLIMIT.EXE
  89.      set to update on a weekly schedule at 30 min range. To set a period and
  90.      range just run NL-CFG.EXE
  91.  
  92.         range =  0   1   2   3   4
  93.  
  94.         average   0  then +60,+48,+36,+24,+12 min. added or subtracted
  95.                   1  then +50,+40,+30,+20,+10      to limits.ctl base
  96.             use   2  then +40,+32,+24,+16,+08
  97.                   3  then +30,+24,+18,+12,+06
  98.       (0 to 12)   4  then +20,+16,+12,+08,+04
  99.                   5  then +10,+08,+06,+04,+02 
  100.                   6  no change use limits.old
  101.                   7  then -10,-08,-06,-04,-02      the minus numbers will
  102.                   8  then -20,-16,-12,-08,-04      only be subtracted if it
  103.                   9  then -30,-24,-18,-12,-06      wont take the user below
  104.                  10  then -40,-32,-24,-16,-08      the next lower level 
  105.                  11  then -50,-40,-30,-20,-10      
  106.                  12  then -60,-48,-36,-24,-12
  107.  
  108.      Why this prg ?  This will shorten users time when the BBS is busy
  109.      and add time to the off peak use. Maybe some users will get smart
  110.      and call for big xfers at 3 am when they get 60 min. bonus added
  111.      to their time automatically. I am sure you can set a base that would
  112.      not effect a prefered user ... say 360 min base? HA! They would get
  113.      300 min minimum at peak times and 420 min max at off times. That
  114.      should kept even the crabby users content.
  115.     
  116.         I have this scale on my BBS:
  117.         low end 15 then 15 min steps until privy users are involved.
  118.                 30
  119.                 45
  120.                 60
  121.                 75
  122.                 90 200k uploaders 
  123.                105 500k uploaders
  124.                120 1 meg uploaders
  125.                240 visiting sysops
  126.                360 co-sysops and up
  127.                
  128.         So in a nutshell RUN NL-CFG.EXE anywhere, add newlimit.exe cmd
  129.         to you RA batch file just before  RA starts  ... enjoy
  130.     backup timelog.bbs and limits.ctl if you are unsure HA!)
  131.     place NEWLIMIT.EXE, and NL-CFG.EXE In the RA  main Dir.
  132.     NEWLIMIT.EXE uses and writes LIMITS.CTL, LIMITS.OLD, TIMELOG.BBS
  133.     TIMELOG.OLD, MEWLIMIT.CFG, and NEWLIMIT.TXT all should be in the
  134.     RA main dir.
  135.     ... Enjoy...  R.Bozman sysop of The Country Club BBS 1:234/40
  136.      
  137.    Since  RA VER 2 has arrived, and this prg is obsolete for ver 2, it is now
  138.    freeware. to register it type free for the registration number when you run
  139.    NL-CFG.EXE. NL-CFG.EXE will generate your reg number. Run NL-CFG A 2ND time
  140.    and this time enter the registration number and wala, you are regiustered!
  141.    simple huh !  enjoy R. Bozman