home *** CD-ROM | disk | FTP | other *** search
- Ima Moron #1 @10331
- Fri Jun 16 12:14:26 1995
- ┌───────────────────────────────────────────────────────────Filo─header─(c)──┐
- │ Mod Name: IMA001.424 Author: Ima Moron 1@10331 WWIVnet │
- │ Difficulty: Simple Date: June 16, 1995 │
- │ WWIV Version: 4.24 │
- │ Files Affected: MMENU.C, LILO.C │
- │ Description: Displays user ratio status and enforces post ratios over │
- │ the chains. Options during installation are in the code │
- │ comments. │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
- More Info: Originally known as the FORCPOST.MOD by Dr. Schizophrenic #1 @6955
- dated Apr 11 05:24:41 1992, updated throughout the litany of versions of
- WWIV by Ima Moron 1@10331 WWIVNet. Enough of the credits. You have a five
- user logon option before hitting the new users with the chain ratio. Remove
- marked lines below if you wish to immediately initiate the forced post
- ratio over the chains and have the user ration info displayed at first
- user logon.
-
-
- Step 1) Back up your source code!
-
- Step 2) Open MMENU.C
-
- Step 3) Search for " pl(get_string(8)); ", without the quotes. Just below
- this is " case '.': ", insert the case '.': below, delete the old
- case '.':
-
- /*++*/ case '.': /* Begin of forcpost mod */
- /*++*/ helpl=26;
- /*++* if (thisuser.logons > 5) { /* This is the line you remove or change */
- /*++* if (!(thisuser.exempt & exempt_post))
- /*++*/ if ((syscfg.post_call_ratio>0.0001) && (post_ratio()<syscfg.post_call_ra
- tio)) {
- /*++*/ nl();
- /*++*/ nl();
- /*++*/ sprintf(s,"1Your post/call ratio is2 %-5.3f1.You need a ratio of 2%-5.3f1 to0
- play onliners.",
- /*++*/ post_ratio(), syscfg.post_call_ratio);
- /*++*/ pl(s);
- /*++*/ nl();
- /*++*/ return;
- /*++*/ }
- /*++*/ } /* Remove this line if you removed the one above. */
- /*++*/ write_inst(INST_LOC_CHAINS,0,INST_FLAGS_ONLINE);
- /*++*/ existprint(get_string(1030));
- /*++*/ do_chains();
- /*++*/ break; /* End of forcpost mod, mmenu.c */
-
- /* == */ case '$':
-
-
- Step 4) Open LILO.C
-
- Step 5) Search for " get_string(1171) ", without the quotes.
-
- /* == */ npr("%s%d\r\n",get_string(1171),instance);
- /* == */ nl();
- /*++*/ nl();
- /*++*/ if (thisuser.logons > 5) { /* Remove if you want to display the user
- ratio information at logon */
- /*++*/ if (thisuser.exempt & exempt_post)
- /*++*/ prt(1,"2Your Post/Call Ratio :1 You are exempt from Post/Call ratios.")0;
- /*++*/ if (!(thisuser.exempt & exempt_post))
- /*++*/ npr("2Your Post/Call Ratio :1 %-5.3f2 System Requirement:1 %-5.3f",0
- /*++*/ post_ratio(), syscfg.post_call_ratio);
- /*++*/ nl();
- /*++*/ if (thisuser.exempt & exempt_ratio)
- /*++*/ prt(1,"2Your Up/Dowload Ratio:1 You are exempt from Up/Download ratios.")0;
- /*++*/ if (!(thisuser.exempt & exempt_ratio))
- /*++*/ npr("2Your Up/Download Ratio:1 %-5.3f2 System Requirement:1 %-5.3f",0
- /*++*/ ratio(), syscfg.req_ratio);
- /*++*/ nl();
- /*++*/ nl();
- /*++*/ } /* Remove if you want to display ratio information immediately */
-
- /* == */ if (thisuser.forwardusr) {
- /* == */ if (thisuser.forwardsys) {
-
- Step 6) Run Make, should be warning and error free.
-
- !!REMEMBER!! If you "make it", you're responsible for it! I assume no
- responsibility for your installing this mod. Please send comments to
- 1@10331 WWIVNet 1@9661 Icenet concerning this mod.
-
- {END}
-
-