home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
BEAM203.MOD
< prev
next >
Wrap
Text File
|
1995-06-29
|
8KB
|
183 lines
Beamer #1 @3459
Thu Jun 29 19:02:51 1995
╔═══════════════════════════════════════════════════════════════════════════╗
║ Mod Name: : BEAM203.MOD ║
║ Difficulty : ▓░░░░░░░░░ ║
║ WWIV Version : 4.24 ║
║ Version Date : 06/29/95 ║
║ Description : This will add extended computer types to your users field ║
╚═══════════════════════════════════════════════════════════════════════════╝
┌───────────────────────────────────────────────────────────────────────────┐
│ Legend: │
│ │
│ - Commeny out or delete │
│ + Add this │
│ = Leave alone │
│ @ Change this │
└───────────────────────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────────────────────┐
│ NOTE: │
│ │
│ This idea originated from PBUEDIT2 and SPV-038K.MOD (UEDIT2) for 4.23. │
│ DON'T forget to make the PBU.CT if you are using PBUEDIT2 like the docs │
│ tells you to. │
│ │
└───────────────────────────────────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────
Step 0: Dahhhhh!!!
──────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────────────────────────────────────────────
Step 1: Open up VARS.H and change the following to the top...
Change this to look like the following, adding in the computer
types listed...
──────────────────────────────────────────────────────────────────────────────
char *ctypes[] = {
"8088",
"8086",
"286",
"386SX",
"386DX",
"486SX",
"486DX",
"486DX2",
"486DX4",
"Pentium",
"IBM PS/1",
"IBM PS/2",
"Apple II",
"Apple //c",
"Apple //e",
"MacIntosh",
"Quadra",
"VIC 20",
"C= 64",
"C= 128",
"Amiga",
"PowerPC",
"DEC Alpha",
"Sparc",
"NEXTStep",
"Z80-CP/M",
"Atari",
"Coleco",
"Timex",
"Other",
0L,
};
──────────────────────────────────────────────────────────────────────────────
Step 2: Open up NEWUSER.C and block copy the new void below inplace of
the original one....
──────────────────────────────────────────────────────────────────────────────
void input_comptype(void)
{
int i,ok,ct;
char c[5];
do {
noabort("COMPUTER.ANS");
goxy(2,2);
prt(4," Please Choose A Computer Type: ");
mpl(2);
input(c,2);
ct=atoi(c);
ok=1;
if ((ct<1) || (ct>i))
ok=0;
} while ((!ok) && (!hangup));
thisuser.comp_type=ct-1;
if (hangup)
thisuser.comp_type=0;
}
Now, in LILO.C, add these lines:
──────────────────────────────────────────────────────────────────────────────
Step 3: Now, in LILO.C, add these lines:
──────────────────────────────────────────────────────────────────────────────
= if (!thisuser.zipcode[0])
= input_zipcode();
+ if (thisuser.comp_type<0) {
+ nl();
+ pl(get_stringx(6,91));//Sorry for the inconvenience, but we're re-compili
ng a list
+ pl(get_stringx(6,92));//of our users' computer types. Please select a new
computer
+ nl();
+ pausescr();
+ input_comptype();
+ CLS();
+ }
= if (!thisuser.dataphone[0]) {
──────────────────────────────────────────────────────────────────────────────
Step 4: Now block copy this ANSI to your GFILES dir and name it
COMPUTER.ANS
──────────────────────────────────────────────────────────────────────────────
------------------------- BEGIN BLOCK COPY OF COMPUTER.ANS -------------------
┌────────────────────────────────────────────────────────
6m[
Direction Box
]
───
┐
│
│
└
─────────────────────────────────────────────────────────────
───────────────┘
C
▐
■■
▌
┌────────
┐C
▐
0;47m■■
▌
┌─────────
┐C
▐
■■7;4
0m▌
┌─────────
┐
C
▐
1
▌
│
8088
│C
▐
11
▌
│
IBM PS/1
│C
▐
21
▌
│
Amiga
│
C
▐
2
▌
│
8086
│C
▐
12
▌
│
IBM PS/2
│C
▐
22
▌
│
PowerPC
│
C
▐
3
▌
│
286
│C
▐
13
▌
│
Apple II
│C
▐
23
▌
│
DEC Alpha
│
C
▐
4
▌
│
386SX
│C
▐
14
▌
│
Apple IIc
│C
▐
24
▌
│
SPARC
│
C
▐
5
▌
│
386DX
│C
▐
15
▌
│
Apple IIe
│C
▐
25
▌
│
NEXTStep
│
C
▐
6
▌
│
486SX
│C
▐
16
▌
│
MacIntosh
│C
▐
26
▌
│
Z80-CP/M
│
C
▐
7
▌
│
486DX
│C
▐
17
▌
│
Quadra
│C
▐
27
▌
│
Atari
│
C
▐
8
▌
│
486DX2
│C
▐
18
▌
│
VIC 20
│C
▐
28
▌
│
Coleco
│
C
▐
9
▌
│
486DX4
│C
▐
19
▌
│
C= 64
│C
▐
29
▌
│
Timex
│
C
▐
10
▌
│
Pentium
│C
▐
20
▌
│
C= 128
│C
▐
30
▌
│
Other
│
C
▐
■■
▌
└
────────┘C
▐
0;47m■■
▌
└
─────────┘C
▐
■■7;4
0m▌
└
─────────┘
------------------------- END BLOCK COPY OF COMPUTER.ANS ---------------------
─────────────────────────────────────────────────────────────────────────────
Step 5: Save, Compile, and Enjoy!
──────────────────────────────────────────────────────────────────────────────
After Dark BBs
(314) 946-1730