home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
TD004A.MOD
< prev
next >
Wrap
Text File
|
1995-06-17
|
3KB
|
77 lines
Tonedef #1 @5479 1-3+5*7[9THe SWiTCH - (919)781-06197]5*3+1-
Fri Jun 16 13:33:50 1995
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name : TD004A.MOD Mod Author: ToneDef │
│ Difficulty : █▒▒▒▒▒▒▒▒▒ 1 @ 1 SilNet │
│ WWIV Version : 4.24 1 @ 5479 WWIVNet │
│ Mod Date : 06/10/95 1 @ 7512 FIITAnet │
│ Files Affected: BBSUTL1.C 1 @ 2 CompNet │
│ Description : New int checkpw(void) function, looks MUCH nicer, ANSI │
│ only, but, your the SysOp if you see it, so... │
└────────────────────────────────────────────────────────────────────────────┘
══[ Description ]═════════════════════════════════════════════════════════════
Completely replaces the int checkpw(void) function.
══[ Disclaimer ]══════════════════════════════════════════════════════════════
Don't complain to me if your board crashes, your hard drive grows legs and
walks away, the green mother sings the song of chaos, or you're girlfriend
gets pregnant. The code in this mod should be harmless, but I can't
guarantee it will work for you. It works on my board and thats all I
care about.
══[ Step 1 ]══════════════════════════════════════════════════════════════════
Please back up your source code. Even the best programmers make mistakes.
══[ Step 2 ]══════════════════════════════════════════════════════════════════
Open up BBSUTL1.C, search for 'checkpw', and replace it with this...
int checkpw(void)
{
char s[81];
outstr("\f");
nl();nl();nl();nl();nl();nl();
npr(" ┌─┐─4┬─∙9─∙ ∙ ∙ ∙ ∙4──┬0─┌─┐\r\n");
npr(" └─4┼──9─────────────────────────4──┼0─┘\r\n");
npr(" 4├9─│─┘7 System Password 9└─:4─┤\r\n");0
npr(" 9├─:───────∙─∙∙ ∙ ∙ ∙∙─∙────────:─┤\r\n");0
npr(" 9│ . . │\r\n");0
npr(" 4│9 7W4h0at's the password?? 9│\r\n");0
npr(" 4│9 │\r\n");0
npr(" 4│9 : │\r\n");0
npr(" 4│ 9: 4 : │\r\n");0
npr(" 4├─:9─┐ ┌4─│0─┤\r\n");
npr(" ┌─4┼──9─4─9──────────────────4─9─4─────0┼─┐\r\n");
npr(" └─┘4─┴9─∙∙ ∙ ∙ ∙∙ ∙∙─4┴─└0─┘\r\n");
npr(" ");
CURSORUP(5); // sorry bout that...
echo=0;
input(s,20);
echo=1;
pl("\f");
if (strcmp(s,(syscfg.systempw))==0)
return(1);
else
return(0);
}
══[ Step 3 ]══════════════════════════════════════════════════════════════════
Save your source and compile. You're done...check it out.
══[ Credits ]═════════════════════════════════════════════════════════════════
ToneDef
1 @ 1 SilNet
1 @ 5479 WWIVNet
1 @ 7512 FIITANet
1 @ 2 CompNet
══[ END ]═════════════════════════════════════════════════════════════════════