home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
CSR003B.MOD
< prev
next >
Wrap
Text File
|
1994-11-16
|
9KB
|
191 lines
9Caesar #1 @10342 7[1εmperor7]
Sat Nov 12 08:23:59 1994
0R 34 11/15 16:44 WWIVnet 4241->8213
0R 34 11/14 06:13 WWIVnet 4001->4241
0R 34 11/13 08:35 WWIVnet 4000->4001
0R 34 11/13 21:34 WWIVnet ->4000
0R 34 11/13 10:05 WWIVnet 4001->4000
0R 34 11/12 14:25 WWIVnet 2001->4001
0R 34 11/13 05:47 WWIVnet ->2001
0R 34 11/12 15:19 WWIVnet ->12001
0R 34 11/12 08:26 WWIVnet ->10342
7─[1Msg Status9:7] 2Like....reply!
7──═══════════════════════════════════════════════════════════════════════════──
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name: CSR003B.MOD Mod Author: Caesar Date: 08/20/94 │
│ Difficulty: █▒▒▒▒▒▒ - Fairly Easy, nothing too complex. │
│ WWIV Version: v4.23 │
│ Files Modified: SYSOPF.C │
│ Description: Modifies the way the Netlisting works. Cosmetic Modification │
│ Upgrade Note: Fixed Extra Line When Printing WITH Regions. │
└────────────────────────────────────────────────────────────────────────────┘
╔════════════════════════════════════════════════════════════════════════════╗
║ This mod is copyright 1993, 1994 by Ray Van Dolson aka Caesar, and is ║
║ 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. ║
╚════════════════════════════════════════════════════════════════════════════╝
Extended Description:
This mod will modify the Net Listing function to display something like this:
2Region0: 2Northern California
7┌────────────────────────────────────────────────────────────────────────────┐
7│4 Node Phone BBS Name Hop Next Gr 7│
7├────────────────────────────────────────────────────────────────────────────┤
7│910023 916-343-1954 1:119/62 = = 10301 5 12001 10 7│
7│9103002^ 9916-891-0312 3 12001 10 7│
7│910301 916-343-1954 Outland 4 12001 10 7│
7│910302 916-342-9239 Nibbling the Ivories 3 12001 10 7│
7│910303 916-891-3546 The Phantasm Brigade HQ 4 12001 10 7│
7│910305 916-836-1548 Nowhere 3 12001 10 7│
7│910307 916-898-9469 Dead Cat Alley 2 12001 10 7│
7│910308 916-899-2609 InsANIty BBS 4 12001 10 7│
7│910310 916-644-1478 El Dorado Computer Group BBS 5 12001 10 7│
7│910311 916-788-9720 New Order BBS 5 12001 10 7│
7│910330 916-222-8911 Maestro BBS [ASV] 2 12001 10 7│
7│910331 916-243-5708 Das' Tube BBS! 2 12001 10 7│
7│910332 916-222-0320 The Firehouse BBS 3 12001 10 7│
7│910333 916-275-5708 The Electronic Maelstrom BBS 3 12001 10 7│
7│910340 916-788-0807 Thunderdome BBS 5 12001 10 7│
7│910341 916-741-2156 The Beta Board 5 12001 10 7│
7│910342 916-877-3266 Roman Matrix 0 10342 10 7│
7│910343 916-223-3041 The Ground Zero BBS 3 12001 10 7│
7└────────────────────────────────────────────────────────────────────────────┘
1Systems Listed 0: 219
Upgrade Notes:
When Print With Regions was selected, the mod would print out an extra line of
code- wasn't a real biggy, but didn't look very nice. This release checks
only prints that line at the correct time. Thanks to Scott Schroeder, 1@12040
for pointing out the bug.
Legend:
───────
+ : Add This Line
! : Change This Line
= : Existing Line (Search For This)
- : Remove this Line
──═>Step 1<═───────────────────────────────────────────────────────────────────
Back up your source code!
──═>Step 2<═───────────────────────────────────────────────────────────────────
Load up SYSOPF.C in and make the following changes/additions/whatever:
Search for this bit of code...
=void print_net_listing(unsigned int tp)
={
! int done=0, w, i, i1, gn=0, onxi, odci, abort, matched, f, useregion;
/* Add the w ^^^*/
= net_system_list_rec csne;
= unsigned short slist;
= unsigned char cmdbit=0, substr[81], onx[20], acstr[4], phstr[13], *mmk;
= unsigned char cmd, ch, s[161], s1[101], s2[101], s3[101], s4[101], bbstype;
= unsigned long l;
..down a bit further...
= nl(); outstr(get_string(1300));
= useregion=yn();
+ if (useregion) {
+ w=0;
+ } else {
+ if (!useregion)
+ w=1;
+ }
= sprintf(s,"%sBBSDATA.NET",net_data);
= f=sh_open1(s,O_RDONLY | O_BINARY);
= if (f < 0) {
= npr("%s%s!",get_string(1301),s); nl();
..even further along...
= if (matched) {
= slist++;
= if ((!useregion) && (slist==1)) {
+ npr("7┌%s┐\r\n",charstr(76,'─'));
- //pla(get_string(1777),&abort);
/* WATCH FOR LINE WRAP! */
+ npr("7│4 Node Phone BBS Name Hop Next Gr 7│\r\n");
- // pla(get_string(1303),&abort);
+ npr("7├%s┤\r\n",charstr(76,'─'));
- //pla(get_string(1304),&abort);
= } else {
= if ((useregion) && (strncmp(s,csne.phone,3)!=0)) {
= strcpy(s,csne.phone);
= describe_area_code(atoi(csne.phone),s3);
+ if (w==0) {
+ nl();
+ w=w+1;
+ } else {
+ npr("7└%s┘\r\n",charstr(76,'─'));
+ w=w+1;
+ }
= sprintf(s4,"\r\n%s%s\r\n",get_string(1305),s3);
= pla(s4,&abort);
+ npr("7┌%s┐\r\n",charstr(76,'─'));
- //pla(get_string(1777),&abort);
/* WATCH FOR LINE WRAP! */
+ npr("7│4 Node Phone BBS Name Hop Next Gr 7│\r\n");
+ npr("7├%s┤\r\n",charstr(76,'─'));
= //pla(get_string(1304),&abort);
= }
= }
= if (cmdbit!=NET_SEARCH_NOCONNECT)
! sprintf(s3,"7│9%5u2%c9 %12s 1%-41s 9%3d %5d %2d 7│",
= csne.sysnum,bbstype,csne.phone,csne.name,
= csne.numhops,csne.forsys,csne.group);
= else
= sprintf(s3,"7│9%5u2%c9 %12s 1%-41s9%s%2d 7│",
= csne.sysnum,bbstype,csne.phone,csne.name,get_string(1307),csne.group);
= pla(s3, &abort);
= }
= }
= f=sh_close(f);
= if ((!abort) && (slist)) {
- // nl();
+ npr("7└%s┘\r\n",charstr(76,'─'));
- //pla(get_string(1775),&abort);
+ nl();
= npr("%s%d\r\n",get_string(1306),slist);
= }
= pausescr();
= }
= if (tp)
= thisuser.sysstatus=l;
=}
──═>Step 3<═───────────────────────────────────────────────────────────────────
Save SYSOPF.C, exit your editor, and type MAKE. Start up your BBS, proceed to
the main menu, type //NET, and try your new net list look out! Then quit back
to the main menu, hit 'E' and mail me. It's not so much a mod than it is an
attempt to spruce up WWIV a little bit.
───────────────────────────────────────────────────────────────────────────────
If you *actually* have problems with this mod (heheheeh), please E-Mail me
at any of the addresses below. In fact, E-Mail me if you use this mod at all.
Come to think of it...E-MAIL ME IF YOU EVEN SEE THIS MOD! *grin*
FEARnet 1@9655 IceNet 1@9655
CRYSTALnet 1@4001 PlaNET 1@9653
NorCalNet 1@104 FISHnet 1@9655
FURnet 1@3 USAnet 1@9655
WWIVnet 1@10342 GLOBALnet 1@9600
NIFTYnet 1@9651