home *** CD-ROM | disk | FTP | other *** search
- Papa Bear #1 @11579
- 7Thursday1, 7June 11, 71995 2 66:250 am
- 0R 34 06/05 03:54 WWIVNET 4051->8421
- 0R 34 06/04 10:59 WWIVNet 4001->4051
- 0R 34 06/04 11:42 WWIVnet 4000->4001
- 0R 34 06/03 07:50 WWIVnet ->4000
- 0R 34 06/01 10:03 WWIVnet 4001->4000
- 0R 34 06/01 17:26 WWIVnet 11579->4001
- 0R 34 06/01 06:50 WWIVnet ->11579
- 4Msg. Status:9▄ 5Please reply!
- 9 ▀▀▀▀▀▀▀▀▀▀▀▀
- ┌────────────────────────────A CEREBRUM RELEASE!─────────────────────────────┐
- │ Mod Name: SPV-013D.MOD Mod Authors: Pâpâ ßêâr (1@11579.wwivnet) │
- │ Difficulty: ▓░░░░░░░░░ First : [02/08/93] │
- │ WWIV Version: 4.24 Last : [06/01/95] │
- │ Files Affected: FCNS.H MMENU.C MISCCMD.C │
- │ Description: Allows user to send SSM's locally, or over the network. Puts │
- │the author's name and node number [if applicable] on separate line. │
- ╞═────────────────────────────────────═╤═───────────────────────────────────═╡
- │ 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?]
- ─────────────────────────────────────────────────────────────────────────────
- LONG DESCRIPTION: I had a mod for pre-4.22 that did something like this.
- However, it did NOT allow for the multiple networks that 4.22 supports so
- easily. A big THANK YOU to Captain EJ (1@5057 WWIVnet) for pointing this out
- and giving me the idea to do this.
- Now updated for 4.24.
-
- VERSION "B" FEATURES!
- o 99% re-writtten code!
- o Now a full 80 character message can be sent.
- o Displays originating person of the line before message.
- o The proper network name/BBS name is included in the origination line.
- o MUCH more streamlined! Smaller, tigher code!
- o Proper networking/local routing, no more duplicate checks.
- o Now it is abortable at all prompts.
- o No more "double aborts".
- o FULL COLOR SSM's!
- VERSION "C" features:
- o Allows you to send net SSM using the "long" format: 1@5079.wwivnet
- VERSION "D" features:
- o Written for 4.24
-
- -> To upgrade, simply copy the void send_ssm(void) over the old one and
- -> recompile!
- ─────────────────────────────────────────────────────────────────────────────
- STEP 1: ADD ENTIRE FUNCTION TO END OF MISCCMD.C
-
- void send_ssm(void)
- {
- char s1[161],s2[81];
- unsigned short un,sy;
-
- nl();
- npr("5Transmit a Short Message to another user? 0");
- if (yn()) {
- printfile("SSMNOTE.MSG");
- npr("1Address2: 0");
- mpl(30);
- input(s1,30);
- nl();
- if (s1[0]==NULL) {
- pl("6Aborted!0");
- nl();
- return;
- }
- parse_email_info(s1,&un,&sy);
- nl();
- if ((!un && !sy) || !un) {
- pl("6This is not a valid local, nor network, address!0");
- return;
- } else {
- pl("5Please enter your Short Message now, 1805 characters2:0");
- mpl(79);
- inli(s1,"",160,1);
- if (s1[0]==NULL) {
- pl("6Aborted0");
- nl();
- return;
- }
- nl();
- if ((thisuser.restrict & restrict_net) && (sy)) {
- nl();
- npr("3You are restricted from sending SSM's off 2%s3.0",
- syscfg.systemname);
- return;
- } else {
- sprintf(s2,"5The following message is from2: 1%s 3(9%s3)0",
- (sy) ? nam1(&thisuser,usernum,net_sysnum) :
- nam(&thisuser,usernum),
- (sy) ? net_name :
- syscfg.systemname);
- ssm(un,sy,s2);
- ssm(un,sy,s1);
- npr("%s",
- (sy) ? "5Your Short Message was sent over the net!0":
- "5Your Short Message was sent locally!0");
- }
- }
- }
- }
- ─────────────────────────────────────────────────────────────────────────────
- STEP 2: ADD A FILE TO THE GFILES DIRECTORY. Call it SSMNOTE.MSG. In this
- file, describe to the user HOW to use this mod.
-
- In case you're curious, here's my SSMNOTE.MSG file:
-
- EXAMPLE OF MY SSMNOTE.MSG
- ─────────────────────────
-
- 5Enter caller's name (local) or number and node (net).0
- 3Examples2:8 For a local message, just enter the users name or number.0
- 9For a net message, use the format 1131@5079.0
- 9You may also use "long format", ie: 1131@5079.wwivnet0
-
- 6Press ENTER to abort!0
-
- END EXAMPLE OF SSMNOTE.MSG
- ─────────────────────────────────────────────────────────────────────────────
- STEP 3: ADD A NEW COMMAND TO MMENU.C IN FUNCTION void mainmenu(void)
-
- == if (strcmp(s,"/E")==0)
- == slash_e();
- ++ if (strcmp(s,"/M")==0) // SPV-013D.MOD
- ++ send_ssm(); // SPV-013D.MOD
- == if (strcmp(s,"/N")==0)
- == nscan(cursub);
- ─────────────────────────────────────────────────────────────────────────────
- STEP 4: ADD A LINE TO FCNS.H IN THE LIST OF FUNCTIONS FOR MISCCMD.C
-
- == void remotenotify(char *name, char *desc);
- == int remoteupload(char *message);
- == int getnetnum(char *netnam);
- ++ void send_ssm(void); // SPV-013D.MOD
- ==
- == /* File: multinst.c */
- ─────────────────────────────────────────────────────────────────────────────
- STEP 5: RECOMPILE THE WHOLE ENCHILADA
-
- That's it. Pretty easy, eh? As always, if you have problems, or if
- youeven decide to use this, I'd appreciate some E─Mail!
-
- This mod is copyright 1993-1995 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
-
- 8311579.wwivnet1· 2 ╪╫9≡8║7⌐¬4¥5╓╥╖1· · 2▒1 · 2▒ 3(510)522-35831 ·
- 732.sexnet 1∙ 6 ·0░░▒▒▓▓6∞0▓▒░6·2 StarPort ▒ ▒ 2 ▒1 ·2▒ ▒ ▒1 ·2 ▒ ▒1 ·2▒ ▒ 1·
- 6315061.wwivlink 0 ████1 · . 2 ▒ ▒ ▒ ▒ ▒1 · 2▒▒▒ ▒ ▒ ▒ ▒ ▒ ▒
- 535079.icenet 1. . 0 │└6·0└6· 1 ∙ 2 ▒ ▒ ▒ ▒▒▒ ▒ ▒ ▒1 ·2 ▒ ▒▒▒ ▒▒▒ ▒1 ∙ 2▒
- ---
- 5Jury: A group chosen to decide who has the best lawyer.