home *** CD-ROM | disk | FTP | other *** search
- Papa Bear #1 @11579
- Sat Jun 10 23:14:48 1995
- 4Msg. Status:3▄ 16Please reply!00
- 3 ▀▀▀▀▀▀▀▀▀▀▀▀0
-
- ┌────────────────────────────A CEREBRUM release!─────────────────────────────┐
- │ Mod Name: SPV-064.MOD Mod Authors: Pâpâ ßêâr (11579.wwivnet) │
- │ Difficulty: ▓░░░░░░░░░ First ----- [06/11/95] │
- │ WWIV Version: 4.24 Last ------ [00/00/00] │
- │ Files Affected: LILO.C DEFAULTS.C VARDEC.H │
- │ Description: Set up a way to access QWK during logon, with toggleable ON / │
- │OFF in the defaults. │
- ╞═────────────────────────────────────═╤═───────────────────────────────────═╡
- │ StarPort Valhalla [ ] - ASV 28.8kbps Home of the SPV mod series! │
- └─────────────────────────────────────═╧═────────────────────────────────────┘
-
- >>> OFFICIAL WWIV SUPPORT SITE! <<<
-
- Word of Warning: You installed it, you're responsible! Make back-ups BEFORE
- attempting to install this modification! Read all text before beginning.
- ─────────────────────────────────────────────────────────────────────────────
- LEGEND:
- == Original Code [use this to search on]
- ++ Add this Line [mods ALWAYS add stuff, don't they?]
- -+ Change this Line [I usually comment these lines]
- ... Skipping down few lines to save bandwidth
- ─────────────────────────────────────────────────────────────────────────────
- LONG DESCRIPTION: Had this for quite some time. Thought since that there
- was an empty bitfield in the QWK portion of the userrec, I'd use it for this
- purpose. It'll ask the user if they want to access the QWK portion of your
- BBS during the logon procedures. Users can toggle this option ON/OFF in the
- defaults.
- ─────────────────────────────────────────────────────────────────────────────
- STEP 1: Open LILO.C and add this code in void logon(void)
-
- == create_chain_file();
- == rsm(usernum,&thisuser,1);
- // START SPV-064 BLOCK COPY
- if (thisuser.qwk_auto) {
- nl();
- npr("9Use QWK offline mail system? 5(1Y5/1N5)2:0 ");
- if (yn())
- qwk_menu();
- }
- // END SPV-064 BLOCK COPY
- == if (thisuser.waiting) {
- == if (menu_on()) {
- == printmenu(324);
- ─────────────────────────────────────────────────────────────────────────────
- STEP 2: In DEFAULTS.C, void print_cur_stat(void), add these lines:
-
- == if (rip) {
- == ansic_x(1); outstr(get_string(1494));
- == ansic_x(2); pl((thisuser.sysstatus & sysstatus_disable_rip)?
- == str_no:str_yes);
- == }
- ++ ansic_x(1); outstr("!. QWK at Logon : "); // SPV-064
- ++ ansic_x(2); pl((thisuser.qwk_auto)?str_yes:str_no); // SPV-064
- == ansic_x(1); pl(get_string(403));
- == }
- ─────────────────────────────────────────────────────────────────────────────
- STEP 3: Make these changes in DEFAULTS.C, void defaults(void):
-
- == if (menu_on()) {
- -+ printmenu(316); // SPV-064 NOTE1
- == if (thisuser.sysstatus & sysstatus_ansi)
- == comstr("|@AQ33X\r\r");
- . . . SKIPPING DOWN JUST A FEW LINES . . .
- == if ((thisuser.sysstatus & sysstatus_no_msgs)==0)
- == comstr("|@AQ5RX\r\r");
- -+ ch=onek("Q?123456789ABCWLMR!"); // SPV-064 added !
- == } else if (okansi()) {
- -+ prt(2,get_string(477)); // SPV-064 NOTE2
- -+ ch=onek("Q?123456789ABCWLMR!"); // SPV-064 added !
- == } else {
- -+ prt(2,get_string(478)); // SPV-064 NOTE2
- -+ ch=onek("Q?1234567BCWLMR!"); // SPV-064 added !
- == }
- == if (menu_on()) {
- == comr("|*");
- == printmenu(319);
- == }
- == switch(ch) {
- ++ case '!': // SPV-064
- ++ thisuser.qwk_auto=!thisuser.qwk_auto; // SPV-064
- ++ break; // SPV-064
- == case 'Q':
- == if (menu_on())
-
- NOTE1: Use a good RIP editor, and edit entry number 316 in the MENUSSOF.MSG
- file in the GFILES directory -- add the ! as an option.
-
- NOTE2: in string numbers 477 and 478 in BBS.STR, add ! as an option.
- ─────────────────────────────────────────────────────────────────────────────
- STEP 4: In VARDEC.H, modify this line:
-
- == unsigned int qwk_dontscanfiles : 1;
- == unsigned int qwk_keep_routing : 1;
- -+ unsigned int qwk_auto : 1; // SPV-064 addded qwk_auto
- == unsigned int qwk_protocol : 4;
- ─────────────────────────────────────────────────────────────────────────────
- STEP 5: Recompile this beast.
- ─────────────────────────────────────────────────────────────────────────────
- STEP 6: E-Mail me and tell me ya love it! :)
- ─────────────────────────────────────────────────────────────────────────────
- This mod is copyright 1993,1994 by Tracy Baker, aka Papa Bear, and is
- distributed as freeware. Permission is granted to distribute and post this
- mod on BBS systems and online services, provided no alterations are made
- (removal of message headers/taglines allowed). This mod may contain some
- parts of WWIV source code, which is copyright 1988-1994 by Wayne Bell and
- licensed only to registered users of WWIV. Use of WWIV source without
- registration constitutes a license violation and could lead to legal
- prosecution and certain doom.
- Shareware distributors and CD-ROM publishers may not distribute this mod
- without express written permission of the Author or WWIV Software Services.
-
- 7-9=1*6>2Pâpâ ßêâr6<1*9=7-0
- ---
- 7Slugs sauté: An hors of a different d'oeuvre.
-