home *** CD-ROM | disk | FTP | other *** search
- Canary Killjoy #1 @20755
- Sun Jul 02 23:47:55 1995
- 1 0──────────────────────────────────────────────────────────────────────────┐
- │Mod Name: Canary06.Mod Author: Canary Killjoy 1@20755 WWIVnet │
- │Difficulty:█▓▓▓▓▓▓▓ 1@1 Meshlink │
- │WWIV Version: 4.24 1@3611 IceNet │
- │Files affected: Bbsutl.C, Msgbase.C, Tedit.C │
- │7This mod is an upgrade from 4.23 0|
- |Description: This mod adds adds the option for random messages, when saving│
- │messages. I saw a mod out there that did this, but I prefer having the │
- │strings externalized, so I wrote a new one. Just use miniesm to create │
- │"SAVE.STR", add as many strings as you want. This mod has been tested on │
- │virgin source and worked there. │
- └───────────────────────────────────────────────────────────────────────────┘
- ╔════════════════════════════════════════════════════════════════════════════╗
- ║ This mod is copyright 1995, Gwen Kirchner aka Canary Killjoy 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. ║
- ╚════════════════════════════════════════════════════════════════════════════╝
-
- Index
- /*=*/ leave as is
- /*+*/ add this line
- /*&*/ change this line accordingly
- /*-*/ remove this line
-
-
- Step 1: Back up your source. This mod works on my source, but if it doesn't
- for you..I'd hate for you to have to remod your source.
-
- Step 2:
- Load up bbsutl.c, and add the "Save.str".
- /*=*/ set_strings_fn(2, languagedir, "YES.STR", 0);
- /*=*/ set_strings_fn(3, languagedir, "NO.STR", 0);
- /*+*/ set_strings_fn(4, languagedir, "SAVE.STR", 0);
-
- Step 3.
- Load up msgbase.c, and change the following:
-
- /*=*/ *anony=0;
- /*=*/ break;
- /*=*/ }
- /*-*/ outstr(get_string(91));
- /*+*/ prt(0,getrandomstring(4));
- /*=*/ if (fsed) {
- /*=*/ i5=sh_open1(fnx,O_RDONLY | O_BINARY);
- /*=*/ l1=filelength(i5);
-
- Step 4. Load up tedit.c and change the following:
-
- /*=*/ struct line *l;
- /*=*/
- /*=*/ nl();
- /*-*/ pl(get_string(91));
- /*+*/ prt(0,getrandomstring(4));
- /*=*/ f=sh_open(s,O_RDWR | O_BINARY | O_CREAT | O_TRUNC, S_IREAD | S_IWRITE);
-
- Step 5. Use Miniesm to create any number of strings <Save.str>.
- Make sure you fill all the strings you have created with your new messages.
- It will look something like this:
- 5Recycling your data space...0 mail sent to Canary Killjoy.
-
- Step 6. Recompile your source.
-
- If you're bored that day, and want something to do, feel free to email me and
- tell me what you thought of the mod.
- 2 __ __ __ __0
- 2| |__| |\ | |__| |__) \/0
- 2|__ | | | \| | | | \ /...tha's all folks.0
- 11@1 Meshlink0
-